Plumber API

Access to Care
The following are a set of multiple types of artifacts published to RStudio Connect. They share or build on the same base analysis. Their purpose is to demonstrate how each type of asset can showcase an aspect of the analysis. The idea is to enable you to reach your audiences more effectively and … Read More…
Plumber API Shiny Report RMarkdown RStudio Connect Modeling Jupyter Notebooks PowerPoint Presentation Deck

Bitcoin Demo
These files demonstrate how to use R in a production environment.

Files ETL [login]. Extract, transform, and load bitcoin data from a web API into the PostgreSQL database. App [login]. Build a Shiny app that depends on the database. Website [login]. Embed the Shiny app into a website. Report …

Read More…
Plumber API Shiny Report RMarkdown RStudio Connect Modeling ETL Website

Immunotherapy
The goal of immunotherapy is to demonstrate building a TensorFlow model on immunotherapy data. This is based on the the original work by Leon Eyrich Jessen, and his blog post on RViews: “Deep Learning for Cancer Immunotherapy”. Notebook This R Markdown notebook introduces the topic, … Read More…
Tensorflow Keras Plumber API Machine Learning

Income scoring
In this example, we’ll walk through an example of using the RStudio toolchain for a data science project using US census data from the UCI Machine Learning Repository. The notebooks, app, and API in this example have all been published to RStudio Connect. Explore the data The first part of a … Read More…
Plumber API Shiny Report RMarkdown RStudio Connect Modeling

Model deployment and plumber
This resource showcases how to expose a machine learning model built in R via a Plumber API. A model is first trained and saved as an .rds file. The Plumber file loads this saved model from disk, interprets data submitted via POST request, and returns a JSON object containing predictions based on … Read More…
Plumber API Machine Learning

Plumber Logging
See Plumber Logging on R Views for a discussion of this code. This asset shows how to log information about plumber API requests and responses by using preroute and postroute hooks. This allows information about the request and the response to be included in the log entry. The logger package is used … Read More…
Plumber API Integration

Plumber and the Slack API
See Slack and Plumber on R Views for a discussion of this code. This asset shows how plumber can be used to build a Slack slash command. The API is built on top of a simulated customer dataset that contains details about customer call history. The slash command provides access to customer status … Read More…
Plumber API Integration

Python with Plumber
Publishing REST APIs with Python You can call Python from R within REST APIs using Plumber. Examples Use Python with Plumber [login] Read More…
RMarkdown Plumber API Integration Python

Star Wars
These demos are designed to highlight the tidyverse and RStudio Connect. We obtain data from the Star Wars API and the quantmod package to produce output using R Markdown, Shiny, and Plumber. Star Wars demos Quick facts reports. Create a descriptive report for a single Star Wars character. Quick … Read More…
Plumber API Shiny Report RMarkdown RStudio Connect

Stock portfolio
These demos showcase different components of RStudio Connect. Each folder contains a piece of R content. More details on each are below. If you have an Internet connect, you can pull live data using the tidyquant and quantmod packages. If you want encapsolated external dependencies, there are two … Read More…
Plumber API Shiny Report RMarkdown RStudio Connect Modeling