I am looking to download land area (e.g. square meters) data for U.S. counties from the U.S. Census Bureau. I can't seem to find this data on the census website. Has anyone been able to find this data in the past?
On the TIGERweb site, I found the data that I am looking for, but it is broken down by state. Ideally, I'd be able to download the data for all counties in a single file.
https://tigerweb.geo.census.gov/tigerwebmain/TIGERweb2020_counties_census2010.html
Thanks for the help!
I have tried various searches on the U.S. Census website but have not had any luck finding land area data.
You can get this data from the U.S. Census Bureau: Gazetteer Files > Counties: https://www.census.gov/geographies/reference-files/time-series/geo/gazetteer-files.html
Click "Download the National Counties Gazetteer File" to download the zip file, and uncompress it to get a (tab-delineated) table containing information about all counties (or county-equivalent areas) for all 50 states, District of Columbia, and Puerto Rico. See columns ALAND_SQMI and AWATER_SQMI for the land and water area respectively (in square miles).
Or, if you're on linux (or macOS), download the specific file (at least as of today, 2023-07-31) in a few lines:
Then if you want to just have simple data frame with the area of each county, in R (since you tagged this with R):
Now
df_selecthas the info you want. Here's the first 6 rows (printed withhead(df_select)) to demonstrate: