
Returns GEOID for 2020 geographies.
append_geoid(address, geoid_type = "block")
the original tibble with GEOIDs appended as a new column called
geoid
.
A tibble/data frame with (at a minimum, others can be present) either character columns street, city, and state OR numeric columns lat and lon. Lat/lon columns take priority.
GEOID level to return, c('county', 'tract', 'block group', 'block')
.
Defaults to block.
Josie Kressner, josie@transportfoundry.com
if (FALSE) {
airports <- dplyr::data_frame(
street = "700 Catalina Dr", city = "Daytona Beach", state = "FL"
)
append_geoid(airports, 'tract')
}
Run the code above in your browser using DataLab