View source: R/sotkanet_indicator_metadata.R
sotkanet_indicator_metadata | R Documentation |
Retrieves sotkanet indicator metadata.
sotkanet_indicator_metadata(
id = NULL,
type = "raw",
user.agent = NULL,
cache = TRUE,
cache_dir = NULL
)
id |
Indicator id |
type |
Parameter passed onto |
user.agent |
"User agent" defined by the user. Default is NULL which will use the default package identifier "rOpenGov/sotkanet" |
cache |
A logical whether to do caching. |
cache_dir |
A path to the cache dir. |
Data is fetched from
https://sotkanet.fi/rest/1.1/indicators/<id>
sotkanet indicator metadata as a list object
Maintainer: Pyry Kantanen
See citation("sotkanet")
## Not run:
x <- sotkanet_indicator_metadata(10012)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.