The following learning materials support our *Introduction to R: Data Transformations, Analysis, and Data Structures* workshop. Hosted by Data & Visualization Services at Duke University Libraries, this is the first part of a muli-part learning series on R that we call *R We Having Fun Yet‽*. See also this video recording of a previous workshop.

This gentle introduction provides a hands-on experience to learn the basics of modern R using RStudio and the Tidyverse method. Learn about managing your R projects, data types, variable assignments, data structures, and visualization packages such as `ggvis`

and `leaflet`

. The focus of these learning resources is as a code demonstrations supporting our in-person workshop. Thus the explanatory prose is minimal. If you wish to read more about R, we recommend R for Data Science and Data Visualization for Social Science, or the interactive course made available at DataCamp. In fact, Attendees will be registered for the opportunity of supplementing this workshop with free academic access to DataCamp’s Introduction to R course.

## Workshop Outline

### Housekeeping / Introduction

- Welcome

- What is r
- What is RStudio
- What is a Project
- What is Docker

### Data Management

- Load Data
- View Data
- Tidyverse: Tibbles and Data Frames
- Data Structures
- Data Types

### Data Wrangling

#### Dplyr

- Arrange
- Select
- Filter
- Mutate
- Count
- Summarize
- Putting it All Together