Skip to contents

If the requested file doesn't exist locally, it is downloaded from a public link and stored in a cache directory obtained using tools::R_user_dir.

Usage

get_file_path(file_alias, force_download = FALSE)

Arguments

file_alias

Alias of the requested file. For now the possible values are:

force_download

If TRUE, does not try to cache the file and redownloads it anyway.

Value

A character vector with the path where the requested file is located

Examples

if (FALSE) { # \dontrun{
get_file_path("processing_coefs")
get_file_path("commodity_balance_sheet", force_download = TRUE)
} # }