Description Usage Arguments Value
By default, this function will throw an error if a file does not exist
upon lookup. To return the expected path to the, even if it does not
exist on the file system, set stop_if_missing = FALSE.
1 2 3 4 5 | file_path(x, key)
archs4_file_path(key, stop_if_missing = TRUE, na_missing = TRUE,
file_info = archs4_file_info(datadir),
datadir = getOption("archs4.datadir"))
|
x |
an |
key |
the lookup key for the file, ie. |
stop_if_missing |
defaults to |
na_missing |
by default, we set paths to files that don't exist to
|
file_info |
the output from |
datadir |
the directory that stores the ARCHS4 data files |
a named (by key) character vector of paths to the filesystem that
correspond to the entries in key.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.