Auto-magic Package Development
summary
An R package ecosystem that auto-generates a Vega-Lite API from the Vega‑Lite JSON schema is implemented: vlbuildr is the user-facing, pipe-friendly API and vlmetabuildr generates its code. The build pipeline uses a create_api workflow (eg create_api and create_encoding_functions) to extract parameters and docs from the schema, emit hundreds of functions and help files (the auto-gen api), and when Vega‑Lite 4 arrives updating takes about an hour despite ~190 files and tens of thousands of lines changing.
AI-written summary · about
chapters (8)
- 0:00Introduction to Vega-Lite
- 1:03Grammar of Graphics in R/Python
- 4:42The History of R Vega Packages
- 7:52The Vega Widget Package
- 10:00Developing VL Builder
- 12:28Automating API Generation
- 16:16Testing with Schema Updates
- 18:26Future Work and Conclusion
related talks
20mThe Inner Workings of Vite Build
29mBuilding customer-visible data science dashboards with Altair / Vega / Vue
42mAltair Declarative, Statistical Visualization for Python
38mVite, a New Era of Frontend Tooling?
20mVite - The Next Generation Frontend Tooling
38mVue.js and Vite Updates
27mAngular, Vite, and Some Things that are Neat
17mThe Vite Ecosystem
