add_rights: Add Rights

Description Usage Arguments Details Examples

Description

Add access rights information to the metadata.

Usage

1
2
3
4
5
add_rights(
  rightsIdentifier = "CC-BY-NC-SA-4.0",
  rightsURI = NULL,
  format = "json"
)

Arguments

rightsIdentifier

An identifier of the applicable use right, defaults to 'CC-BY-NC-SA-4.0'. SPDX License List

format

Defaults to 'json', in which case a JSON-formatted single character string is returned. The alternative is 'list'.

rigthsURI

A URL to the definition of the rigth. Automatically created from SPDX License List. Defaults to NULL, when the download will be called with id.

Details

In Dublin Core, Rights Management: A Cross-Domain Attribute Set

DataCite Metadata Schema Optional Properties, Rights: DataCite Metadata Schema v4.4 Recommended and Optional Properties

Usually you do not have to fill in rigthsURI. We only use standard rights definitions in SPDX License List.

Examples

1
add_rights( 'CC-BY-NC-SA-4.0')

dataobservatory-eu/dataobservatory documentation built on Jan. 7, 2022, 8:55 p.m.