Podbean logo
  • Discover
  • Podcast Features
    • Podcast Hosting

      Start your podcast with all the features you need.

    • Podbean AI Podbean AI

      AI-Enhanced Audio Quality and Content Generation.

    • Blog to Podcast

      Repurpose your blog into an engaging podcast.

    • Video to Podcast

      Convert YouTube playlists to podcasts, videos to audios.

  • Monetization
    • Ads Marketplace

      Join Ads Marketplace to earn through podcast sponsorships.

    • PodAds

      Manage your ads with dynamic ad insertion capability.

    • Apple Podcasts Subscriptions Integration

      Monetize with Apple Podcasts Subscriptions via Podbean.

    • Live Streaming

      Earn rewards and recurring income from Fan Club membership.

  • Podbean App
    • Podcast Studio

      Easy-to-use audio recorder app.

    • Podcast App

      The best podcast player & podcast app.

  • Help and Support
    • Help Center

      Get the answers and support you need.

    • Podbean Academy

      Resources and guides to launch, grow, and monetize podcast.

    • Podbean Blog

      Stay updated with the latest podcasting tips and trends.

    • What’s New

      Check out our newest and recently released features!

    • Podcasting Smarter

      Podcast interviews, best practices, and helpful tips.

  • Popular Topics
    • How to Start a Podcast

      The step-by-step guide to start your own podcast.

    • How to Start a Live Podcast

      Create the best live podcast and engage your audience.

    • How to Monetize a Podcast

      Tips on making the decision to monetize your podcast.

    • How to Promote Your Podcast

      The best ways to get more eyes and ears on your podcast.

    • Podcast Advertising 101

      Everything you need to know about podcast advertising.

    • Mobile Podcast Recording Guide

      The ultimate guide to recording a podcast on your phone.

    • How to Use Group Recording

      Steps to set up and use group recording in the Podbean app.

  • All Arts Business Comedy Education
  • Fiction Government Health & Fitness History Kids & Family
  • Leisure Music News Religion & Spirituality Science
  • Society & Culture Sports Technology True Crime TV & Film
  • Live
  • How to Start a Podcast
  • How to Start a Live Podcast
  • How to Monetize a podcast
  • How to Promote Your Podcast
  • How to Use Group Recording
  • Log in
  • Start your podcast for free
  • Podcasting
    • Podcast Features
      • Podcast Hosting

        Start your podcast with all the features you need.

      • Podbean AI Podbean AI

        AI-Enhanced Audio Quality and Content Generation.

      • Blog to Podcast

        Repurpose your blog into an engaging podcast.

      • Video to Podcast

        Convert YouTube playlists to podcasts, videos to audios.

    • Monetization
      • Ads Marketplace

        Join Ads Marketplace to earn through podcast sponsorships.

      • PodAds

        Manage your ads with dynamic ad insertion capability.

      • Apple Podcasts Subscriptions Integration

        Monetize with Apple Podcasts Subscriptions via Podbean.

      • Live Streaming

        Earn rewards and recurring income from Fan Club membership.

    • Podbean App
      • Podcast Studio

        Easy-to-use audio recorder app.

      • Podcast App

        The best podcast player & podcast app.

  • Advertisers
  • Enterprise
  • Pricing
  • Resources
    • Help and Support
      • Help Center

        Get the answers and support you need.

      • Podbean Academy

        Resources and guides to launch, grow, and monetize podcast.

      • Podbean Blog

        Stay updated with the latest podcasting tips and trends.

      • What’s New

        Check out our newest and recently released features!

      • Podcasting Smarter

        Podcast interviews, best practices, and helpful tips.

    • Popular Topics
      • How to Start a Podcast

        The step-by-step guide to start your own podcast.

      • How to Start a Live Podcast

        Create the best live podcast and engage your audience.

      • How to Monetize a Podcast

        Tips on making the decision to monetize your podcast.

      • How to Promote Your Podcast

        The best ways to get more eyes and ears on your podcast.

      • Podcast Advertising 101

        Everything you need to know about podcast advertising.

      • Mobile Podcast Recording Guide

        The ultimate guide to recording a podcast on your phone.

      • How to Use Group Recording

        Steps to set up and use group recording in the Podbean app.

  • Discover
  • Log in
    Sign up free
Shiny Developer Series

Shiny Developer Series

Technology

Episode 13: Inside Plumber 1.0 (Barret Schloerke Part 2)

Episode 13: Inside Plumber 1.0 (Barret Schloerke Part 2)

