provenance - Chris, I need some help with how we document these exports.

ia_counties

Format

A data frame with 99 rows and 9 variables:

co_number

county number

co_fips

three-digit county fips code

acres_sf

square footage in acres

acres

county acreage, same as `ACRES_SF``

fips

five-digit fips code

county

county name (and it's `Obrien`)

state

two letter state abbreviation (`IA` all the way through)

id

identifier same as `CO_FIPS`

census2010pop

US Census Bureau count of 2010 county population.

popestimate2019

US Census Bureau estimate of 2019 county population.

geometry

simple feature object of polygons

Source

some url?

Examples

# county map of iowa in ggplot2 library(ggplot2) library(dplyr) # for the pipe ia_counties %>% ggplot() + geom_sf(aes(fill = popestimate2019), colour = "grey80", size = 0.1) + ggthemes::theme_map() + theme(legend.position="right") + scale_fill_gradient("2019 Population\nEstimate", trans="log", low = "grey80", high="darkred")
# leaflet map library(leaflet) library(sf) ia_counties %>% group_by(county) %>% mutate( hovertext = htmltools::HTML(paste0(county, "<br>",popestimate2019)) ) %>% leaflet() %>% addTiles() %>% addPolygons(label=~hovertext)