insert_dataset | R Documentation |
If files are embargoed or restricted, then users may request the datafiles from the authors. This function allows provided files to be incorporated into a SAFE data directory, so that they will then work seamlessly alongside openly available data.
insert_dataset(record_id, files)
record_id |
A SAFE dataset record id |
files |
A vector of files to insert into the data directory |
set_example_safe_dir()
files <- system.file("safedata_example_dir",
"template_ClareWfunctiondata.xlsx",
package = "safedata")
insert_dataset(1237719, files)
dat <- load_safe_data(1237719, "Data")
str(dat)
unset_example_safe_dir()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.