get_municipalities {geofi} | R Documentation |
Get Finnish municipality (multi)polygons for different years and/or scales.
Description
Thin wrapper around Finnish zip code areas provided by Statistics Finland.
Usage
get_municipalities(year = 2024, scale = 4500, codes_as_character = FALSE)
Arguments
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. |
Value
sf object
Author(s)
Markus Kainu markus.kainu@kela.fi, Joona Lehtomäki joona.lehtomaki@iki.fi
Examples
## Not run:
f <- get_municipalities(year=2016, scale = 4500)
plot(f)
## End(Not run)
[Package geofi version 1.0.15 Index]