sotkanet_indicator_metadata {sotkanet} | R Documentation |
Sotkanet Indicator Metadata
Description
Retrieves sotkanet indicator metadata.
Usage
sotkanet_indicator_metadata(
id = NULL,
type = "raw",
user.agent = NULL,
cache = TRUE,
cache_dir = NULL
)
Arguments
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. |
Details
Data is fetched from
https://sotkanet.fi/rest/1.1/indicators/<id>
Value
sotkanet indicator metadata as a list object
Author(s)
Maintainer: Pyry Kantanen
References
See citation("sotkanet")
Examples
## Not run:
x <- sotkanet_indicator_metadata(10012)
## End(Not run)
[Package sotkanet version 0.10.1 Index]