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