Learn R Programming

helsinki (version 0.9.29)

get_hsy: Retrieve data from Helsinki Region Environmental Services

Description

Retrieves data from Helsinki Region Environmental Services Authority (Helsingin seudun ymparistopalvelu HSY) http://www.hsy.fi/seututieto/kaupunki/paikkatiedot/Sivut/Avoindata.aspx For data description (in Finnish) see: http://www.hsy.fi/seututieto/Documents/Paikkatiedot/Tietokuvaukset_kaikki.pdf. The data copyright (C) HSY 2011.

Usage

get_hsy(which.data = NULL, which.year = 2013, data.dir = tempdir(),
  verbose = TRUE)

Arguments

which.data

A string. Specify the name of the retrieved HSY data set. Options: Vaestotietoruudukko; Rakennustietoruudukko; SeutuRAMAVA_kosa; SeutuRAMAVA_tila. These are documented in HSY data description document (see above).

which.year

An integer. Specify the year for the data to be retrieved.

data.dir

A string. Specify a temporary folder for storing downloaded data.

verbose

logical. Should R report extra information on progress?

Value

Shape object (from SpatialPolygonsDataFrame class)

References

See citation("helsinki")

Examples

Run this code
# NOT RUN {
vaesto.sp <- get_hsy("Vaestotietoruudukko")
# }

Run the code above in your browser using DataLab