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

[Feature Request] Programmatic Export/Save of visConfig JSON #38

Open
noamanemobidata opened this issue Oct 17, 2024 · 4 comments
Open

Comments

@noamanemobidata
Copy link

It would be helpful to add a function that allows users to programmatically export or save the visConfig JSON.

@bruceyyu
Copy link
Collaborator

This is not easy to implement. As we are using htmlwidget in R to render GWalkR's core HTML app, we are unable to get the real-time update of the visConfig from the HTML in R environment due to the lack of bi-directional communication.

@noamanemobidata
Copy link
Author

A common use case involves saving visualizations (the json config) so that they can be easily accessed and reviewed later, without the need to recreate them each time.

@bruceyyu
Copy link
Collaborator

image

@noamanemobidata actually you can press this button to download the JSON config file

@noamanemobidata
Copy link
Author

Yes, but we want to do this programmatically : save and restore visualizations, especially in interactive applications such as Shiny. The goal is to enable users to save their current visualization as a JSON (e.g., in a database or S3 storage) with a "Save Viz" button, making it easy to restore the visualization state later.

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