write_fls_to_dv_ds | R Documentation |
write_fls_to_dv_ds() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write files to dataverse dataset. The function returns Dataset (a list).
write_fls_to_dv_ds(
dss_tb,
dv_nm_1L_chr,
ds_url_1L_chr,
wait_time_in_secs_int = 5L,
make_local_copy_1L_lgl = F,
parent_dv_dir_1L_chr,
paths_to_dirs_chr,
paths_are_rltv_1L_lgl = T,
inc_fl_types_chr = NA_character_,
key_1L_chr = Sys.getenv("DATAVERSE_KEY"),
server_1L_chr = Sys.getenv("DATAVERSE_SERVER")
)
dss_tb |
Datasets (a tibble) |
dv_nm_1L_chr |
Dataverse name (a character vector of length one) |
ds_url_1L_chr |
Dataset url (a character vector of length one) |
wait_time_in_secs_int |
Wait time in secs (an integer vector), Default: 5 |
make_local_copy_1L_lgl |
Make local copy (a logical vector of length one), Default: F |
parent_dv_dir_1L_chr |
Parent dataverse directory (a character vector of length one) |
paths_to_dirs_chr |
Paths to directories (a character vector) |
paths_are_rltv_1L_lgl |
Paths are relative (a logical vector of length one), Default: T |
inc_fl_types_chr |
Include file types (a character vector), Default: 'NA' |
key_1L_chr |
Key (a character vector of length one), Default: Sys.getenv("DATAVERSE_KEY") |
server_1L_chr |
Server (a character vector of length one), Default: Sys.getenv("DATAVERSE_SERVER") |
Dataset (a list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.