inlining vs writing out to a file
sa-lee opened this issue · 5 comments
sa-lee commented
Potential option is to write out to a tempfile to speed up rendering for large datasets.
Options are arrow or csv or json
https://github.com/vega/vega-loader-arrow
earowang commented
If writing out to a temp file, how does it work when running shiny?
earowang commented
A helper to replace inline data values with URLs/paths
earowang commented
vega_serialize_data(v, path)
earowang commented
However, it will not work with knitr, since vegawidget(base_url)
gives a warning when knitr is in progress.