© 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.