50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

crunch (version 1.18.0)

addGeoMetadata: Add geodata metadata to a crunch variable

Description

Add geodata metadata to a crunch variable

Usage

addGeoMetadata(variable)

Arguments

variable

a Crunch variable to use for matching. This must be either a text or a categorical variable.

Value

a CrunchGeography object that can be assigned into geo(variable)

Examples

Run this code
# NOT RUN {
geo(ds$state) <- addGeoMetadata("state", data=ds)
# }

Run the code above in your browser using DataLab