-
Notifications
You must be signed in to change notification settings - Fork 16
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
provide option for json in d3_nest #1
Labels
Comments
elected to provide separate function |
reference 5bdf9f3 ; I changed my mind since hierarchy needs to be stripped of outer array and igraph does not. User would need to know too much. I think this is a better default. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
d3_nest
returns adata.frame
/tibble
. Often, we want theJSON
representation of the hierarchy, but unfortunately the default behavior ofjsonlite::toJSON
does not give us whatd3.js
expects. Should we provide an argument to return the properJSON
representation or should it be a separate function?The text was updated successfully, but these errors were encountered: