Learn R Programming

helsinki (version 0.9.29)

get_hri_stats: Helsinki Region Infoshare statistics API

Description

Retrieves data from the Helsinki Region Infoshare (HRI) statistics API: http://dev.hel.fi/stats/. Currently provides access to the 'aluesarja't data: http://www.aluesarjat.fi/.

Usage

get_hri_stats(query = "", verbose = TRUE)

Arguments

query

A string, specifying the dataset to query

verbose

logical. Should R report extra information on progress?

Value

results A three-dimensional array of results.

Details

Current implementation is very simple. You can either get the list of resources with query="", or query for a specific resources and retrieve it in a three-dimensional array form.

References

See citation("helsinki")

Examples

Run this code
# NOT RUN {
stats.array <- get_hri_stats("aluesarjat_a03s_hki_vakiluku_aidinkieli")
# }

Run the code above in your browser using DataLab