dvAddFile( objectid, filename=NULL, dataframe=NULL, category=NULL, dv=getOption('dvn'), user=getOption('dvn.user'), pwd=getOption('dvn.pwd'), browser=FALSE, ...)
dvUserStudies
(or, dvSearch
, from the Data Sharing API).df
will become df.RData.NULL
, the default is Files.options('dvn.user')
.options('dvn.pwd')
.FALSE
.curlPerform
via dvDepositQuery
.objectId
for the study.filename
. It is also possible to add one or more dataframes (in addition to or instead) of filenames.The user should receive (immediately) an email from Dataverse confirming whether or not decompression of the .zip was successful. Successful file upload can also be checked with a call to dvStudyStatement
.
Note: Filenames in the .zip must be unique and cannot duplicate the names of any files already attached to the study. Use dvDeleteFile
to remove previous files and then replace by uploading a new .zip.
dvDeleteFile
dvCreateStudy
dvEditStudy
dvReleaseStudy