Title: | Access Finnish Geospatial Data |
---|---|
Description: | Designed to simplify geospatial data access from the Statistics Finland Web Feature Service API <https://geo.stat.fi/geoserver/index.html>, the geofi package offers researchers and analysts a set of tools to obtain and harmonize administrative spatial data for a wide range of applications, from urban planning to environmental research. The package contains annually updated time series of municipality key datasets that can be used for data aggregation and language translations. |
Authors: | Markus Kainu [aut, cre] , Joona Lehtomaki [aut] , Juuso Parkkinen [ctb] , Jani Miettinen [ctb], Pyry Kantanen [ctb], Sampo Vesanen [ctb], Leo Lahti [aut] |
Maintainer: | Markus Kainu <[email protected]> |
License: | BSD_2_clause + file LICENSE |
Version: | 1.0.17 |
Built: | 2024-12-22 06:06:12 UTC |
Source: | https://github.com/rOpenGov/geofi |
Check if R has access to resources at http://geo.stat.fi/geoserver/wfs
check_api_access()
check_api_access()
a logical.
Markus Kainu [email protected]
## Not run: check_api_access() ## End(Not run)
## Not run: check_api_access() ## End(Not run)
Statistics Finland provides numerical codes of regions as two or three digit characters. By default, those are converted to integers by geofi for convenience, but can be converted back using this function.
convert_municipality_key_codes(muni_key = geofi::municipality_key)
convert_municipality_key_codes(muni_key = geofi::municipality_key)
muni_key |
a municipality key from geofi-package |
tibble with codes converted to variable length characters as provided by Statistics Finland
Markus Kainu [email protected], Pyry Kantanen
## Not run: convert_municipality_key_codes(muni_key = geofi::municipality_key) ## End(Not run)
## Not run: convert_municipality_key_codes(muni_key = geofi::municipality_key) ## End(Not run)
Thin wrapper around Finnish zip code areas provided by Statistics Finland.
get_municipalities(year = 2024, scale = 4500, codes_as_character = FALSE)
get_municipalities(year = 2024, scale = 4500, codes_as_character = FALSE)
year |
A numeric for year of the administrative borders. Available are 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 and 2024. |
scale |
A scale or resolution of the shape. Two options: |
codes_as_character |
A logical determining if the region codes should be returned as strings of equal width as originally provided by Statistics Finland instead of integers. |
sf object
Markus Kainu [email protected], Joona Lehtomäki [email protected]
## Not run: f <- get_municipalities(year=2016, scale = 4500) plot(f) ## End(Not run)
## Not run: f <- get_municipalities(year=2016, scale = 4500) plot(f) ## End(Not run)
Thin wrapper around Finnish zip code areas provided by Statistics Finland.
get_municipality_pop(year = 2022, codes_as_character = FALSE)
get_municipality_pop(year = 2022, codes_as_character = FALSE)
year |
A numeric for year of the administrative borders. Available are 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 and 2022. |
codes_as_character |
A logical determining if the region codes should be returned as strings of equal width as originally provided by Statistics Finland instead of integers. |
The number of population on the last day of the reference year combined with municipality borders from year after. Calling the function with year = 2019 returns population data from 2019-12-31 with spatial data from 2020.
The statistical variables in the data are: total population (vaesto), share of the total population (vaesto_p), number of men (miehet), men's share of the population in an area (miehet_p) and women (naiset), women's share (naiset_p), those aged under 15: number (ika_0_14), share (ika_0_14p), those aged 15 to 64: number (ika_15_64), share (ika_15_64p), and aged 65 or over: number (ika_65_), share (ika_65_p).
sf object
Markus Kainu [email protected], Joona Lehtomäki [email protected]
## Not run: f <- get_municipality_pop(year=2020) plot(f) ## End(Not run)
## Not run: f <- get_municipality_pop(year=2020) plot(f) ## End(Not run)
Get Finnish Population grid in two different resolutions for years 2010-2022 Thin wrapper around Finnish population grid data provided by Statistics Finland.
get_population_grid(year = 2022, resolution = 5)
get_population_grid(year = 2022, resolution = 5)
year |
A numeric for year of the population grid. Years available 2005 and 2010-2022. |
resolution |
1 (1km x 1km) or 5 (5km x 5km) |
More information about the dataset from Paikkatietohakemisto
sf object
Markus Kainu [email protected], Joona Lehtomäki [email protected]
## Not run: f <- get_population_grid(year=2017) plot(f) ## End(Not run)
## Not run: f <- get_population_grid(year=2017) plot(f) ## End(Not run)
Thin wrapper around Finnish statistical grid data provided by Statistics Finland.
get_statistical_grid(resolution = 5, auxiliary_data = FALSE)
get_statistical_grid(resolution = 5, auxiliary_data = FALSE)
resolution |
integer 1 (1km x 1km) or 5 (5km x 5km) |
auxiliary_data |
logical Whether to include auxiliary data containing municipality membership data. Default |
sf object
Markus Kainu [email protected], Joona Lehtomäki [email protected]
## Not run: f <- get_statistical_grid(resolution = 5, auxiliary_data = FALSE) plot(f) ## End(Not run)
## Not run: f <- get_statistical_grid(resolution = 5, auxiliary_data = FALSE) plot(f) ## End(Not run)
Thin wrapper around Finnish zip code areas provided by Statistics Finland.
get_zipcodes(year = 2023, extend_to_sea_areas = FALSE)
get_zipcodes(year = 2023, extend_to_sea_areas = FALSE)
year |
A numeric for year of the zipcodes. Years available 2015-2024. |
extend_to_sea_areas |
A logical. Extend the data to show also the sea areas. |
sf object
Markus Kainu [email protected], Joona Lehtomäki [email protected]
## Not run: f <- get_zipcodes(year=2022) plot(f) ## End(Not run)
## Not run: f <- get_zipcodes(year=2022) plot(f) ## End(Not run)
Grid table to be used with ggplot2 and geofacet
grid_ahvenanmaa
grid_ahvenanmaa
A data frame with 16 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_etela_karjala
grid_etela_karjala
A data frame with 9 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_etela_pohjanmaa
grid_etela_pohjanmaa
A data frame with 18 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_etela_savo
grid_etela_savo
A data frame with 12 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_hyvinvointialue
grid_hyvinvointialue
A data frame with 23 rows and 4 variables:
Wellbeing services county name (hyvinvointialue) in Finnish
Wellbeing services counties code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_kainuu
grid_kainuu
A data frame with 8 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_kanta_hame
grid_kanta_hame
A data frame with 11 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_keski_pohjanmaa
grid_keski_pohjanmaa
A data frame with 8 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_keski_suomi
grid_keski_suomi
A data frame with 22 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_kymenlaakso
grid_kymenlaakso
A data frame with 6 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_lappi
grid_lappi
A data frame with 21 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_maakunta
grid_maakunta
A data frame with 19 rows and 4 variables:
Region name (maakunta) in Finnish
Region code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_paijat_hame
grid_paijat_hame
A data frame with 10 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_pirkanmaa
grid_pirkanmaa
A data frame with 23 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_pohjanmaa
grid_pohjanmaa
A data frame with 14 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_pohjois_karjala
grid_pohjois_karjala
A data frame with 13 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_pohjois_pohjanmaa
grid_pohjois_pohjanmaa
A data frame with 30 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_pohjois_savo
grid_pohjois_savo
A data frame with 19 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_sairaanhoitop
grid_sairaanhoitop
A data frame with 21 rows and 4 variables:
District name (Sairaanhoitopiiri) in Finnish
District code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_satakunta
grid_satakunta
A data frame with 16 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_uusimaa
grid_uusimaa
A data frame with 26 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Grid table to be used with ggplot2 and geofacet
grid_varsinais_suomi
grid_varsinais_suomi
A data frame with 27 rows and 4 variables:
Municipality name (kunta) in Finnish
Municipality code
Vertical location in grid
Horizontal location in grid
Data is extracted from latest version (April 2023) of Topographic Database (Maastotietokanta) by National Land Survey of Finland (Maanmittauslaitos)
municipality_central_localities
municipality_central_localities
A simple feature POINT data with 311 rows and 21 variables:
mtk_id
location precision
data source
start date
Municipality name
direction
dx
dy
kohderyhmä
kohdeluokka
ladontatunnus
kirjasintyyppikoodi
kirjasinkoko
kirjasinvarikoodi
kirjasinkallistuskulma
kirjasinvalyskerroin
municipality code
municipality code
municipality name in Finnish
municipality name in Swedish
municipality name in English
geometry
Table for aggregating municipality level data to various regional groupings
municipality_key
municipality_key
A data frame with 3440 rows and 81 variables:
Municipality code
Municipality name in Finnish
Municipality name in Swedish
Municipality name in English
Tilastollinen kuntaryhmitys (Statistical grouping) code
Tilastollinen kuntaryhmitys (Statistical grouping) name in Finnish
Tilastollinen kuntaryhmitys (Statistical grouping) name in Swedish
Tilastollinen kuntaryhmitys (Statistical grouping) name in English
Aluehallintovirasto code (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Elinkeino-, liikenne- ja ympäristökeskuksen code (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Finnish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Swedish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in English (Centre for Economic Development, Transport and the Environment)
Maakunta code (Regions of Finland)
Maakunta name in Finnish (Regions of Finland)
Maakunta name in Swedish (Regions of Finland)
Maakunta name in English (Regions of Finland)
Kielisuhde code (Language distribution 2020)
Kielisuhde name in Finnish (Language distribution 2020)
Kielisuhde name in Swedish (Language distribution 2020)
Kielisuhde name in English (Language distribution 2020)
Seutukunta code (Sub-regions of Finland)
Seutukunta name in Finnish (Sub-regions of Finland)
Seutukunta name in Swedish (Sub-regions of Finland)
Seutukunta name in English (Sub-regions of Finland)
data year
Suuralue code
Suuralueen nimi in Finnish (Large Areas)
Suuralueen nimi in Swedish (Large Areas)
Suuralueen nimi in English (Large Areas)
Sairaanhoitopiiri code (Health care districts)
Sairaanhoitopiiri name in Finnish (Health care districts)
Sairaanhoitopiiri name in Swedish (Health care districts)
Sairaanhoitopiiri name in English (Health care districts)
NUTS 2016 classification code (level 1)
NUTS 2016 classification name in Finnish (level 1)
NUTS 2016 classification name in Swedish (level 1)
NUTS 2016 classification name in English (level 1)
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 2)
NUTS 2016 classification name in Swedish (level 2)
nuts2_name_en
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 3)
NUTS 2016 classification name in Swedish (level 3)
NUTS 2016 classification name in English (level 3)
Työssäkäyntialue code
Työssäkäyntialue name in Finnish
Työssäkäyntialue name in Swedish
Työssäkäyntialue name in English
Vaalipiiri code (Constituencies)
Vaalipiiri name in Finnish (Constituencies)
Vaalipiiri name in Swedish (Constituencies)
Vaalipiiri name in English (Constituencies)
Municipality code
Municipality name in Finnish
Municipality name in Finnish
Municipality name in Finnish
Sosiaali- ja terveydenhuollon yhteistyöalueiden koodi (Collaborative areas for healthcare and social welfare codes)
Sosiaali- ja terveydenhuollon yhteistyöalueet
Samarbetsområden för social- och hälsovården
Collaborative areas for healthcare and social welfare
Sairaanhoidon erityisvastuualueen code (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Finnish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Swedish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in English (Catchment areas for highly specialised medical care)
Kelan vakuutuspiiri name in Finnish (Insurance District)
Kelan vakuutuspiiri unofficial code (Insurance District)
Kelan vakuutuspiiri name in Swedish (Insurance District)
Kelan vakuutuspiiri name in English (Insurance District)
Kelan asumistuen kuntaryhmät name in Finnish (Municipality categories for housing allowance)
Kelan asumistuen kuntaryhmät unofficial code (Municipality categories for housing allowance)
Kelan asumistuen kuntaryhmät name in Swedish (Municipality categories for housing allowance)
Kelan asumistuen kuntaryhmät name in English (Municipality categories for housing allowance)
Hyvinvointialue name in Finnish (Wellbeing services counties)
Hyvinvointialue name in Swedish (Wellbeing services counties)
Hyvinvointialue name in English (Wellbeing services counties)
Hyvinvointialue code (Wellbeing services counties)
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2013
municipality_key_2013
A data frame with 320 rows and 35 variables:
kunta
municipality_name_fi
municipality_name_sv
municipality_name_en
avi_code
avi_name_fi
avi_name_sv
avi_name_en
kuntaryhmitys_code
kuntaryhmitys_name_fi
kuntaryhmitys_name_sv
kuntaryhmitys_name_en
tyossakayntial_code
tyossakayntial_name_fi
ely_code
ely_name_fi
ely_name_sv
ely_name_en
maakunta_code
maakunta_name_fi
maakunta_name_sv
maakunta_name_en
seutukunta_code
seutukunta_name_fi
seutukunta_name_sv
seutukunta_name_en
kielisuhde_code
kielisuhde_name_fi
kielisuhde_name_sv
kielisuhde_name_en
year
municipality_code
kunta_name
name_fi
name_sv
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2014
municipality_key_2014
A data frame with 320 rows and 39 variables:
kunta
municipality_name_fi
municipality_name_sv
municipality_name_en
avi_code
avi_name_fi
avi_name_sv
avi_name_en
kuntaryhmitys_code
kuntaryhmitys_name_fi
kuntaryhmitys_name_sv
kuntaryhmitys_name_en
tyossakayntial_code
tyossakayntial_name_fi
ely_code
ely_name_fi
ely_name_sv
ely_name_en
maakunta_code
maakunta_name_fi
maakunta_name_sv
maakunta_name_en
seutukunta_code
seutukunta_name_fi
seutukunta_name_sv
seutukunta_name_en
kielisuhde_code
kielisuhde_name_fi
kielisuhde_name_sv
kielisuhde_name_en
year
suuralue_code
suuralue_name_fi
suuralue_name_sv
suuralue_name_en
municipality_code
kunta_name
name_fi
name_sv
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2015
municipality_key_2015
A data frame with 317 rows and 39 variables:
kunta
municipality_name_fi
municipality_name_sv
municipality_name_en
avi_code
avi_name_fi
avi_name_sv
avi_name_en
kuntaryhmitys_code
kuntaryhmitys_name_fi
kuntaryhmitys_name_sv
kuntaryhmitys_name_en
tyossakayntial_code
tyossakayntial_name_fi
ely_code
ely_name_fi
ely_name_sv
ely_name_en
maakunta_code
maakunta_name_fi
maakunta_name_sv
maakunta_name_en
seutukunta_code
seutukunta_name_fi
seutukunta_name_sv
seutukunta_name_en
kielisuhde_code
kielisuhde_name_fi
kielisuhde_name_sv
kielisuhde_name_en
year
suuralue_code
suuralue_name_fi
suuralue_name_sv
suuralue_name_en
municipality_code
kunta_name
name_fi
name_sv
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2016
municipality_key_2016
A data frame with 313 rows and 39 variables:
kunta
municipality_name_fi
municipality_name_sv
municipality_name_en
avi_code
avi_name_fi
avi_name_sv
avi_name_en
kuntaryhmitys_code
kuntaryhmitys_name_fi
kuntaryhmitys_name_sv
kuntaryhmitys_name_en
tyossakayntial_code
tyossakayntial_name_fi
ely_code
ely_name_fi
ely_name_sv
ely_name_en
maakunta_code
maakunta_name_fi
maakunta_name_sv
maakunta_name_en
seutukunta_code
seutukunta_name_fi
seutukunta_name_sv
seutukunta_name_en
kielisuhde_code
kielisuhde_name_fi
kielisuhde_name_sv
kielisuhde_name_en
year
suuralue_code
suuralue_name_fi
suuralue_name_sv
suuralue_name_en
municipality_code
kunta_name
name_fi
name_sv
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2017
municipality_key_2017
A data frame with 311 rows and 55 variables:
kunta
municipality_name_fi
municipality_name_sv
municipality_name_en
avi_code
avi_name_fi
avi_name_sv
avi_name_en
kuntaryhmitys_code
kuntaryhmitys_name_fi
kuntaryhmitys_name_sv
kuntaryhmitys_name_en
tyossakayntial_code
tyossakayntial_name_fi
ely_code
ely_name_fi
ely_name_sv
ely_name_en
maakunta_code
maakunta_name_fi
maakunta_name_sv
maakunta_name_en
seutukunta_code
seutukunta_name_fi
seutukunta_name_sv
seutukunta_name_en
kielisuhde_code
kielisuhde_name_fi
kielisuhde_name_sv
kielisuhde_name_en
year
suuralue_code
suuralue_name_fi
suuralue_name_sv
suuralue_name_en
sairaanhoitop_code
sairaanhoitop_name_fi
sairaanhoitop_name_sv
sairaanhoitop_name_en
nuts1_code
nuts1_name_fi
nuts1_name_sv
nuts1_name_en
nuts2_code
nuts2_name_fi
nuts2_name_sv
nuts2_name_en
nuts3_code
nuts3_name_fi
nuts3_name_sv
nuts3_name_en
municipality_code
kunta_name
name_fi
name_sv
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2018
municipality_key_2018
A data frame with 311 rows and 63 variables:
Municipality code
Municipality name in Finnish
Municipality name in Swedish
Municipality name in English
Tilastollinen kuntaryhmitys (Statistical grouping) code
Tilastollinen kuntaryhmitys (Statistical grouping) name in Finnish
Tilastollinen kuntaryhmitys (Statistical grouping) name in Swedish
Tilastollinen kuntaryhmitys (Statistical grouping) name in English
Aluehallintovirasto code (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Elinkeino-, liikenne- ja ympäristökeskuksen code (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Finnish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Swedish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in English (Centre for Economic Development, Transport and the Environment)
Maakunta code (Regions of Finland)
Maakunta name in Finnish (Regions of Finland)
Maakunta name in Swedish (Regions of Finland)
Maakunta name in English (Regions of Finland)
Kielisuhde code (Language distribution 2020)
Kielisuhde name in Finnish (Language distribution 2020)
Kielisuhde name in Swedish (Language distribution 2020)
Kielisuhde name in English (Language distribution 2020)
Seutukunta code (Sub-regions of Finland)
Seutukunta name in Finnish (Sub-regions of Finland)
Seutukunta name in Swedish (Sub-regions of Finland)
Seutukunta name in English (Sub-regions of Finland)
data year
Suuralue code
Suuralueen nimi in Finnish (Large Areas)
Suuralueen nimi in Swedish (Large Areas)
Suuralueen nimi in English (Large Areas)
Sairaanhoitopiiri code (Health care districts)
Sairaanhoitopiiri name in Finnish (Health care districts)
Sairaanhoitopiiri name in Swedish (Health care districts)
Sairaanhoitopiiri name in English (Health care districts)
NUTS 2016 classification code (level 1)
NUTS 2016 classification name in Finnish (level 1)
NUTS 2016 classification name in Swedish (level 1)
NUTS 2016 classification name in English (level 1)
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 2)
NUTS 2016 classification name in Swedish (level 2)
nuts2_name_en
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 3)
NUTS 2016 classification name in Swedish (level 3)
NUTS 2016 classification name in English (level 3)
Työssäkäyntialue code
Työssäkäyntialue name in Finnish
Municipality code
Municipality name in Finnish
Municipality name in Finnish
Municipality name in Finnish
Sairaanhoidon erityisvastuualueen code (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Finnish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Swedish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in English (Catchment areas for highly specialised medical care)
Hyvinvointialue name in Finnish (Wellbeing services counties)
Hyvinvointialue name in Swedish (Wellbeing services counties)
Hyvinvointialue name in English (Wellbeing services counties)
Hyvinvointialue code (Wellbeing services counties)
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2019
municipality_key_2019
A data frame with 311 rows and 67 variables:
Municipality code
Municipality name in Finnish
Municipality name in Swedish
Municipality name in English
Tilastollinen kuntaryhmitys (Statistical grouping) code
Tilastollinen kuntaryhmitys (Statistical grouping) name in Finnish
Tilastollinen kuntaryhmitys (Statistical grouping) name in Swedish
Tilastollinen kuntaryhmitys (Statistical grouping) name in English
Aluehallintovirasto code (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Elinkeino-, liikenne- ja ympäristökeskuksen code (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Finnish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Swedish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in English (Centre for Economic Development, Transport and the Environment)
Maakunta code (Regions of Finland)
Maakunta name in Finnish (Regions of Finland)
Maakunta name in Swedish (Regions of Finland)
Maakunta name in English (Regions of Finland)
Kielisuhde code (Language distribution 2020)
Kielisuhde name in Finnish (Language distribution 2020)
Kielisuhde name in Swedish (Language distribution 2020)
Kielisuhde name in English (Language distribution 2020)
Seutukunta code (Sub-regions of Finland)
Seutukunta name in Finnish (Sub-regions of Finland)
Seutukunta name in Swedish (Sub-regions of Finland)
Seutukunta name in English (Sub-regions of Finland)
data year
Suuralue code
Suuralueen nimi in Finnish (Large Areas)
Suuralueen nimi in Swedish (Large Areas)
Suuralueen nimi in English (Large Areas)
Sairaanhoitopiiri code (Health care districts)
Sairaanhoitopiiri name in Finnish (Health care districts)
Sairaanhoitopiiri name in Swedish (Health care districts)
Sairaanhoitopiiri name in English (Health care districts)
NUTS 2016 classification code (level 1)
NUTS 2016 classification name in Finnish (level 1)
NUTS 2016 classification name in Swedish (level 1)
NUTS 2016 classification name in English (level 1)
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 2)
NUTS 2016 classification name in Swedish (level 2)
nuts2_name_en
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 3)
NUTS 2016 classification name in Swedish (level 3)
NUTS 2016 classification name in English (level 3)
Työssäkäyntialue code
Työssäkäyntialue name in Finnish
Vaalipiiri code (Constituencies)
Vaalipiiri name in Finnish (Constituencies)
Vaalipiiri name in Swedish (Constituencies)
Vaalipiiri name in English (Constituencies)
Municipality code
Municipality name in Finnish
Municipality name in Finnish
Municipality name in Finnish
Sairaanhoidon erityisvastuualueen code (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Finnish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Swedish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in English (Catchment areas for highly specialised medical care)
Hyvinvointialue name in Finnish (Wellbeing services counties)
Hyvinvointialue name in Swedish (Wellbeing services counties)
Hyvinvointialue name in English (Wellbeing services counties)
Hyvinvointialue code (Wellbeing services counties)
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2020
municipality_key_2020
A data frame with 310 rows and 67 variables:
Municipality code
Municipality name in Finnish
Municipality name in Swedish
Municipality name in English
Tilastollinen kuntaryhmitys (Statistical grouping) code
Tilastollinen kuntaryhmitys (Statistical grouping) name in Finnish
Tilastollinen kuntaryhmitys (Statistical grouping) name in Swedish
Tilastollinen kuntaryhmitys (Statistical grouping) name in English
Aluehallintovirasto code (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Elinkeino-, liikenne- ja ympäristökeskuksen code (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Finnish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Swedish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in English (Centre for Economic Development, Transport and the Environment)
Maakunta code (Regions of Finland)
Maakunta name in Finnish (Regions of Finland)
Maakunta name in Swedish (Regions of Finland)
Maakunta name in English (Regions of Finland)
Kielisuhde code (Language distribution 2020)
Kielisuhde name in Finnish (Language distribution 2020)
Kielisuhde name in Swedish (Language distribution 2020)
Kielisuhde name in English (Language distribution 2020)
Seutukunta code (Sub-regions of Finland)
Seutukunta name in Finnish (Sub-regions of Finland)
Seutukunta name in Swedish (Sub-regions of Finland)
Seutukunta name in English (Sub-regions of Finland)
data year
Suuralue code
Suuralueen nimi in Finnish (Large Areas)
Suuralueen nimi in Swedish (Large Areas)
Suuralueen nimi in English (Large Areas)
Sairaanhoitopiiri code (Health care districts)
Sairaanhoitopiiri name in Finnish (Health care districts)
Sairaanhoitopiiri name in Swedish (Health care districts)
Sairaanhoitopiiri name in English (Health care districts)
NUTS 2016 classification code (level 1)
NUTS 2016 classification name in Finnish (level 1)
NUTS 2016 classification name in Swedish (level 1)
NUTS 2016 classification name in English (level 1)
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 2)
NUTS 2016 classification name in Swedish (level 2)
nuts2_name_en
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 3)
NUTS 2016 classification name in Swedish (level 3)
NUTS 2016 classification name in English (level 3)
Työssäkäyntialue code
Työssäkäyntialue name in Finnish
Vaalipiiri code (Constituencies)
Vaalipiiri name in Finnish (Constituencies)
Vaalipiiri name in Swedish (Constituencies)
Vaalipiiri name in English (Constituencies)
Municipality code
Municipality name in Finnish
Municipality name in Finnish
Municipality name in Finnish
Sairaanhoidon erityisvastuualueen code (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Finnish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Swedish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in English (Catchment areas for highly specialised medical care)
Hyvinvointialue name in Finnish (Wellbeing services counties)
Hyvinvointialue name in Swedish (Wellbeing services counties)
Hyvinvointialue name in English (Wellbeing services counties)
Hyvinvointialue code (Wellbeing services counties)
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2021
municipality_key_2021
A data frame with 309 rows and 67 variables:
Municipality code
Municipality name in Finnish
Municipality name in Swedish
Municipality name in English
Tilastollinen kuntaryhmitys (Statistical grouping) code
Tilastollinen kuntaryhmitys (Statistical grouping) name in Finnish
Tilastollinen kuntaryhmitys (Statistical grouping) name in Swedish
Tilastollinen kuntaryhmitys (Statistical grouping) name in English
Aluehallintovirasto code (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Elinkeino-, liikenne- ja ympäristökeskuksen code (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Finnish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Swedish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in English (Centre for Economic Development, Transport and the Environment)
Maakunta code (Regions of Finland)
Maakunta name in Finnish (Regions of Finland)
Maakunta name in Swedish (Regions of Finland)
Maakunta name in English (Regions of Finland)
Kielisuhde code (Language distribution 2020)
Kielisuhde name in Finnish (Language distribution 2020)
Kielisuhde name in Swedish (Language distribution 2020)
Kielisuhde name in English (Language distribution 2020)
Seutukunta code (Sub-regions of Finland)
Seutukunta name in Finnish (Sub-regions of Finland)
Seutukunta name in Swedish (Sub-regions of Finland)
Seutukunta name in English (Sub-regions of Finland)
data year
Suuralue code
Suuralueen nimi in Finnish (Large Areas)
Suuralueen nimi in Swedish (Large Areas)
Suuralueen nimi in English (Large Areas)
Sairaanhoitopiiri code (Health care districts)
Sairaanhoitopiiri name in Finnish (Health care districts)
Sairaanhoitopiiri name in Swedish (Health care districts)
Sairaanhoitopiiri name in English (Health care districts)
NUTS 2016 classification code (level 1)
NUTS 2016 classification name in Finnish (level 1)
NUTS 2016 classification name in Swedish (level 1)
NUTS 2016 classification name in English (level 1)
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 2)
NUTS 2016 classification name in Swedish (level 2)
nuts2_name_en
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 3)
NUTS 2016 classification name in Swedish (level 3)
NUTS 2016 classification name in English (level 3)
Työssäkäyntialue code
Työssäkäyntialue name in Finnish
Vaalipiiri code (Constituencies)
Vaalipiiri name in Finnish (Constituencies)
Vaalipiiri name in Swedish (Constituencies)
Vaalipiiri name in English (Constituencies)
Municipality code
Municipality name in Finnish
Municipality name in Finnish
Municipality name in Finnish
Sairaanhoidon erityisvastuualueen code (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Finnish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Swedish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in English (Catchment areas for highly specialised medical care)
Hyvinvointialue name in Finnish (Wellbeing services counties)
Hyvinvointialue name in Swedish (Wellbeing services counties)
Hyvinvointialue name in English (Wellbeing services counties)
Hyvinvointialue code (Wellbeing services counties)
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2022
municipality_key_2022
A data frame with 309 rows and 73 variables:
Municipality code
Municipality name in Finnish
Municipality name in Swedish
Municipality name in English
Tilastollinen kuntaryhmitys (Statistical grouping) code
Tilastollinen kuntaryhmitys (Statistical grouping) name in Finnish
Tilastollinen kuntaryhmitys (Statistical grouping) name in Swedish
Tilastollinen kuntaryhmitys (Statistical grouping) name in English
Aluehallintovirasto code (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Elinkeino-, liikenne- ja ympäristökeskuksen code (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Finnish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Swedish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in English (Centre for Economic Development, Transport and the Environment)
Maakunta code (Regions of Finland)
Maakunta name in Finnish (Regions of Finland)
Maakunta name in Swedish (Regions of Finland)
Maakunta name in English (Regions of Finland)
Kielisuhde code (Language distribution 2020)
Kielisuhde name in Finnish (Language distribution 2020)
Kielisuhde name in Swedish (Language distribution 2020)
Kielisuhde name in English (Language distribution 2020)
Seutukunta code (Sub-regions of Finland)
Seutukunta name in Finnish (Sub-regions of Finland)
Seutukunta name in Swedish (Sub-regions of Finland)
Seutukunta name in English (Sub-regions of Finland)
data year
Suuralue code
Suuralueen nimi in Finnish (Large Areas)
Suuralueen nimi in Swedish (Large Areas)
Suuralueen nimi in English (Large Areas)
Sairaanhoitopiiri code (Health care districts)
Sairaanhoitopiiri name in Finnish (Health care districts)
Sairaanhoitopiiri name in Swedish (Health care districts)
Sairaanhoitopiiri name in English (Health care districts)
NUTS 2016 classification code (level 1)
NUTS 2016 classification name in Finnish (level 1)
NUTS 2016 classification name in Swedish (level 1)
NUTS 2016 classification name in English (level 1)
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 2)
NUTS 2016 classification name in Swedish (level 2)
nuts2_name_en
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 3)
NUTS 2016 classification name in Swedish (level 3)
NUTS 2016 classification name in English (level 3)
Vaalipiiri code (Constituencies)
Vaalipiiri name in Finnish (Constituencies)
Vaalipiiri name in Swedish (Constituencies)
Vaalipiiri name in English (Constituencies)
Municipality code
Municipality name in Finnish
Municipality name in Finnish
Municipality name in Finnish
Sairaanhoidon erityisvastuualueen code (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Finnish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in Swedish (Catchment areas for highly specialised medical care)
Sairaanhoidon erityisvastuualueen name in English (Catchment areas for highly specialised medical care)
Työssäkäyntialue code
Työssäkäyntialue name in Finnish
Työssäkäyntialue name in Swedish
Työssäkäyntialue name in English
Hyvinvointialue name in Finnish (Wellbeing services counties)
Hyvinvointialue name in Swedish (Wellbeing services counties)
Hyvinvointialue name in English (Wellbeing services counties)
Hyvinvointialue code (Wellbeing services counties)
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2023
municipality_key_2023
A data frame with 309 rows and 74 variables:
Municipality code
Municipality name in Finnish
Municipality name in Swedish
Municipality name in English
Tilastollinen kuntaryhmitys (Statistical grouping) code
Tilastollinen kuntaryhmitys (Statistical grouping) name in Finnish
Tilastollinen kuntaryhmitys (Statistical grouping) name in Swedish
Tilastollinen kuntaryhmitys (Statistical grouping) name in English
Aluehallintovirasto code (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Elinkeino-, liikenne- ja ympäristökeskuksen code (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Finnish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Swedish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in English (Centre for Economic Development, Transport and the Environment)
Maakunta code (Regions of Finland)
Maakunta name in Finnish (Regions of Finland)
Maakunta name in Swedish (Regions of Finland)
Maakunta name in English (Regions of Finland)
Kielisuhde code (Language distribution 2020)
Kielisuhde name in Finnish (Language distribution 2020)
Kielisuhde name in Swedish (Language distribution 2020)
Kielisuhde name in English (Language distribution 2020)
Seutukunta code (Sub-regions of Finland)
Seutukunta name in Finnish (Sub-regions of Finland)
Seutukunta name in Swedish (Sub-regions of Finland)
Seutukunta name in English (Sub-regions of Finland)
data year
Suuralue code
Suuralueen nimi in Finnish (Large Areas)
Suuralueen nimi in Swedish (Large Areas)
Suuralueen nimi in English (Large Areas)
NUTS 2016 classification code (level 1)
NUTS 2016 classification name in Finnish (level 1)
NUTS 2016 classification name in Swedish (level 1)
NUTS 2016 classification name in English (level 1)
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 2)
NUTS 2016 classification name in Swedish (level 2)
nuts2_name_en
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 3)
NUTS 2016 classification name in Swedish (level 3)
NUTS 2016 classification name in English (level 3)
Vaalipiiri code (Constituencies)
Vaalipiiri name in Finnish (Constituencies)
Vaalipiiri name in Swedish (Constituencies)
Vaalipiiri name in English (Constituencies)
Municipality code
Municipality name in Finnish
Municipality name in Finnish
Municipality name in Finnish
Sosiaali- ja terveydenhuollon yhteistyöalueiden koodi (Collaborative areas for healthcare and social welfare codes)
Sosiaali- ja terveydenhuollon yhteistyöalueet
Samarbetsområden för social- och hälsovården
Collaborative areas for healthcare and social welfare
Työssäkäyntialue code
Työssäkäyntialue name in Finnish
Työssäkäyntialue name in Swedish
Työssäkäyntialue name in English
Hyvinvointialue name in Finnish (Wellbeing services counties)
Hyvinvointialue name in Swedish (Wellbeing services counties)
Hyvinvointialue name in English (Wellbeing services counties)
Hyvinvointialue code (Wellbeing services counties)
https://data.stat.fi/api/classifications/v2/classifications
Table for aggregating municipality level data to various regional groupings
municipality_key_2024
municipality_key_2024
A data frame with 309 rows and 65 variables:
Municipality code
Municipality name in Finnish
Municipality name in Swedish
Municipality name in English
Tilastollinen kuntaryhmitys (Statistical grouping) code
Tilastollinen kuntaryhmitys (Statistical grouping) name in Finnish
Tilastollinen kuntaryhmitys (Statistical grouping) name in Swedish
Tilastollinen kuntaryhmitys (Statistical grouping) name in English
Aluehallintovirasto code (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Aluehallintovirasto name in Finnish (Regional State Administrative Agencies)
Elinkeino-, liikenne- ja ympäristökeskuksen code (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Finnish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in Swedish (Centre for Economic Development, Transport and the Environment)
Elinkeino-, liikenne- ja ympäristökeskuksen name in English (Centre for Economic Development, Transport and the Environment)
Maakunta code (Regions of Finland)
Maakunta name in Finnish (Regions of Finland)
Maakunta name in Swedish (Regions of Finland)
Maakunta name in English (Regions of Finland)
Seutukunta code (Sub-regions of Finland)
Seutukunta name in Finnish (Sub-regions of Finland)
Seutukunta name in Swedish (Sub-regions of Finland)
Seutukunta name in English (Sub-regions of Finland)
data year
Suuralue code
Suuralueen nimi in Finnish (Large Areas)
Suuralueen nimi in Swedish (Large Areas)
Suuralueen nimi in English (Large Areas)
NUTS 2016 classification code (level 1)
NUTS 2016 classification name in Finnish (level 1)
NUTS 2016 classification name in Swedish (level 1)
NUTS 2016 classification name in English (level 1)
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 2)
NUTS 2016 classification name in Swedish (level 2)
nuts2_name_en
NUTS 2016 classification code (level 2)
NUTS 2016 classification name in Finnish (level 3)
NUTS 2016 classification name in Swedish (level 3)
NUTS 2016 classification name in English (level 3)
Vaalipiiri code (Constituencies)
Vaalipiiri name in Finnish (Constituencies)
Vaalipiiri name in Swedish (Constituencies)
Vaalipiiri name in English (Constituencies)
Municipality code
Municipality name in Finnish
Municipality name in Finnish
Municipality name in Finnish
Sosiaali- ja terveydenhuollon yhteistyöalueiden koodi (Collaborative areas for healthcare and social welfare codes)
Sosiaali- ja terveydenhuollon yhteistyöalueet
Samarbetsområden för social- och hälsovården
Collaborative areas for healthcare and social welfare
Kelan vakuutuspiiri name in Finnish (Insurance District)
Kelan vakuutuspiiri unofficial code (Insurance District)
Kelan vakuutuspiiri name in Swedish (Insurance District)
Kelan vakuutuspiiri name in English (Insurance District)
Kelan asumistuen kuntaryhmät name in Finnish (Municipality categories for housing allowance)
Kelan asumistuen kuntaryhmät unofficial code (Municipality categories for housing allowance)
Kelan asumistuen kuntaryhmät name in Swedish (Municipality categories for housing allowance)
Kelan asumistuen kuntaryhmät name in English (Municipality categories for housing allowance)
Kielisuhde code (Language distribution 2024)
Kielisuhde name in Finnish (Language distribution 2024)
Kielisuhde name in Swedish (Language distribution 2024)
Kielisuhde name in English (Language distribution 2024)
Hyvinvointialue name in Finnish (Wellbeing services counties)
Hyvinvointialue name in Swedish (Wellbeing services counties)
Hyvinvointialue name in English (Wellbeing services counties)
Hyvinvointialue code (Wellbeing services counties)
https://data.stat.fi/api/classifications/v2/classifications
This dataset contains population data at municipality level pulled from THL (Sotkanet) from 2000 to 2022
sotkadata_population
sotkadata_population
A data frame with 7107 rows and 3 variables:
municipality_code
primary.value
year
This dataset contains Swedish speaking population figures at municipality level pulled from THL (Sotkanet) from 2000 to 2022
sotkadata_swedish_speaking_pop
sotkadata_swedish_speaking_pop
A data frame with 5761 rows and 3 variables:
municipality_code
indicator.title.fi
primary.value
This dataset contains population for each zipcode in Finland. Data is downloaded from Statistics Finland
statfi_zipcode_population
statfi_zipcode_population
A data frame with 3027 rows and 2 variables:
posti_alue
X2022
Statistics Finland WFS API response object's XML (GML) content is temporarily written on disk and then immediately read back in into a sf object.
to_sf(api_obj)
to_sf(api_obj)
api_obj |
wfs api object |
sf object
For internal use, not exported.
Joona Lehtomäki [email protected]
Requests to various WFS API.
wfs_api(base_url = "http://geo.stat.fi/geoserver/wfs", queries)
wfs_api(base_url = "http://geo.stat.fi/geoserver/wfs", queries)
base_url |
string Api base url |
queries |
list List of query parameters |
Make a request to the spesific WFS API. The base url is http://geo.stat.fi/geoserver/wfs to which other components defined by the arguments are appended.
This is a low-level function intended to be used by other higher level functions in the package.
Note that GET requests are used using httpcache
meaning that requests
are cached. If you want clear cache, use httpcache::clearCache()
. To turn
the cache off completely, use httpcache::cacheOff()
wfs_api (S3) object with the following attributes:
XML payload.
path provided to get the resonse.
the original response object.
Joona Lehtomäki [email protected]
wfs_api(base_url = "http://geo.stat.fi/geoserver/wfs", queries = append(list("service" = "WFS", "version" = "1.0.0"), list(request = "getFeature", layer = "tilastointialueet:kunta4500k_2017")))
wfs_api(base_url = "http://geo.stat.fi/geoserver/wfs", queries = append(list("service" = "WFS", "version" = "1.0.0"), list(request = "getFeature", layer = "tilastointialueet:kunta4500k_2017")))