Using paths in R and why you shouldn't be using setwd (CC179)
If you are creating subdirectories for your data science project you’re going to need to know how to access paths in R. One thing you certainly shouldn’t be using is setwd. This episode will give you the best practices for working within a project directory structure and alternatives to using setwd. This is part of a series of videos demonstrating how to functions from base R to make these data compatible with tools from the tidyverse
Code
You can browse the state of the repository at the