Skip to contents

Download TIGER shapes for states

Usage

tt_states(year = 2024)

Arguments

year

Integer year. Required. 2000 and 2010-2022 are currently supported.

Value

sf data.frame

Examples

# Wrapped in try due to false positive 304 errors
try(tt_states())
#> Simple feature collection with 56 features and 15 fields
#> Geometry type: MULTIPOLYGON
#> Dimension:     XY
#> Bounding box:  xmin: -179.2311 ymin: -14.60181 xmax: 179.8597 ymax: 71.43979
#> Geodetic CRS:  NAD83
#> # A tibble: 56 × 16
#>    REGION DIVISION STATEFP STATENS  GEOID GEOIDFQ     STUSPS NAME    LSAD  MTFCC
#>    <chr>  <chr>    <chr>   <chr>    <chr> <chr>       <chr>  <chr>   <chr> <chr>
#>  1 3      5        54      01779805 54    0400000US54 WV     West V… 00    G4000
#>  2 3      5        12      00294478 12    0400000US12 FL     Florida 00    G4000
#>  3 2      3        17      01779784 17    0400000US17 IL     Illino… 00    G4000
#>  4 2      4        27      00662849 27    0400000US27 MN     Minnes… 00    G4000
#>  5 3      5        24      01714934 24    0400000US24 MD     Maryla… 00    G4000
#>  6 1      1        44      01219835 44    0400000US44 RI     Rhode … 00    G4000
#>  7 4      8        16      01779783 16    0400000US16 ID     Idaho   00    G4000
#>  8 1      1        33      01779794 33    0400000US33 NH     New Ha… 00    G4000
#>  9 3      5        37      01027616 37    0400000US37 NC     North … 00    G4000
#> 10 1      1        50      01779802 50    0400000US50 VT     Vermont 00    G4000
#> # ℹ 46 more rows
#> # ℹ 6 more variables: FUNCSTAT <chr>, ALAND <dbl>, AWATER <dbl>,
#> #   INTPTLAT <chr>, INTPTLON <chr>, geometry <MULTIPOLYGON [°]>