DIY: Unclog Your Scripts with Plumber in R
summary
Shows how to convert existing R scripts into live REST endpoints using plumber, with examples that actually return JSON and HTML widgets: a delay-summary function over NYCflights13 (min_distance default 500) and an echarts plot endpoint that serves HTML. Demonstrates consumption with httr2 (builds request, sends X-Workshop-Key header), a simple API-key check from .Renviron (value used in demo: shinyconf2025), and deployment options using Docker + render; demos have minor live-setup hiccups but core endpoints and auth flow run.
AI-written summary · about
