Learn R Programming

dvn (version 0.3.5)

dvMetadataFormats: Retrieve available metadata formats

Description

Retrieve the available metadata formats that can be returned for a particular dataverse record.

Usage

dvMetadataFormats(objectid, dv = getOption('dvn'), browser = FALSE, ...)

Arguments

objectid
Either a character string containing the id for a dataverse study (a handle) or an object of class “dvStudyAtom”. This could be returned from dvUserStudies (or, dvSearch, from the Data Sharing API).
dv
An optional character string specifying the Dataverse to query. Default is the Harvard IQSS Dataverse.
browser
A logical specifying whether the query should be executed in a web browser. Default is FALSE.
...
Optionally, additional arguments passed to getURL via dvQuery.

Value

Examples

Run this code
## Not run: 
# formats <- dvMetadataFormats("hdl:1902.1/17218")
# ## End(Not run)

Run the code above in your browser using DataLab