Learn R Programming

sotkanet (version 0.10.1)

SotkanetIndicatorMetadata: Sotkanet Indicator Metadata. (old version)

Description

Retrieves sotkanet indicator metadata. (This is an older version of the function. It is advised to use the new [sotkanet_indicator_metadata()] function instead.)

Usage

SotkanetIndicatorMetadata(id = NULL, type = "raw", user.agent = NULL)

Value

sotkanet indicator metadata as a list object

Arguments

id

Indicator id

type

Parameter passed onto SotkanetIndicators. 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"

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 <- SotkanetIndicatorMetadata(10013)
}

Run the code above in your browser using DataLab