Learn R Programming

dvn (version 0.3.5)

dvBuildMetadata: Build the Atom object to create or edit a study.

Description

Build the Qualified Dublin Core Atom XML object needed for dvCreateStudy or dvEditStudy.

Usage

dvBuildMetadata(..., format='dcterms', validate = FALSE)

Arguments

...
One or more named metadata fields. “title” is required. Any other fields are optional, but must be in Qualified Dublin Core.
format
A character specifying the format of the metadata XML. Default is “dcterms”. Currently ignored.
validate
A logical indicating whether to validate the resulting metadata. Default is “FALSE”.

Value

“dvMetadata” containing a complete Atom entry for use in dvCreateStudy or dvEditStudy.Allowed fields are: “abstract”, “accessRights”, “accrualMethod”, “accrualPeriodicity”, “accrualPolicy”, “alternative”, “audience”, “available”, “bibliographicCitation”, “conformsTo”, “contributor”, “coverage”, “created”, “creator”, “date”, “dateAccepted”, “dateCopyrighted”, “dateSubmitted”, “description”, “educationLevel”, “extent”, “format”, “hasFormat”, “hasPart”, “hasVersion”, “identifier”, “instructionalMethod”, “isFormatOf”, “isPartOf”, “isReferencedBy”, “isReplacedBy”, “isRequiredBy”, “issued”, “isVersionOf”, “language”, “license”, “mediator”, “medium”, “modified”, “provenance”, “publisher”, “references”, “relation”, “replaces”, “requires”, “rights”, “rightsHolder”, “source”, “spatial”, “subject”, “tableOfContents”, “temporal”, “title”, “type”, and “valid”.

See Also

dvCreateStudy dvEditStudy

Examples

Run this code
## Not run: 
# dvBuildMetadata(title="My Study",
#                 creator="Doe, John",
#                 creator="Doe, Jane",
#                 publisher="My University",
#                 date="2013-09-22",
#                 description="An example study",
#                 subject="Study",
#                 subject="Dataverse",
#                 subject="Other",
#                 coverage="United States")
# ## End(Not run)

Run the code above in your browser using DataLab