Skip to contents

Get the years for which data has been found to be available for an area.

Usage

get_area_years(ac, area)

# S3 method for acs_5yr
get_area_years(ac, area)

Arguments

ac

An acs_5yr object.

area

A string, area name.

Value

A vector, area years.

Examples


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

years <- ac |>
  get_area_years(area = "State")