| get_areas {geogenr} | R Documentation | 
Get area names of a group
Description
Gets the names of the Demographic and Economic Areas of a group or set of groups.
Usage
get_areas(ac, group)
## S3 method for class 'acs_5yr'
get_areas(ac, group = NULL)
Arguments
ac | 
 An   | 
group | 
 A string, area group name.  | 
Details
If no group is indicated, all available areas are obtained.
Value
A vector, area names.
See Also
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()
Examples
dir <- system.file("extdata/acs_5yr", package = "geogenr")
ac <- acs_5yr(dir)
areas <- ac |>
  get_areas(group = "Statistical Areas")
[Package geogenr version 2.0.1 Index]