SotkanetIndicators: Sotkanet Indicators

Description Usage Arguments Details Value Author(s) References Examples

View source: R/SotkanetIndicators.R

Description

Retrieve Sotkanet indicator metadata

Usage

1
SotkanetIndicators(id = NULL, type = "table", user.agent = NULL)

Arguments

id

Dataset identifier. Default is NULL returning all

type

type output format, either 'table' (default) or 'raw'. Default produces a truncated table with strictly defined columns that are useful in other functions. 'Raw' produces the full output which might be useful for exploratory purposes.

user.agent

"User agent" defined by the user. Default is NULL which will then use the package identifier "rOpenGov/sotkanet"

Details

Data is fetched from https://sotkanet.fi/rest/1.1/indicators.

Value

data.frame (type = "table) or a list (type = "raw")

Author(s)

Leo Lahti leo.lahti@iki.fi, Pyry Kantanen

References

See citation("sotkanet")

Examples

1
2
3
4
## Not run: 
sotkanet.indicators <- SotkanetIndicators(type = "table")

## End(Not run)

sotkanet documentation built on Feb. 2, 2022, 1:07 a.m.