path_nit() and path_nca() return file paths to the latest downloaded dataset from the respective project. To download a dataset, use download_nit() or download_nca().

path_nit(date = NULL, force_latest = TRUE)

path_nca(date = NULL, force_latest = TRUE)

Arguments

date

A Date or string in the format "YYYY-MM-DD"

force_latest

If multiple files with the given date are found, should the function return only the file with the latest creation date (TRUE, the default), or should it return all file paths (FALSE)?

Value

An fs_path character vector