View source: R/sf_get_classifications.R
sf_get_class | R Documentation |
Download a data.frame of classifications from the Statistics Finland webpage. The data.frame includes codes and names for a classifications.
sf_get_class(class, year, lang = "fi", as_factors = default.stringsAsFactors())
class |
a a name of the classification. |
year |
a year of the classification. |
lang |
a language code. Available "fi", "en", "sv". |
as_factors |
a logical. Should columns be converted to factors. The
default is from |
For all available classifications see http://tilastokeskus.fi/meta/luokitukset/index_en.html (for english) and http://tilastokeskus.fi/meta/luokitukset/ (for finnish).
Some of available classification include:
Regional
kunta
seutukunta
maakunta
kuntaryhmitys
tyossakayntial
Economic
toimiala
cpa
a data.frame.
Other sf_class:
sf_get_class_key()
,
sf_get_reg_key()
x <- sf_get_class(class = "kunta", year = 2016)
y <- sf_get_class("seutukunta", 2013)
z <- sf_get_class("maakunta", 2016)
t <- sf_get_class("toimiala", 2008, lang = "en")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.