Skip to contents

Download TIGER shapes for Places

Usage

tt_places(state, year = 2024)

Arguments

state

FIPS, postal codes, or full names of states.

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_places("DE")) # downloads slow on CRAN
#> Simple feature collection with 79 features and 16 fields
#> Geometry type: MULTIPOLYGON
#> Dimension:     XY
#> Bounding box:  xmin: -75.78901 ymin: 38.45121 xmax: -75.04871 ymax: 39.81891
#> Geodetic CRS:  NAD83
#> # A tibble: 79 × 17
#>    STATEFP PLACEFP PLACENS  GEOID   GEOIDFQ NAME  NAMELSAD LSAD  CLASSFP PCICBSA
#>  * <chr>   <chr>   <chr>    <chr>   <chr>   <chr> <chr>    <chr> <chr>   <chr>  
#>  1 10      01660   02391522 1001660 160000… Arde… Ardento… 47    C1      N      
#>  2 10      24020   02390169 1024020 160000… Elle… Ellenda… 43    C1      N      
#>  3 10      28310   02390189 1028310 160000… Fran… Frankfo… 43    C1      N      
#>  4 10      41700   02391267 1041700 160000… Leip… Leipsic… 43    C1      N      
#>  5 10      01530   02391521 1001530 160000… Arde… Ardencr… 47    C1      N      
#>  6 10      67310   02391416 1067310 160000… Smyr… Smyrna … 43    C1      N      
#>  7 10      50670   02390628 1050670 160000… Newa… Newark … 25    C1      N      
#>  8 10      31560   02390219 1031560 160000… Gree… Greenwo… 43    C1      N      
#>  9 10      47420   02390617 1047420 160000… Milf… Milford… 25    C1      N      
#> 10 10      47940   02391304 1047940 160000… Mill… Millsbo… 43    C1      N      
#> # ℹ 69 more rows
#> # ℹ 7 more variables: MTFCC <chr>, FUNCSTAT <chr>, ALAND <dbl>, AWATER <dbl>,
#> #   INTPTLAT <chr>, INTPTLON <chr>, geometry <MULTIPOLYGON [°]>