Hello,
It was mentioned in class today to both not hard code the file name and to not load the data every time we need it.
I am kind of confused as to how we're supposed to put the loading of the data file into a function, but then not need to load it again throughout the whole R script? How else would the next function know which data to load? I feel like I may have misunderstood something.
Also, by not hard coding the file name, does that mean we're supposed to code the relative path to get to the file?
Any help would be appreciated. Thanks!
- Lauren Fleshner