Learn R Programming

d3Network (version 0.3.2)

miserables: JSON data file of Les Miserables charcters and their co-occurances.

Description

JSON data file of Les Miserables charcters and their co-occurances. Compiled by Donald Knuth. Because it is a JSON file it cannot be important directly into R like other data sets.

Arguments

source

Original data compiled by Donald Knuth. See http://www-cs-faculty.stanford.edu/~uno/sgb.html.

Details

Note: this data set cannot by loaded using the usual data(miserables) way. It needs to be loaded directly with fromJSON (for the full dataset) or JSONtoDF to extract either array and place it in a data frame object.

References

JSON formatted file from Michael Bostock. See http://bl.ocks.org/mbostock/4062045.