Examples Articles

Customer tracker
These dashboards and reports track key performance metrics for customers by week. Users can interact with these reports in order to pull the precise data they are looking for. Read more about the customer tracker on R Views or or view the code on Github.

Published Output Types You can create your …

Read More…
Report Excel PowerPoint RMarkdown

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

Interactive Apps
Schedule data updates for Shiny Description: Combine python and R Markdown to schedule a nightly ETL process that feeds a real-time dashboard. Data: Twitter Keywords: Python, RStudio Connect, Shiny, R Markdown
Use Shiny with databases Description: An article and example on how to develop a Shiny … Read More…
Shiny ETL Python RStudio Connect Databases

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 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 Jupyter Notebooks
Publishing Jupyter Notebooks You can publish Jupyter notebooks to RStudio Connect. The Jupyter Notebook extension for RStudio Connect (rsconnect-jupyter) allows you to publish Jupyter notebooks with the press of a button. Once published on RStudio Connect, these notebooks can be scheduled for … Read More…
Jupyter Notebooks Integration RStudio Connect Python

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

Python with R Markdown
Using Python with R Markdown You can use Python and R together within R Markdown reports by using “code chunks” that call either language. Examples Use Python with R Markdown [login] Read More…
Reticulate RMarkdown Integration Python

Python with Shiny
This application is a demo of the reticulate and shiny packages. The demo incorporates the Google Maps Python API client and an advanced vehicle simulation tool written in Python by the National Renewable Energy Lab.

Live application Source Code R Views Article Steps to Reproduce Restore the R …

Read More…
Reticulate Shiny Integration Python

REST APIs with Plumber
Integrate R with Slack Description: Build a working slash command in Slack using Plumber. Data: Simulated Keywords: Plumber
Deploy machine learning models Description: Deploy machine learning models as RESTful APIs built in R with Plumber. Data: Cars Keywords: Plumber, Machine Learning Read More…

Replacing Excel (Customer Tracker)
Create Excel, Word, and PowerPoint output Description: Use R Markdown instead of complex Excel calculators. These R Markdown documents are easier to maintain and less prone to error than their Excel equivalents. Data: Customer Tracker Keywords: R Markdown, RStudio Connect Read More…

TensorFlow and Keras
Immunotherapy Description: Use Keras and TensorFlow to create deep learning models. Deploy the model on Connect, and use a REST API for pre and post-processing. Data: Immunotherapy Keywords: Machine learning, TensorFlow, Keras, Plumber
Customer Churn Description: Recreate the example in the “Deep … Read More…

Using Python with RStudio
Python with Jupyter Notebooks Description: Publish Jupyter Notebooks to RStudio Connect. Data: Various Keywords: Jupyter Notebook, Python, RStudio Connect
Python with R Markdown Description: Call Python scripts and packages from R Markdown reports. Data: Various Keywords: R Markdown, Python, … Read More…