R/town_funs.R
town_get_triad.Rd
Get the triad name or number based on township name or code. Cook County is split into three sections called triads. These triads are assessed every three years. Each town lies entirely within a single triad.
town_get_triad(town, name = FALSE)
Vector of township names or numeric codes. Township name must be title case to match correctly.
Default FALSE. Output triad name instead of triad number.
Vector of triad numbers for the input townships. Returns NA for towns that cannot be found.
town_get_triad("Evanston")
#> [1] "2"
town_get_triad(c("Lyons", "10", "Worth"))
#> [1] "3" "2" "3"