Learn R Programming

geogenr (version 2.0.1)

get_area_groups: 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 acs_5yr get_area_groups(ac)

Value

A vector, area group names.

Arguments

ac

An acs_5yr object.

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

Run this code

dir <- system.file("extdata/acs_5yr", package = "geogenr")
ac <- acs_5yr(dir)

groups <- ac |>
  get_area_groups()

Run the code above in your browser using DataLab