Learn R Programming

norgeo (version 2.3.1)

cast_geo: Cast geo granularity from API

Description

Add geo granularity levels to all sides

Usage

cast_geo(year = NULL, names = 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.

Arguments

year

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

names

Include names. Default is TRUE

Examples

Run this code
if (FALSE) {
 DT <- cast_geo(2020)
}

Run the code above in your browser using DataLab