get_area_groups {geogenr}R Documentation

Get area groups

Description

Gets the names of the Demographic and Economic Area Groups where data is available.

Usage

get_area_groups(ac)

## S3 method for class 'acs_5yr'
get_area_groups(ac)

Arguments

ac

An acs_5yr object.

Value

A vector, area group names.

See Also

Other data download functions: acs_5yr(), download_selected_files(), get_area_file_names(), get_area_years(), get_areas(), 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)

groups <- ac |>
  get_area_groups()


[Package geogenr version 2.0.1 Index]