geolocation | R Documentation |
Get/set the optional Geolocation
property as an attribute to an
R object.
geolocation(x)
geolocation(x, overwrite = TRUE) <- value
x |
An R object, such as a data.frame, a tibble, or a data.table. |
overwrite |
If the attributes should be overwritten. In case it is set to |
value |
The |
The Geolocation
is recommended for discovery in DataCite.
Spatial region or named place where the data was gathered
or about which the data is focused.
The Geolocation
attribute as a character of length 1 is added to x
.
Other Reference metadata functions:
creator()
,
dataset_source()
,
description()
,
identifier()
,
language
,
publication_year()
,
publisher()
,
rights()
,
size()
,
version()
iris_dataset <- iris
geolocation(iris_dataset) <- "US"
geolocation(iris_dataset)
geolocation(iris_dataset, overwrite = FALSE) <- "GB"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.