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

Option to rename "root" in sund2b #96

Closed
cammyoung opened this issue Oct 31, 2019 · 4 comments
Closed

Option to rename "root" in sund2b #96

cammyoung opened this issue Oct 31, 2019 · 4 comments

Comments

@cammyoung
Copy link

Hi,

When displaying the sund2b plots in shiny, I always get the question "What does root mean?". Is there a simple way to rename it? I end up having to create a layer in the hierarchy that totals 100% and has the name I want for clarity, but it is still confusing to users of the dashboard.

Thanks for developing this! It's very straightforward to use, and looks great.

@timelyportfolio
Copy link
Owner

@cammyoung I am happy to hear that you are enjoying sund2b. Very good question, and something that is now possible with version 2.1.2. Unfortunately the solution is not straightforward. How are you supplying data to sund2b? Are you using the csv method or passing a hierarchy from d3r?

@timelyportfolio
Copy link
Owner

@cammyoung I just added a rootLabel argument for sund2b. If possible, will you install from Github with install.github("timelyportfolio/sunburstR") and let me know if this solves the issue? Thanks.

timelyportfolio added a commit that referenced this issue Nov 2, 2019
@timelyportfolio
Copy link
Owner

@cammyoung I went ahead and pushed the change to CRAN so you can install.packages. I am going to close but please reopen if this does not fulfill your objective. Thanks!

@cammyoung
Copy link
Author

Thanks so much for the quick response! This was exactly what I needed.

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