View source: R/acs_5yr_download.R
get_areas | R Documentation |
Gets the names of the Demographic and Economic Areas of a group or set of groups.
get_areas(ac, group)
## S3 method for class 'acs_5yr'
get_areas(ac, group = NULL)
ac |
An |
group |
A string, area group name. |
If no group is indicated, all available areas are obtained.
A vector, area names.
Other data download functions:
acs_5yr()
,
download_selected_files()
,
get_area_file_names()
,
get_area_groups()
,
get_area_years()
,
get_selected_file_names()
,
get_too_heavy_file_names()
,
select_area_files()
,
unzip_files()
dir <- system.file("extdata/acs_5yr", package = "geogenr")
ac <- acs_5yr(dir)
areas <- ac |>
get_areas(group = "Statistical Areas")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.