Skip to contents

Get the geographical codes registered in geo-database which consist of old and new codes that are applicable to the respective year.

Usage

get_geo_recode(
  con = NULL,
  type = c("grunnkrets", "fylke", "kommune", "bydel"),
  year = NULL
)

Arguments

con

Connection to database

type

The geographical granularity to recode

year

Which year the geograhical codes to be recoded to. If it is empty then global option for orgdata.year will be used.

Value

A dataset with columns GEO and to representing the GEO codes that will be recoded to a new code ie. to.

See also

Other geo recode functions: do_geo_recode(), do_recode_without_aggregate()