Description Usage Arguments See Also Examples
View source: R/update_file_metadata.R
The assumption here is that this is based on a dataframe/spreadsheet so that file IDs and metadata vectors are guaranteed to be aligned
1 2 3 4 5 6 7 8 9 10 | bulk_update_file_metadata(
files,
label = NULL,
directoryLabel = NULL,
description = NULL,
restricted = NULL,
categories = NULL,
key = Sys.getenv("DATAVERSE_KEY"),
server = "data.qdr.syr.edu"
)
|
files |
A numerical vector. Dataverse IDs |
label |
A character vector. Filenames for the files |
directoryLabel |
A character vector. Folders for the files |
description |
A character vector. Descriptions for files |
restricted |
A boolean vector. Whether files are restricted |
categories |
A character vector. File tags. Mulitple tags are comma or semicomma separated |
key |
The API key for the dataverse installation |
server |
The dataverse installation |
update_file_metadata
1 2 3 4 5 6 7 8 9 | ## Not run:
bulk_update_file_metadata(
c(402881, 395305),
description = c("new description", "other new description"),
categories = c("Data", "Documentation"),
server = "demo.dataverse.org"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.