sf_recode_ex_munic: Replace codes of abolished municipalities with present codes

View source: R/sf_ex_munic.R

sf_recode_ex_municR Documentation

Replace codes of abolished municipalities with present codes

Description

Replace codes of abolished municipalities with present codes

Usage

sf_recode_ex_munic(x, year = NULL, mcodes = sf_get_ex_munic())

Arguments

x

a vector of municipal codes to replace.

year

a year which codes should be used for new codes. Changes up to 1.1. at that year. 'NULL' (the default) uses the most up to date codes is mcodes.

mcodes

a data.frame in form given by sf_get_ex_munic.


pttry/statfitools documentation built on Feb. 2, 2025, 1:50 a.m.