dvMetadataFormats: Retrieve available metadata formats

View source: R/dvMetadataFormats.r

dvMetadataFormatsR Documentation

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

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

Author(s)

Thomas J. Leeper

Examples

## Not run: 
formats <- dvMetadataFormats("hdl:1902.1/17218")

## End(Not run)

ropensci/dvn documentation built on May 18, 2022, 9:52 a.m.