Speaker
Description
The presentation will introduce jsplyr, a new and experimental R package providing a dplyr interface for lazy-evaluated data manipulation in JavaScript. The package is designed to offload heavy data calculations from the server to the web browser, making it particularly useful in shiny applications.
The talk will begin with the rationale behind creating jsplyr and its current experimental nature. Next, the package's architecture and concept will be explored in greater detail, highlighting similarities and differences to dbplyr. While jsplyr employs logic analogous to dbplyr - storing and evaluating data manipulation queries lazily - it operates in the web browser rather than a database context. Unique challenges and benefits of this approach will be discussed, especially in the realm of shiny.
One key distinction between jsplyr and other dplyr-based packages lies in its handling of reactive contexts. To collect() the output within shiny, users must place this verb in a separate reactive wrapper, allowing the application to validate inputs appropriately.
A demo of a shiny app powered by jsplyr will accompany the presentation, illustrating real-world uses. To conclude, the roadmap for jsplyr will be outlined, including adding support for verbs like mutate(), group_by(), and summarise(), improving data flows within reactive contexts, and more closely aligning with the tidyverse architecture.
If you used AI tools or services to support the preparation of this submission, please state the name and reason for using each of them.
Chat GPT-4 was used to review and refine a manually written abstract, focusing on improving its wording and grammar.
| Keywords: Please list up to 5 keywords to help us find the right session for your contribution. | lazy data computation, dplyr interface, shiny applications, JavaScript |
|---|---|
| Virtual Option | This submission is for onsite presentation primarily, but I would also like it to be considered for pre-recorded virtual presentation if I don't get an onsite slot |
| Video Recording | Video sharing is fine |
| The author(s) agree(s) to take responsibility and be accountable for the contents of the submission and is/are authorized to present it. | Confirm |