get.url.prefix: Get URL prefix for folder(s) with ACS 5-year summary file...

View source: R/get.url.prefix.R

get.url.prefixR Documentation

Get URL prefix for folder(s) with ACS 5-year summary file data

Description

Returns part of URL of folders (on Census Bureau site) with zip file(s) based on end year.

Usage

get.url.prefix(end.year = acsdefaultendyearhere_func())

Arguments

end.year

Optional end year for 5-year summary file, as character, but ignored if url.prefix is specified

Value

Returns character vector that is first part of URL such as # 1 "https://www2.census.gov/programs-surveys/acs/summary_file/2021/data/5_year_seq_by_state/2020/Tracts_Block_Groups_Only" https://www2.census.gov/programs-surveys/acs/summary_file/2021/sequence-based-SF/data/5_year_seq_by_state/Delaware/Tracts_Block_Groups_Only "ftp://ftp.census.gov/acs2012_5yr/summaryfile/2008-2012_ACSSF_By_State_By_Sequence_Table_Subset"

See Also

get.acs(), url.to.find.zipfile(), download.geo()

Examples

browseURL(get.url.prefix(2022))


ejanalysis/ACSdownload documentation built on Jan. 18, 2025, 7:43 a.m.