~/talk

DIY: Unclog Your Scripts with Plumber in R

Talkat ShinyConf 2025 · 2025-04-09..04-11· [python, api-design]
links:none on file
name:Pavl De
links:none on file
slides:none on file

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

  1. 0:00Introduction and setup
  2. 1:05What are APIs and REST
  3. 14:37Setting up the workshop
  4. 29:54From analysis to API
  5. 48:02Building a basic Plumber API
  6. 1:01:18Break and Q&A
  7. 1:14:25Plumber with authentication
  8. 1:32:40Accessing APIs with HTR2
  9. 1:46:24Deployment and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.