Skip to contents

Download TIGER shapes for Public Use Microdata Areas

Usage

tt_puma(state, year = 2021)

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_puma("DE")) # downloads slow on CRAN
#> Simple feature collection with 6 features and 10 fields
#> Geometry type: POLYGON
#> Dimension:     XY
#> Bounding box:  xmin: -75.78902 ymin: 38.45113 xmax: -74.98416 ymax: 39.83952
#> Geodetic CRS:  NAD83
#> # A tibble: 6 × 11
#>   STATEFP10 PUMACE10 GEOID10 NAMELSAD10      MTFCC10 FUNCSTAT10 ALAND10 AWATER10
#> * <chr>     <chr>    <chr>   <chr>           <chr>   <chr>        <dbl>    <dbl>
#> 1 10        00103    1000103 New Castle Cou… G6120   S           1.51e8   6.85e5
#> 2 10        00102    1000102 New Castle Cou… G6120   S           2.20e8   5.95e6
#> 3 10        00104    1000104 New Castle Cou… G6120   S           6.74e8   1.63e8
#> 4 10        00200    1000200 Kent County--D… G6120   S           1.52e9   5.50e8
#> 5 10        00300    1000300 Sussex County … G6120   S           2.42e9   6.74e8
#> 6 10        00101    1000101 New Castle Cou… G6120   S           5.93e7   5.47e6
#> # ℹ 3 more variables: INTPTLAT10 <chr>, INTPTLON10 <chr>,
#> #   geometry <POLYGON [°]>