Skip to contents

Download TIGER shapes for County Subdivisions

Usage

tt_county_subdivisions(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_county_subdivisions("DE")) # downloads slow on CRAN
#> Simple feature collection with 27 features and 18 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: 27 × 19
#>    STATEFP COUNTYFP COUSUBFP COUSUBNS GEOID   NAME  NAMELSAD LSAD  CLASSFP MTFCC
#>  * <chr>   <chr>    <chr>    <chr>    <chr>   <chr> <chr>    <chr> <chr>   <chr>
#>  1 10      005      91776    01935613 100059… Lewes Lewes C… 22    Z5      G4040
#>  2 10      005      92516    01935618 100059… Mill… Millsbo… 22    Z5      G4040
#>  3 10      001      90444    01935604 100019… Cent… Central… 22    Z5      G4040
#>  4 10      001      93700    01935626 100019… Smyr… Smyrna … 22    Z5      G4040
#>  5 10      003      92072    01935615 100039… Midd… Middlet… 22    Z5      G4040
#>  6 10      003      92812    01935620 100039… New … New Cas… 22    Z5      G4040
#>  7 10      003      93108    01935622 100039… Pike… Pike Cr… 22    Z5      G4040
#>  8 10      003      93996    01935628 100039… Wilm… Wilming… 22    Z5      G4040
#>  9 10      003      91924    01935614 100039… Lowe… Lower C… 22    Z5      G4040
#> 10 10      003      92960    01935621 100039… Pied… Piedmon… 22    Z5      G4040
#> # ℹ 17 more rows
#> # ℹ 9 more variables: CNECTAFP <chr>, NECTAFP <chr>, NCTADVFP <chr>,
#> #   FUNCSTAT <chr>, ALAND <dbl>, AWATER <dbl>, INTPTLAT <chr>, INTPTLON <chr>,
#> #   geometry <POLYGON [°]>