Learn R Programming

norgeo (version 2.3.1)

track_split: Get geo code that are split after code change

Description

Get geo code that are split after code change

Usage

track_split(
  type = c("fylke", "kommune", "bydel", "grunnkrets"),
  from = NULL,
  to = NULL,
  names = TRUE
)

Value

Dataset of class data.table with column split showing the number of time the codes have been split to

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

Examples

Run this code
 dt <- track_split("kommune", 2018, 2020)

Run the code above in your browser using DataLab