View source: R/dvUserStudies.r
dvUserStudies | R Documentation |
Use Data Deposit API to obtain list of studies in a named Dataverse.
dvUserStudies( dvname, dv=getOption('dvn'), user=getOption('dvn.user'), pwd=getOption('dvn.pwd'), browser=FALSE, ...)
dvname |
A character string containing the name of a dataverse collection. Must be a dataverse accessible to this user (perhaps as returned by |
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 |
pwd |
A character string containing the corresponding dataverse password. Default is |
browser |
A logical specifying whether the query should be executed in a web browser. Default is |
... |
Optionally, additional arguments passed to |
For the dvname
argument, it is also possible to simply pass the “dvServiceDoc” object directly in lieu of naming a dataverse: dvUserStudies(dvServiceDoc())
. If the user has access to more than one dataverse collection, the first will be used (and produce a warning).
A list containing:
dvtitle |
The title of the dataverse, as a character string. |
released |
A character string reporting whether the dataverse is publicly released. |
generator |
A vector containing details about the SWORD application. |
studies |
A two-column dataframe containing |
xml |
A character string containing an XML data structure, which describes the studies available in a named dataverse. |
Thomas J. Leeper
dvStudyStatement
dvStudyAtom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.