Learn R Programming

sotkanet (version 0.10.1)

sotkanet_indicator_metadata: Sotkanet Indicator Metadata

Description

Retrieves sotkanet indicator metadata.

Usage

sotkanet_indicator_metadata(
  id = NULL,
  type = "raw",
  user.agent = NULL,
  cache = TRUE,
  cache_dir = NULL
)

Value

sotkanet indicator metadata as a list object

Arguments

id

Indicator id

type

Parameter passed onto sotkanet_indicators. Default is 'raw' for the whole output but 'table' is also supported

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.

Author

Maintainer: Pyry Kantanen

Details

Data is fetched from

https://sotkanet.fi/rest/1.1/indicators/<id>

References

See citation("sotkanet")

Examples

Run this code
if (FALSE) {
x <- sotkanet_indicator_metadata(10012)
}

Run the code above in your browser using DataLab