View source: R/acs_5yr_download.R
get_code_from_area_name | R Documentation |
Obtain the code that appears in the name of the file associated with the area.
get_code_from_area_name(ac, area)
## S3 method for class 'acs_5yr'
get_code_from_area_name(ac, area)
ac |
An |
area |
A string, area name. |
A vector, area code.
Other information functions:
get_name_from_area_code()
dir <- system.file("extdata/acs_5yr", package = "geogenr")
ac <- acs_5yr(dir)
code <- ac |>
get_code_from_area_name(area = "State")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.