search_cbsa: Search Core Based Statistical Area (CBSA)

View source: R/search_fips_cbsa.R

search_cbsaR Documentation

Search Core Based Statistical Area (CBSA)

Description

Search CBSA code of Core Based Statistical Area in dataset dict_cbsa. The search also returns which CSA (Combined Statistical Area) that contains the CBSA. If the CBSA contains multiple counties, each county is returned as a row.

Usage

search_cbsa(keywords = NULL, view = TRUE)

Arguments

keywords

keywords to be searched.

view

display the search result with View if TRUE.

Details

Quite often, multiple rows are returned. It is necessary to hand pick the right one you are really looking for.

Value

A data.table

Examples

# Change view = TRUE (default) to View the returned data.
aaa <- search_cbsa("providence", view = FALSE)

bbb <- search_cbsa("new york", view = FALSE)

## Not run: 
  # view all CBSA code
  search_cbsa()

## End(Not run)



GL-Li/totalcensus documentation built on Jan. 30, 2024, 9:07 p.m.