View source: R/acs_5yr_download.R
select_area_files | R Documentation |
Select area files for the given years. If no year is indicated, all available ones are selected.
select_area_files(ac, area, years)
## S3 method for class 'acs_5yr'
select_area_files(ac, area, years = NULL)
ac |
An |
area |
A string, area name. |
years |
A vector, year number. |
An acs_5yr
object.
Other data download functions:
acs_5yr()
,
download_selected_files()
,
get_area_file_names()
,
get_area_groups()
,
get_area_years()
,
get_areas()
,
get_selected_file_names()
,
get_too_heavy_file_names()
,
unzip_files()
dir <- system.file("extdata/acs_5yr", package = "geogenr")
ac <- acs_5yr(dir)
ac <- ac |>
select_area_files("State", 2019:2021)
ac <- ac |>
select_area_files("State")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.