get_municipalities: Get Finnish municipality (multi)polygons for different years...

View source: R/get_municipalities.R

get_municipalitiesR 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 = 2023, 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 and 2023.

scale

A scale or resolution of the shape. Two options: 1000 equals 1:1 000 000 and 4500 equals 1:4 500 000.

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)


geofi documentation built on Nov. 2, 2023, 5:54 p.m.