grapes-cbsa_in_z-grapes: CBSA Addresses in Zip Addresses?

%cbsa_in_z%R Documentation

CBSA Addresses in Zip Addresses?

Description

To use this function, the HUD_KEY system environment variable must be set first: use hud_set_key("the_key") to do this.

Given cbsa(s) and zip(s), determine if they overlap using the crosswalk files. Overlap will be described if any residential, business, other, or total addresses reside in both.

This means that it is possible that certain geoids(lhs) are not counted even though their boundaries intersect the queried geoids(rhs). This is likely because addresses do not lie in their intersecting region.

Infix operators default to most recent year and quarter of which the crosswalk files are available. For modifying the year and quarter parameter, take a look at their non-infix versions.

Usage

cbsa %cbsa_in_z% zip

Arguments

cbsa

The cbsa(s) to determine overlap with zip(s).

zip

The zip(s) to determine overlap with cbsa(s).

Value

If cbsa(s) exist in the zip(s) specified, then TRUE is returned.

Examples

## Not run: 

43340 %cbsa_in_z% 71052


## End(Not run)

etam4260/rhud documentation built on Nov. 12, 2022, 2:53 a.m.