Returns the default data path for FCDS data. You can globally set the path using the fcds.default_data_path option, or by providing a path to fcds_default_data_path(). Restore the FCDS package default cache by setting the default to NULL.

fcds_default_data_path(path = NULL)

Arguments

path

Set the default path for storing or looking for cached FCDS data.

Value

Returns the current global setting for the path to the FCDS data cache.

See also

Other FCDS Import Functions: fcds_cache, fcds_import, fcds_load, fcds_recoding

Examples

fcds_default_data_path()
#> [1] "/home/travis/.fcds"
# Set to ~/tmp fcds_default_data_path("~/tmp")
#> [1] "~/tmp"
fcds_default_data_path()
#> [1] "~/tmp"
# Restore global default fcds_default_data_path(NULL)
#> [1] "/home/travis/.fcds"
fcds_default_data_path()
#> [1] "/home/travis/.fcds"