Retrieve available metadata formats

Share:

Description

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

Usage

1
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

A dataframe containing names and supplemental information for the metadata format(s) available for specified dataverse object.

Author(s)

Thomas J. Leeper

Examples

1
2
3
4
## Not run: 
formats <- dvMetadataFormats("hdl:1902.1/17218")

## End(Not run)