5  Week 4

6 Reproducible projects

Now that you have some RMarkdown, ggplot, and dplyr functions under your belt, let’s think about how to put together a reproducible project. In this module, Danielle talks about structuring directories, naming things, file paths, templates, and README documentation. This week, there are a total of 6 videos to watch and each video is 10-15 min long so you can dip in and out across the week.

The idea is for you to code along with the videos, stopping and starting and troubleshooting as you go. Try the exercises Danielle recommends AND to see whether you are really getting it, have a go at the SELF TEST challenge.

For this reason, you should allocate ~ 3 hours to your coding this week.

6.1 Resources

Slides

YouTube playlist

6.2 Project Structure

6.2.1 naming things for machines

In this video, Danielle talks about how to name files in a way that the computer likes.

Video 1

6.2.2 naming things for humans

In this video, Danielle talks about how you can be strategic about naming files to make your life easier.

Video 2

6.2.3 naming things (make them sortable/searchable)

In this video, Danielle explains why you might want to think (just a little bit) more about how you name things

Video 3

6.2.4 filepaths

In this video, Danielle explains how file paths work and how you can use them to your advantage.

Video 4

6.2.5 templates

In this video, Danielle talks about how you can automate your project structure using a template and talk to your future self using a README file.

Video 5

6.2.6 where do things live?

In this video, Danielle asks the question of where your projects should live so you can find them at a later date

Video 6