Slide 1

Slide 1 text

From Static ggplot2 to Interactive Plotly to Shiny App RStudio Solutions Engineering

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

Develops free and open tools for R as well as enterprise-ready professional products for teams to scale and share work.

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

• Making R Approachable • Making Day-to-Day R Tidy • Making R Insights Easy to Leverage • Preparing R for the next generation of data science • Making R Interoperable Future Open Source Work in R

Slide 6

Slide 6 text

How do you get started learning R?

Slide 7

Slide 7 text

Access Understand Communicate Learn R by following the Data Science workflow: Get access to a meaningful dataset Build a visual understanding of the data Share that analysis with someone else

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Goal: Explore adverse events for different brand name drugs - Adverse events (openFDA) - Drug composition (RxNorm)

Slide 10

Slide 10 text

Access Data Sources: OpenFDA APIs, RxNorm Google BigQuery BigQuery is Google's fully managed, petabyte scale, low cost analytics data warehouse. A public dataset is any dataset that is stored in BigQuery and made available to the general public through the Google Cloud Public Dataset Program. You pay only for the queries that you perform on the data (the first 1 TB per month is free). R package: rOpenHealth/openfda Simple helpers for accessing the OpenFDA API from R. R package: bigrquery The bigrquery package makes it easy to work with data stored in Google BigQuery by allowing you to query BigQuery tables and retrieve metadata about your projects, datasets, tables, and jobs. The dplyr interface lets you treat BigQuery tables as if they are in-memory data frames.

Slide 11

Slide 11 text

Static Visualization: ggplot2 Dataset + Aesthetic Mapping + Layers (Geometry, Faceting, Labels) Cheat to win: ggthemes Export: Save as Image / PDF - Pros: Simple, reproducible workflow - Limitations: Saving and sharing a lot of plots (versioning)

Slide 12

Slide 12 text

R For Data Science

Slide 13

Slide 13 text

Workflow Upgrade: R Markdown Code Chunk Options

Slide 14

Slide 14 text

Workflow Upgrade: R Markdown Bootswatch Themes

Slide 15

Slide 15 text

Interactive Visualization: plotly

Slide 16

Slide 16 text

Interactive Application with Visualization: shiny shiny.rstudio.com

Slide 17

Slide 17 text

Sharing Shiny Applications shinyapps.io Shiny Server RStudio Connect RStudio Team QuickStart VM

Slide 18

Slide 18 text

Choosing the right way to communicate

Slide 19

Slide 19 text

Where do you go for HELP! community.rstudio.com

Slide 20

Slide 20 text

Hadley Wickham Webinar - Thursday 3PM EST https://learning.acm.org/

Slide 21

Slide 21 text

RStudio Webinars - Free & On Demand! resources.rstudio.com - Webinars - Conference talks - Blog posts - Articles

Slide 22

Slide 22 text

Kelly O’Briant RStudio Solutions Engineer Phil Bowsher RStudio Director of Life Sciences [email protected] [email protected]