2021-03-06
Download Right click and do "save link as"
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
  • plumber allows you to create a web API by merely decorating your existing R source code with roxygen2 style comments.
    • Site: https://www.rplumber.io/
    • Demos:
    • NEW - Hex logo and website!
    • NEW - pipe-able programatic interface
      • Demo: plumb(dir = "plumber/pipe") %>% pr_run()
    • NEW - POST body parsing
      • Process incoming POST body data
      • Ex: HTML forms, multipart forms, csv, tsv, json, yaml, feather and rds.
      • Like serializers, register new POST body parsers
      • Site: https://www.rplumber.io/reference/parsers.html
    • More Serializers!
      • Serialize outgoing route data
      • Ex: plain text, json, yaml, csv, tsv, rds, feather
      • NEW - Register image serializers: svg, tiff, bmp, pdf. (Pre existing: png, jpeg)
      • Site: https://www.rplumber.io/reference/serializers.html
    • NEW - Download return values as attachments!
      • Site: https://www.rplumber.io/reference/as_attachment.html
      • Demo: plumb_api("plumber", "16-attachment") %>% pr_run()
    • NEW - Async / promises
      • Demo: plumb("plumber/plumber-future.R") %>% pr_run()
    • NEW - API UIs (rapidoc)
      • Register new User Interfaces to look at your API
      • Demo: plumb(dir = "plumber/rapidoc") %>% pr_run()
    • Thank you to Bruno Tremblay (@meztez) for his heavy contributions to plumber!
  • Recent conference talks about plumber:
    • Democratizing R with plumber APIs (James Blair): rstudio.com/resources/rstudioconf-2019/democratizing-r-with-plumber-apis
    • Practical plumber patterns (James Blair): rstudio.com/resources/rstudioconf-2020/practical-plumber-patterns/
  • Bike Prediction example application with plumber API and Shiny: solutions.rstudio.com/tour/bike_predict/
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
view more

More Episodes

Episode 25: Colin Fay is back!
2022-05-27
Episode 27: Peeling back the curtain of Movie Vue R (Part 2)
2022-05-27
Episode 26: Peeling back the curtain of Movie Vue R (Part 1)
2022-05-27
Episode 23: Tales of Shiny in production with Pedro Silva
2022-05-27
Episode 30: The Connecticut COVID-19 Test Spotter App (Part 1)
2022-05-27
Episode 28: The transformative effects of Shiny with the coronaSweeper app
2022-05-27
Episode 31: The Connecticut COVID-19 Test Spotter App (Part 2)
2022-05-27
Episode 29: Playing fair with the FairSplit Shiny App
2022-05-27
Episode 24: Illustrating the MyPaintings Masterpiece
2022-05-27
Episode 32: Consulting with Shiny Panel Discussion
2022-05-27
Episode 22: A fresh coat of Shiny theming with Carson Sievert
2022-05-27
Episode 21: Shiny App Stories with Nick Strayer
2021-06-11
Episode 20: Outstanding User Interfaces with David Granjon
2021-06-11
Episode 19: Climbing the Ladder of Shiny Mastery with Hadley Wickham
2021-03-10
Episode 18: Tanya Cashorali
2021-03-06
Episode 16: Jiena Gu McLellan
2021-03-06
Episode 17: Dean Attali
2021-03-06
Episode 14: Shining a Light on learnr (Barret Schloerke Part 3)
2021-03-06
Episode 15: Maya Gans
2021-03-06
  • ←
  • 1
  • 2
  • →
0123456789101112131415161718

Get this podcast on your
phone, FREE

Download Podbean app on App Store Download Podbean app on Google Play

Create your
podcast in
minutes

  • Full-featured podcast site
  • Unlimited storage and bandwidth
  • Comprehensive podcast stats
  • Distribute to Apple Podcasts, Spotify, and more
  • Make money with your podcast
Get started

It is Free

  • Podcast Services

    • Podcast Features
    • Pricing
    • Enterprise Solution
    • Private Podcast
    • The Podcast App
    • Live Stream
    • Audio Recorder
    • Remote Recording
    • Podbean AI
  •  
    • Create a Podcast
    • Video Podcast
    • Start Podcasting
    • Start Radio Talk Show
    • Education Podcast
    • Church Podcast
    • Nonprofit Podcast
    • Get Sermons Online
    • Free Audiobooks
  • MONETIZATION & MORE

    • Podcast Advertising
    • Dynamic Ads Insertion
    • Apple Podcasts Subscriptions
    • Switch to Podbean
    • YouTube to Podcast
    • Blog to Podcast
    • Submit Your Podcast
    • Podbean Plugins
    • Developers
  • KNOWLEDGE BASE

    • How to Start a Podcast
    • How to Start a Live Podcast
    • How to Monetize a Podcast
    • How to Promote Your Podcast
    • Mobile Podcast Recording Guide
    • How to Use Group Recording
    • Podcast Advertising 101
  • Support

    • Support Center
    • What’s New
    • Free Webinars
    • Podcast Events
    • Podbean Academy
    • Podbean Amplified Podcast
    • Badges
    • Resources
  • Podbean

    • About Us
    • Podbean Blog
    • Careers
    • Press and Media
    • Green Initiative
    • Affiliate Program
    • Contact Us
  • Privacy Policy
  • Cookie Policy
  • Terms of Use
  • Consent Preferences
  • Copyright © 2015-2025 Podbean.com