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

## Not run: 
 DT <- cast_geo(2020)

## End(Not run)

norgeo documentation built on Aug. 15, 2023, 5:06 p.m.