View source: R/search_fips_cbsa.R
search_cbsa | R Documentation |
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.
search_cbsa(keywords = NULL, view = TRUE)
keywords |
keywords to be searched. |
view |
display the search result with View if TRUE. |
Quite often, multiple rows are returned. It is necessary to hand pick the right one you are really looking for.
A data.table
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.