Description Usage Arguments Value Examples
View source: R/update_file_metadata.R
It will preserve all metadata that's not specifically addressed
1 2 3 4 5 6 7 8 9 10 | update_file_metadata(
file,
label = NULL,
directoryLabel = NULL,
description = NULL,
restricted = NULL,
categories = NULL,
key = Sys.getenv("DATAVERSE_KEY"),
server = "data.qdr.syr.edu"
)
|
file |
The numeric ID of a file |
label |
A string. filename/label of the file. |
directoryLabel |
A string. The directory for the file _not_ starting with a slash |
description |
A string. The description of the file |
restricted |
Boolean. TRUE (for restricted), FALSE for not. |
categories |
A string. Tags for the file, comma or semicolon separated. |
key |
The API key for the dataverse installation |
server |
The dataverse installation to be used |
The API response (as text)
1 2 3 4 5 | ## Not run:
# Updates the file description
update_message <- update_file_metadata(396501, description = "New file description")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.