Code example (via Jenny Bryant) to convert a JSON file into a data frame with a list, and then make the list tall.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes
.gitignore
Damaris.Rmd
JSON_to_dataframe_unnest.Rmd
JSON_to_dataframe_unnest.nb.html
README.md
delinted_validated_data.json
deprecated_code_investigation.Rmd
deprecated_code_investigation.nb.html
license.md
more-futzing.Rmd
more-futzing.nb.html
outline_logic.Rmd
outline_logic.Rmd.old
outline_logic.nb.html
prowl_org_directory.Rmd
prowl_org_directory.nb.html
prowling_json.Rmd
prowling_json.nb.html
sad.json
sadp.json
sadp_with-bracket.json
super_small.json
sw.json
sw_chars.json

README.md

README

The following HTML output for the R Notebook: list_to_dataframe.Rmd illustrates how to take a list column in a dataframe and wrangle it, thus making it easier to analyze.

From a Jenny Bryan Workshop but similar to Purrr tutorial: Food Markets in New York

Code Examples

look in the following two files for best code examples

  • prowl_org_directory.Rmd
  • more-futzing.Rmd

Other Resources: