In speaking with the community, I hear about so many different ways that teams are using RStudio Connect and providing value across their companies.
On Twitter I posted 10 ways RStudio Connect can give your data science team superpowers and thought it’d be helpful to share here as well.
I’d love to hear about all the other ways your team is using RStudio Connect and about the cool things you are building too! If you’re interested in sharing your work at a meetup as well, please consider filling out the speaker submission form.
So, here we go!
How many have you done?
- Start sharing Shiny applications
- Deploy pins to share data, models, and other R objects across projects and with your colleagues
- Build a blog to share work & best practices among others at your company and/or help facilitate a meetup group
- Schedule automated PDF reports with parameterized R Markdown for business stakeholders
- Use RStudio with communication channels (like Slack) that are already in use by business stakeholders
- Build a custom landing page for business stakeholders to make content discovery easier
- Use an internally created package to standardize dashboards across the team
- Use APIs to enable Tableau users at your company to leverage work done by your data science team in R and Python
- Check out the Connect Server API to utilize usage data that helps answer questions like: Is my CEO using this app?
- Host microservices via Plumber APIs that connect data science work with your data engineering & development teams
You can also replace any of the examples above with Python because RStudio Connect supports Jupyter, Flask, FastAPI, Dash, Streamlit, Bokeh, mixed R/Python content with reticulate, Python pins, etc.
Shiny makes it easy to build interactive web applications straight from R.
Here’s an example of how Microsoft’s data scientists use Shiny and own the model development life cycle from data ingestion, model development, model deployment to visualization of insights with Paul Chang.
- Meetup Recording: Capacity Planning for Microsoft Azure Data Centers Using R & RStudio Connect
- Meetup slides
- Shiny website
The pins package publishes data, models, and other R objects, making it easy to share them across projects and with your colleagues. Pins can be automatically versioned, making it straightforward to track changes, re-run analyses on historical data, and undo mistakes.
Here’s an example of how the City of Reykjavík pins models that are used in their Shiny app to show the capacity of pools with Hlynur Hallgrímsson.
- Meetup recording: The data you were promised…and the data that you got
- Meetup slides
- Short-film featuring the City of Reykjavík’s data team
Build a blog to share work & best practices among others at your company and/or to help facilitate a meetup group
Your internal data science community helps each other learn, collaborate, and share. However, you may not have a central place for your assets, making it difficult for members to find information from the past or know where to save their work.
A blog can be a lightweight way to consolidate resources, events, and other information for your internal data science community. Here’s an example of deploying a blog to RStudio Connect with Isabella Velasquez.
One of the many benefits of working with R Markdown is that you can reproduce analysis at the click of a button. This makes it very easy to update any work and alter any input parameters within the report.
Parameterized reports extend this one step further, and allow users to specify one or more parameters to customize the analysis. This is useful if you want to create a report template that can be reused across multiple similar scenarios.
Here’s an example of creating an income statement for a group of theoretical office branches with parameterized R Markdown with Brad Lindblad.
Use RStudio with communication channels (like Slack) that are already in use by business stakeholders.
Serving stakeholders data in the moment they need it in an environment where they are already talking about business performance can help in democratizing information, especially when end-users are experiencing dashboard overload.
Here’s an example of how Campaign Monitor serves individualized insights directly to stakeholders with R, Python, and RStudio Connect with Matthias Mueller.
- Meetup recording: Serving bespoke insights through automation
- Blog post: Democratizing Data with R, Python, and Slack
How do you make sure your audience finds what they need on RStudio Connect without paging through the dashboard, remembering the right search terms, or bookmarking every content item you share?
After deploying many pieces of related content, how do you share them as a cohesive project?
Here’s a walkthrough of using connectwidgets to build your ideal showcase of data products with Kelly O’Briant.
- Meetup recording: Building your ideal showcase of data products
- Blog post: Curating Your Data Science Content on RStudio Connect
Here’s an example of how Snap Finance ensures a reproducible development workflow with a Shiny dashboard framework with Alan Carlson.
Using their internal package, the team is able to build dashboards the same way, reducing tech debt and simplifying code review. This allows their team to bring on new developers and have them become almost instant contributors. With standardization, their developers are spending more time actually developing instead of spending time spinning up a Shiny framework.
- Meetup recording: Robust, modular dashboards that minimize tech debt
- Snap Finance Customer spotlight
Use APIs to enable Tableau users at your company to leverage work done by your data science team in R and Python
RStudio Connect includes support for Tableau Analytics Extensions, which provide a way to create calculated fields in workbooks that can execute scripts outside of the Tableau environment. This RStudio Connect integration enables you to create R or Python HTTP API extensions for use across all your Tableau workbooks.
Compared to existing methods for integrating R and/or Python in Tableau, integration via APIs hosted on RStudio Connect provides better security and dependency management. James Blair led us through a demo of this in the meetup recording here.
- Meetup recording: Leveraging R & Python in Tableau with RStudio Connect
- Tableau Integration Documentation
- Blog post: Embedding Shiny Apps in Tableau using shinytableau
- Blog post: Tableau Analytics Extensions
Check out the Connect Server API to utilize usage data that helps answer questions like: Is my CEO using this app?
The RStudio Connect Server API provides easy access to your server’s instrumentation data from when users visit your server. As a publisher or administrator, you have access to these data: who logged in, when they logged in, what they looked at, and how long they spent on that piece of content.
With this, you can extend Connect and visualize advanced usage metrics that help answer important questions and focus your data science work. Here’s a walk-through & resources to get started with Cole Arendt.
Host microservices via Plumber APIs that connect data science work with your data engineering & development teams
As data science teams—and their applications—grow larger, teams can experience growing pains that make applications complex, difficult to customize, or challenging to collaborate across large teams.
You can use the Plumber package to deploy APIs to RStudio Connect as part of a microservices architecture that allows your team to work with front-end development teams using their preferred framework (e.g., React, Angular, Vue).
You can also replace any of the examples above with Python because RStudio Connect supports:
- Jupyter Notebooks
- Flask applications
- FastAPI applications
- Plotly Dash applications
- Streamlit applications
- Bokeh applications
- Mixed R/Python content with the reticulate package
- Python pins
We’d love to highlight your Python use cases too! If you’re interested in sharing your work at a meetup, please consider filling out the speaker submission form.
If you haven’t had a chance to try RStudio Connect before, you can request an evaluation here.
If you need help convincing your team that ️you should have these superpowers too, check out the RStudio Champion Site for resources to help build a business case, grow your internal data science community, work with IT, and more.