dvTermsOfUse: Terms of Use

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

View source: R/dvTermsOfUse.r

Description

Extract and view Dataverse Terms of Use.

Usage

1

Arguments

xml

A character string containing an XML data structure returned by dvMetadata or dvServiceDoc.

Details

Extracts the Terms of Use from a “dvServiceDoc” or “dvMetadata” (in DDI format) object, saves that information as temporary HTML file (or files, if dvServiceDoc returns multiple dataverses) and opens the file(s) using browseURL. Temporary files are then immediately deleted.

Value

The value of xml, invisibly.

Author(s)

Thomas J. Leeper

See Also

dvMetadata dvServiceDoc

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Extract TOU from Data Sharing reseponse
# (This only applies when `dvMetadata` is in DDI format)
dvTermsOfUse(dvMetadata("hdl:1902.1/17864"))

# Extract TOU from Data Deposit reseponse:
dvTermsOfUse(dvServiceDoc())

## End(Not run)

dvn documentation built on May 29, 2017, 5:53 p.m.