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

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/dvBuildMetadata.r

Description

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

Usage

1
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

A character string of class “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”.

Author(s)

Thomas J. Leeper

References

Dublin Core Metadata Terms

Qualified Dublin Core (Wikipedia)

Atom entry specification

Qualified Dublin Core XML example 1

Qualified Dublin Core XML example 2

See Also

dvCreateStudy dvEditStudy

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

leeper/dvn documentation built on May 21, 2019, 12:36 a.m.