Get geo code that are merged after code change
Usage
track_merge(
type = c("fylke", "okonomisk", "kommune", "bydel", "levekaar", "grunnkrets"),
from = NULL,
to = NULL,
names = TRUE
)
Arguments
- type
Type of regional granularity ie. fylke, kommune etc.
- from
Specify the starting year for range period. Current year is the
default.
- to
Specify the year to end the range period. Current year is used when
not specified.
- names
Include names. Default is TRUE
Value
Dataset of class data.table
with column merge
showing the number
of time the codes have been merged into
Examples
dt <- track_merge("kommune", 2018, 2020)
#> Please check splitting geo codes with `track_split()` for possible error
#> Use `fix = TRUE` to implement the way we do it in our work. Please read the documentation