Episode 13

Inside Plumber 1.0 (Barret Schloerke Part 2)


March 5th, 2021

33 mins 15 secs

Your Hosts

About this Episode

In episode 13 of the Shiny Developer Series, we continue our conversation with RStudio software engineer Barrett Schloerke to highlight how you can integrate Shiny apps with custom APIs written in R via the plumber package! You’ll see awesome demonstrations of the key features that are part of the brand new plumber 1.0 release, including brand new serializers and parsers for custom objects, a new tidy API compliant with magrittr pipelines, utilizing asynchronous execution, and more.

Resources mentioned in the episode

Episode Timestamps

0:00 - Intro
1:14 - Introduction to plumber
4:14 - Example of plumber API
7:14 - Pipeable interface for plumber
9:19 - plumber's new hex logo!
9:24 - Serializers in plumber
13:04 - Parsers in plumber
14:30 - as_attachment for serializers
15:50 - Demo of downloading an attachment from API
16:07 - A consistent way to check for plumber APIs with available_apis()
18:50 - Async processing in plumber
24:23 - Demo of the plumber documentation UI
29:20 - Example of decoupling data source from Shiny app
29:50 - Episode wrapup