dvReleaseStudy: Publicly release a study

Description Usage Arguments Value Author(s) See Also

View source: R/dvReleaseStudy.r

Description

Use Data Deposit API to release a created study.

Usage

1
2
3
dvReleaseStudy( objectid, dv=getOption('dvn'),
                user=getOption('dvn.user'), pwd=getOption('dvn.pwd'),
                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.

user

A character string containing a dataverse username. Default is options('dvn.user').

pwd

A character string containing the corresponding dataverse password. Default is options('dvn.pwd').

browser

A logical specifying whether the query should be executed in a web browser. Default is FALSE.

...

Optionally, additional arguments passed to curlPerform via dvQuery.

Value

If successful, a list containing:

bibliographicCitation

A full citation for the study, compiled from metadata.

generator

A vector containing details about the SWORD application.

id

The full URI for the study.

objectId

The objectId for the study.

xml

A character string containing an XML data structure that includes a study citation and handle.

Author(s)

Thomas J. Leeper

See Also

dvCreateStudy dvEditStudy dvDeleteStudy


dvn documentation built on May 29, 2017, 5:53 p.m.