Learn R Programming

sotkanet (version 0.10.1)

SotkanetIndicators: Sotkanet Indicators (old version)

Description

Retrieve Sotkanet indicator metadata. (This is an older version of the function. It is advised to use the new [sotkanet_indicators()] function instead.)

Usage

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

Value

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

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"

Author

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

Details

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

References

See citation("sotkanet")

Examples

Run this code
if (FALSE) {
sotkanet.indicators <- SotkanetIndicators(type = "table")
}

Run the code above in your browser using DataLab