Get/set the optional Source
property as an attribute to an
R object. Do not confuse with the base R source()
function.
Arguments
- x
An R object of type data.frame, or inherited data.table, tibble; alternatively a well structured R list.
- overwrite
If pre-existing metadata properties should be overwritten, defaults to
TRUE
.- value
The
Source
as a character string of lengths one.
Details
The Source
is a related resource from which the described resource is
derived. See dct:source. In Datacite,
the source is described by a relatedIdentifierType
with the property
relationType="isDerivedFrom"
.
See also
Other Reference metadata functions:
creator()
,
description()
,
geolocation()
,
identifier()
,
language
,
publication_year()
,
publisher()
,
rights()
,
size()
,
version()