A Grammar for Turning 'JSON' into Tidy Tables


[Up] [Top]

Documentation for package ‘tidyjson’ version 0.2.1

Help Pages

tidyjson-package tidyjson.
allowed_json_types Fundamental JSON types from http://json.org/, where I collapse 'true' and 'false' into 'logical'
append_values Appends all values with a specified type as a new column
append_values_factory Creates the append_values_* functions
append_values_logical Appends all values with a specified type as a new column
append_values_number Appends all values with a specified type as a new column
append_values_string Appends all values with a specified type as a new column
append_values_type get list of values from json
as.tbl_json Combines structured JSON (as a data.frame) with remaining JSON
as.tbl_json.character Combines structured JSON (as a data.frame) with remaining JSON
as.tbl_json.data.frame Combines structured JSON (as a data.frame) with remaining JSON
as.tbl_json.tbl_json Combines structured JSON (as a data.frame) with remaining JSON
commits Commit data for the dplyr repo from github API
companies Startup company information for 1,000 companies
determine_types Determines the types of a list of parsed JSON
enter_object Dive into a specific object "key"
gather_array Stack a JSON array
gather_keys Stack a JSON "key": value object
is.tbl_json Combines structured JSON (as a data.frame) with remaining JSON
issues Issue data for the dplyr repo from github API
jfactory Factory that creates the j* functions below
jfunctions Navigates nested objects to get at keys of a specific type, to be used as arguments to spread_values
jlogical Navigates nested objects to get at keys of a specific type, to be used as arguments to spread_values
jnumber Navigates nested objects to get at keys of a specific type, to be used as arguments to spread_values
json_lengths Add a column that contains the length of the JSON data
json_types Add a column that tells the 'type' of the data in the root of the JSON
jstring Navigates nested objects to get at keys of a specific type, to be used as arguments to spread_values
list_path Recursively access a path
my_unlist Unlists while preserving NULLs and only unlisting lists with one value
prep_path Prepare a path from ...
read_json Reads JSON from an input uri (file, url, ...) and returns a tbl_json
replace_nulls Replace nulls with something else
spread_values Create new columns with JSON values
tbl_json Combines structured JSON (as a data.frame) with remaining JSON
tidyjson tidyjson.
worldbank Projects funded by the World Bank
wrap_dplyr_verb Wrapper for extending dplyr verbs to tbl_json objects
[.tbl_json Extract subsets of a tbl_json object (not replace)