cast_geo: Cast geo granularity from API

View source: R/cast-geo.R

cast_geoR Documentation

Cast geo granularity from API

Description

Add geo granularity levels to all sides

Usage

cast_geo(year = NULL, names = TRUE)

Arguments

year

Which year the codes are valid from. If NULL then current year will be selected.

names

Include names. Default is TRUE

Value

A dataset of class data.table representing the spreading of different geographical levels from lower to higher levels ie. from enumeration area codes to county codes, for the selected year.

Examples

 DT <- cast_geo(2019)

folkehelseprofil/norgeo documentation built on Oct. 19, 2024, 12:41 p.m.