-
-
Notifications
You must be signed in to change notification settings - Fork 19
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]: Reading data from a quarto webpage #221
Comments
@wetlandscapes a copy and fetch mechanism is needed to ingest the data into VFS. The extension could incorporate it by parsing values under |
I appreciate that quick response. Given the complexity, maybe this is just something to keep in the back of our minds as time goes on. As a work around (maybe that's not the right phrase), I did take a cursory stab at using {rvest} (which has a curl dependency, but the package still loaded), but it was very cursory and I wasn't able to immediately figure out how to point the live cell to the DOM. Maybe I'll find some time to dig into that later and if I do I'll report back. Happy to close the issue, or keep it open if you want the reminder. |
@wetlandscapes I thought about it a bit ago here: But time to implement that portion was MIA. The official WASM quarto backend that just dropped has |
Fascinating! Thanks for pointing me to that project. Just played around with the Thanks! |
For page embedding, maybe look at the https://r-wasm.github.io/quarto-live/interactive/hybrid.html#build-time-ojs-data-source Otherwise, I think you want: |
Feature Description
First, thanks for all your hard work! This is an incredible package.
For reading and working with small amounts of data in webr, rather than referencing some external resource, could one potentially save the data of interest to a rendered quarto webpage with live cells and then use webr to access that data? In the context of quarto and knitr stuff, I think this would be data stored in a table attribute.
I'm not as familiar with this stuff as I should be, so I'm unclear if this would just mean adding some example code to
qwebr-loading-data.qmd
, as the functionality is already there (e.g., using {rvest}), or if this would require a lot of leg work in the context of webr, or even some javascript.Just a thought!
The text was updated successfully, but these errors were encountered: