Learn R Programming

sorvi (version 0.8.21)

get_municipalities: Select Municipalities by Year

Description

From a larger dataset containing historical municipalities, pick a certain year and return an output that contains the most recent information on each municipality.

Usage

get_municipalities(year = 2002, type = "data.frame")

Value

a data.frame or sf object

Arguments

year

a year between 1865-2020

type

either "data.frame" or "sf"

Author

Pyry Kantanen

Details

See dataset "kunnat1865_2021"