get_file_details | R Documentation |
This function returns a data frame of the files associated with a record.
The access status of the record is reported, along with the local
absolute file path and whether a local copy is present. If there
is no local copy and the dataset is open access, you can use
download_safe_files
to get local copies. If the dataset
is embargoed or restricted, see insert_dataset
.
get_file_details(record_id)
record_id |
A record id |
A data frame with fields: filename, dataset_access, path and local.
set_example_safedata_dir()
files <- get_file_details(1400562)
set_example_safedata_dir(on=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.