powered by
Get/set the optional Source property as an attribute to an R object. DO not confuse with the base R source() function.
Source
source()
dataset_source(x)dataset_source(x, overwrite = TRUE) <- value
dataset_source(x, overwrite = TRUE) <- value
The Source attribute as a character of length 1 is added to x.
x
An R object of type data.frame, or inherited data.table, tibble; alternatively a well structured R list.
If pre-existing metadata properties should be overwritten, defaults to TRUE.
TRUE
The Source as a character string of lengths one.
The Source is a related resource from which the described resource is derived. See dct:source.
Other Reference metadata functions: creator(), description(), geolocation(), identifier(), language, publication_year(), publisher(), rights(), size(), version()
creator()
description()
geolocation()
identifier()
language
publication_year()
publisher()
rights()
size()
version()
iris_dataset <- iris dataset_source(iris_dataset) <- "https://doi.org/10.1111/j.1469-1809.1936.tb02137.x" dataset_source(iris_dataset)
Run the code above in your browser using DataLab