rights | R Documentation |
Get/set the optional Rights
property as an attribute to an
R object.
rights(x)
rights(x, overwrite = TRUE) <- value
x |
An R object, such as a data.frame, a tibble, or a data.table. |
overwrite |
If the |
value |
The |
Rights
corresponds to
dct:rights and
datacite
Rights. Information about rights held in and over the resource.
Typically, rights information includes a statement about various property rights associated with the resource,
including intellectual property rights.
The Rights
attribute as a character of length 1 is added to x
.
Other Reference metadata functions:
creator()
,
dataset_source()
,
description()
,
geolocation()
,
identifier()
,
language
,
publication_year()
,
publisher()
,
size()
,
version()
iris_dataset <- iris
rights(iris_dataset) <- "CC-BY-SA"
rights(iris_dataset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.