Skip to contents

get s2_geography for census states

Usage

tiger_states(year)

Arguments

year

vintage of TIGER/Line block group geography files

Value

a tibble with GEOID and s2_geography columns

Examples

tiger_states(year = "2022")
#> # A tibble: 56 × 2
#>    GEOID s2_geography                                                           
#>  * <chr> <s2_geography>                                                         
#>  1 54    POLYGON ((-77.754491 39.333491, -77.75477 39.333564, -77.755728 39.333…
#>  2 12    MULTIPOLYGON (((-83.108914 24.611086, -83.107532 24.597996, -83.106113…
#>  3 17    POLYGON ((-87.890943 38.283384, -87.889059 38.284378, -87.888223 38.28…
#>  4 27    POLYGON ((-95.328669 48.998935, -95.339996 48.998953, -95.351322 48.99…
#>  5 24    POLYGON ((-75.756947 39.257786, -75.756969 39.258067, -75.756999 39.25…
#>  6 44    MULTIPOLYGON (((-71.678302 41.148904, -71.676092 41.141502, -71.672644…
#>  7 16    POLYGON ((-116.372438 49.000415, -116.396825 49.00032, -116.428668 49.…
#>  8 33    POLYGON ((-70.838799 43.244589, -70.838799 43.244666, -70.838768 43.24…
#>  9 37    POLYGON ((-77.899887 36.544597, -77.900124 36.544601, -77.900487 36.54…
#> 10 50    POLYGON ((-72.041956 44.156631, -72.04214 44.15659, -72.042431 44.1565…
#> # ℹ 46 more rows