Skip to contents

Download TIGER shapes for blocks

Usage

tt_blocks(state, county, year = 2021)

Arguments

state

FIPS, postal codes, or full names of states.

county

FIPS codes or full names of counties. Optional.

year

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

Value

sf data.frame

Examples

# Wrapped in try due to false positive 304 errors
try(tt_blocks(state = "DE", county = "001"))
#> Simple feature collection with 4133 features and 15 fields
#> Geometry type: MULTIPOLYGON
#> Dimension:     XY
#> Bounding box:  xmin: -75.76007 ymin: 38.82985 xmax: -75.13846 ymax: 39.38756
#> Geodetic CRS:  NAD83
#> # A tibble: 4,133 × 16
#>    STATEFP20 COUNT…¹ TRACT…² BLOCK…³ GEOID20 NAME20 MTFCC20 UR20  UACE20 UATYP…⁴
#>  * <chr>     <chr>   <chr>   <chr>   <chr>   <chr>  <chr>   <chr> <chr>  <chr>  
#>  1 10        001     040204  1064    100010… Block… G5040   R     NA     NA     
#>  2 10        001     043202  1087    100010… Block… G5040   R     NA     NA     
#>  3 10        001     990000  0004    100019… Block… G5040   R     NA     NA     
#>  4 10        001     043202  2003    100010… Block… G5040   R     NA     NA     
#>  5 10        001     042206  2013    100010… Block… G5040   R     NA     NA     
#>  6 10        001     042208  1019    100010… Block… G5040   R     NA     NA     
#>  7 10        001     042100  2031    100010… Block… G5040   R     NA     NA     
#>  8 10        001     040203  1001    100010… Block… G5040   R     NA     NA     
#>  9 10        001     043202  1000    100010… Block… G5040   R     NA     NA     
#> 10 10        001     043202  1012    100010… Block… G5040   R     NA     NA     
#> # … with 4,123 more rows, 6 more variables: FUNCSTAT20 <chr>, ALAND20 <dbl>,
#> #   AWATER20 <dbl>, INTPTLAT20 <chr>, INTPTLON20 <chr>,
#> #   geometry <MULTIPOLYGON [°]>, and abbreviated variable names ¹​COUNTYFP20,
#> #   ²​TRACTCE20, ³​BLOCKCE20, ⁴​UATYPE20