geolocation {dataset} | R Documentation |
Get/set the Geolocation of the object.
Description
Get/set the optional Geolocation
property as an attribute
to an R object.
Usage
geolocation(x)
geolocation(x, overwrite = TRUE) <- value
Arguments
x |
A semantically rich data frame object created by
|
overwrite |
If the attributes should be overwritten. In case it is set
to |
value |
The |
Details
The Geolocation
is recommended for discovery in DataCite 4.4.
Spatial region or named place where the data was gathered or about which
the data is focused. See:
datacite:Geolocation.
Value
The Geolocation
attribute as a character of length 1 is added
to x
.
See Also
Other Reference metadata functions:
description()
,
identifier()
,
language
,
publication_year()
,
publisher()
,
rights()
Examples
orange_dataset <- orange_df
geolocation(orange_df) <- "US"
geolocation(orange_df)
geolocation(orange_df, overwrite = FALSE) <- "GB"