dvCreateStudy( dvname, xmlfile, dv=getOption('dvn'), user=getOption('dvn.user'), pwd=getOption('dvn.pwd'), browser=FALSE, ...)
dvServiceDoc
.dvBuildMetadata
.options('dvn.user')
.options('dvn.pwd')
.FALSE
.curlPerform
via dvDepositQuery
.objectId
for the study.dvBuildMetadata
). This document must contain a title, with all other fields being optional.For the dvname
argument, it is also possible to simply pass the dvServiceDoc object directly in lieu of naming a dataverse: dCreateStudy(dvServiceDoc(),"atom.xml")
. In this case, if the user has access to more than one dataverse collection, an error will be produced.
Creating a study only changes the study in draft. To make a study public (and thus visible online or via dvSearch
), the study needs to be subsequently released with dvReleaseStudy
. It can also be deleted with dvDeleteStudy
. Note: 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.
dvBuildMetadata
dvAddFile
dvEditStudy
dvReleaseStudy
dvDeleteStudy