This is a convenience wrapper around the corresponding admin functions in the raadfiles package, so that most users will not need to use those functions directly.
This function tells raadtools where to look for its data files, (by default) will build the necessary file list cache if it does not exist, and loads that cache into memory so that raadtools can use it.
set_data_roots(..., build_cache_if_missing = TRUE, refresh_cache = FALSE)
get_data_roots()strings: one or more paths to directories containing data
logical: raadtools maintains a cache that lists all of files in each data collection. If build_cache_if_missing is TRUE, a cache will be built if it does not exist
logical: for each path, should the file collection be re-scanned and the cache rebuilt? (May be slow)
TRUE (invisibly) on success