add_ds_to_dv_repo | R Documentation |
add_ds_to_dv_repo() is an Add function that updates an object by adding new values to new or empty fields. Specifically, this function implements an algorithm to add dataset to dataverse repository. The function returns Dataset url (a character vector of length one).
add_ds_to_dv_repo(
dv_1L_chr,
ds_meta_ls,
key_1L_chr = Sys.getenv("DATAVERSE_KEY"),
server_1L_chr = Sys.getenv("DATAVERSE_SERVER")
)
dv_1L_chr |
Dataverse (a character vector of length one) |
ds_meta_ls |
Dataset meta (a list) |
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 url (a character vector of length one)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.