setDataDir: Set the data folder.

Description Usage Examples

View source: R/setDataDir.R

Description

I use this to store data in a dropbox folder. All other functions should relate back to this function, so you only need to change it once if the folder moves. Almost definitely not best practice, but just stores the folder location as a string in the global environment. It seems to work for me

Usage

1
setDataDir(folderLocation = "~/Dropbox/Work/coffeestats/data")

Examples

1
setDataDir(folderLocation = "~/Dropbox/Work/coffeestats")

tomcopple/coffeestats documentation built on May 24, 2019, 7:48 a.m.