© Matthew Campbell 2019
Matthew CampbellLearn RStudio IDEhttps://doi.org/10.1007/978-1-4842-4511-8_5

5. Repeatable Analysis

Matthew Campbell1 
(1)
Yardley, PA, USA
 

Let’s take a look at how to create a repeatable analysis using an RStudio project. For this example, we will be working with the project we created in the previous chapter labeled “life_expectancy”. The dataset will be from the National Center for Health Statistics and will describe life expectancy since 1900 in the United States.

If you have been following along, you will already have this project set up in RStudio. If not, follow the steps in the previous chapter to create a new RStudio labeled “life_expectancy”.

Organizing Datasets

One thing that we will want to do is read the data into ...

Get Learn RStudio IDE: Quick, Effective, and Productive Data Science now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.