10 ways you can provide value with RStudio Connect

[This article was first published on RStudio | Open source & professional software for data science teams on RStudio, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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?

  1. Start sharing Shiny applications
  2. Deploy pins to share data, models, and other R objects across projects and with your colleagues
  3. Build a blog to share work & best practices among others at your company and/or help facilitate a meetup group
  4. Schedule automated PDF reports with parameterized R Markdown for business stakeholders
  5. Use RStudio with communication channels (like Slack) that are already in use by business stakeholders
  6. Build a custom landing page for business stakeholders to make content discovery easier
  7. Use an internally created package to standardize dashboards across the team
  8. Use APIs to enable Tableau users at your company to leverage work done by your data science team in R and Python
  9. Check out the Connect Server API to utilize usage data that helps answer questions like: Is my CEO using this app?
  10. 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.

Of course, start sharing Shiny applications

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.

Deploy pins to share data, models, and other R objects across projects and with your colleagues.

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.

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.

Schedule automated PDF reports with parameterized R Markdown for business stakeholders

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.

Build a custom landing page for business stakeholders to make content discovery easier

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.

 
Example of gallery created by connectwidgets

Use an internally created package to standardize dashboards across the team

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.

 

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.

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).

Here’s an example of how KPMG uses microservices to scale R-based applications across the enterprise.

What about Python?

You can also replace any of the examples above with Python because RStudio Connect supports:

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.

Learn More

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.

To leave a comment for the author, please follow the link and comment on their blog: RStudio | Open source & professional software for data science teams on RStudio.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)