View source: R/join.geo.to.tablist.R
join.geo.to.tablist | R Documentation |
Read the processed csv files of estimates and MOE (margin of error) for American Community Survey (ACS) 5-year summary file data obtained from US Census FTP site, and join with geographic information from geo file.
join.geo.to.tablist(
mygeo,
my.list.of.tables,
save.csv = FALSE,
sumlevel = "both",
folder = getwd(),
testing = FALSE,
end.year = acsdefaultendyearhere_func()
)
mygeo |
Required geo file. See |
my.list.of.tables |
List of data tables resulting from prior steps in |
save.csv |
FALSE by default. Specifies whether to save each data table as csv format file. |
sumlevel |
Default is "both", specifies if "tracts" or "blockgroups" or "both" should be used. |
folder |
Default is current working directory. |
testing |
Default is FALSE. If TRUE, prints more information. |
end.year |
Default is "" – used in naming file if save.csv=TRUE |
Returns a list of data.frames, where each element of the list is one ACS table, such as table B01001.
get.acs()
and get.read.geo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.