Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a programming with tidyjson vignette #79

Open
jeremystan opened this issue Sep 7, 2016 · 2 comments
Open

Create a programming with tidyjson vignette #79

jeremystan opened this issue Sep 7, 2016 · 2 comments

Comments

@jeremystan
Copy link
Collaborator

Should:

  1. cover use of spread_values versus spread_all
  2. show using is_json_X functions to check inputs
@stanasa
Copy link

stanasa commented Sep 27, 2016

Hi Jeremy, I'd love to see a more in-depth vignette. I've got highly complex jsons with variable structure to parse, and I think tidyjson could be a lot of help. Unfortunately, the examples I see are not enough for me to understand how to use the 'verbs' of tidyjson. I'd love to see an example, starting with reading a json from file, examining its structure, and looping (or not) through it to return a nice, tidy table.

@jeremystan
Copy link
Collaborator Author

The goal of this vignette is to cover the details of how to ensure tidyjson always returns the correct data frame structure (e.g., using spread_all vs spread_values), and how to throw meaningful errors when future JSON inputs don't conform to your expectations.

However, I have re-written the introduction vignette and added an additional vignette on visualizing JSON here: https://github.com/jeremystan/tidyjson/tree/master/vignettes.

Attached are the rendered vignettes - let me know if they are more helpful or if you still have fundamental questions.

tidyjson-vignettes.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants