This function retrieves and processes geographic data for US counties, including FIPS codes and GEOID information, to complement census data.
Value
A data frame containing US counties' complementary geographic data, including state and county names, FIPS codes, and GEOIDs.
Details
The function uses the tigris
package to fetch geographic data for states
and counties, processes the data to include relevant columns, and merges
state-level information with county-level data. The resulting data frame
contains information such as state names, state abbreviations, county names,
FIPS codes, and GEOIDs.
Examples
if (FALSE) { # \dontrun{
counties_data <- us_counties_geo_data()
head(counties_data)
} # }