Skip to contents

Some of the downloaded enumeration area codes from SSB lack codes for missing ie. xxxx9999. This function create these codes that are needed for recoding older codes to current enumeration area codes.

Usage

get_geo_dummy(dt, from, to, type, fix = TRUE)

Arguments

dt

Downloaded data with norgeo::track_change()

from

Starting year for the range period. Current year is the default if left empty

to

End of year for the range period. Current year is the default if left empty

type

Type of regional granularity ie. enumeration area (grunnkrets)

fix

Default is TRUE. Use external codes to fix geo changes manually. The codes is sourced from config files depending on the granularity levels.

See also

Other geo codes functions: geo_map(), geo_recode()