Skip to contents

Download TIGER shapes for Public Use Microdata Areas

Usage

tt_consolidated_cities(state, year = 2022)

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_consolidated_cities("CT")) # downloads slow on CRAN
#> Simple feature collection with 1 feature and 14 fields
#> Geometry type: POLYGON
#> Dimension:     XY
#> Bounding box:  xmin: -73.12245 ymin: 41.1686 xmax: -72.97905 ymax: 41.2766
#> Geodetic CRS:  NAD83
#> # A tibble: 1 × 15
#>   STATEFP CONCTYFP CONCTYNS GEOID   NAME   NAMELSAD LSAD  CLASSFP MTFCC FUNCSTAT
#> * <chr>   <chr>    <chr>    <chr>   <chr>  <chr>    <chr> <chr>   <chr> <chr>   
#> 1 09      47500    02378334 0947500 Milfo… Milford… 25    C3      G4120 A       
#> # ℹ 5 more variables: ALAND <dbl>, AWATER <dbl>, INTPTLAT <chr>,
#> #   INTPTLON <chr>, geometry <POLYGON [°]>