View source: R/hud_geo_is_in_geo.R
z_in_cbsadiv | R Documentation |
Given zip code(s) and cbsadiv(s), determine if they overlap using the (United States Postal Service) USPS Crosswalk files. Overlap will be described if any residential, business, other, or total addresses reside in both.
z_in_cbsadiv(zip, cbsadiv, year, quarter, key = Sys.getenv("HUD_KEY"))
zip |
A character or numeric vector: the zip(s) to determine overlap with cbsadiv(s). |
cbsadiv |
A character or numeric vector: the cbsadiv(s) to determine overlap with zip(s). |
year |
A character or numeric vector: gets the year that this data was recorded. Can specify multiple years. Default is the previous year. |
quarter |
A character or numeric vector: gets the quarter of the year that this data was recorded. Defaults to the first quarter of the year. |
key |
A character vector of length one: the API key for this user. You must go to HUD and sign up for an account and request for an API key. |
If zip(s) exist in the cbsadiv(s) specified, then TRUE is returned.
z_in_trt()
z_in_cty()
z_in_cbsa()
z_in_cbsadiv()
z_in_ctysb()
z_in_cd
trt_in_z()
cty_in_z()
cbsa_in_z()
cbsadiv_in_z()
cd_in_z()
ctysb_in_z()
## Not run: z_in_cbsadiv(zip = 71052, cbsadiv = 43340, year = 2017, quarter = 4) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.