Description Usage Arguments Details Value Author(s) References See Also
Use Data Deposit API to replace a study's metadata.
1 2 3  | 
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   | 
xmlfile | 
 The path to an XML file (or a character string of that XML) containing a Qualified Dublin Core Atom/XML document, which specifies the metadata necessary to create the study. See references for an example and   | 
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   | 
This function replaces a study's metadata. That is, it is not possible to edit some fields of a study's metadata. The SWORD implementation only allows an entire metadata record to be replaced. Thus, if one only wants to edit one field, a complete Qualified Dublin Core XML document. Probably, it is best to store this locally to simply making any future changes.
Note: Editing a study only changes the study in “draft”. To make those changes public, the study needs to be subsequently released. A released study can be “deaccessioned” (replacing its public record with a publicly visible record about its previous release) using dvDeleteStudy but cannot be deleted.
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   | 
xml | 
 A character string containing an XML data structure that includes a study citation and handle.  | 
If successful, the request will reflect the contents of xmlfile.
Thomas J. Leeper
Qualified Dublin Core XML example 1
Qualified Dublin Core XML example 2
dvBuildMetadata
dvAddFile
dvCreateStudy
dvReleaseStudy
dvDeleteStudy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.