Skip to contents

Download TIGER shapes for Polygon Edges

Usage

tt_polygon_edges(state, county, year = 2024)

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-2022 are currently supported.

Value

sf data.frame

Examples

# Wrapped in try due to false positive 304 errors
try(tt_polygon_edges("DE", county = "001")) # downloads slow on CRAN
#> Simple feature collection with 21970 features and 30 fields
#> Geometry type: LINESTRING
#> Dimension:     XY
#> Bounding box:  xmin: -75.76007 ymin: 38.82985 xmax: -75.13846 ymax: 39.38756
#> Geodetic CRS:  NAD83
#> # A tibble: 21,970 × 31
#>    STATEFP COUNTYFP      TLID  TFIDL  TFIDR MTFCC FULLNAME SMID  LFROMADD LTOADD
#>  * <chr>   <chr>        <dbl>  <dbl>  <dbl> <chr> <chr>    <chr> <chr>    <chr> 
#>  1 10      001       68084435 2.09e8 2.12e8 P0001 NA       NA    NA       NA    
#>  2 10      001      644357255 2.12e8 2.10e8 P0001 NA       NA    NA       NA    
#>  3 10      001       68086251 2.12e8 2.38e8 P0002 NA       5364  NA       NA    
#>  4 10      001       68086262 2.12e8 2.12e8 P0001 NA       NA    NA       NA    
#>  5 10      001       68111083 2.12e8 2.12e8 P0001 NA       NA    NA       NA    
#>  6 10      001       68111102 2.12e8 2.12e8 P0001 NA       NA    NA       NA    
#>  7 10      001       68111126 2.12e8 2.58e8 P0001 NA       NA    NA       NA    
#>  8 10      001      647377647 2.12e8 2.62e8 L4140 NA       NA    NA       NA    
#>  9 10      001       68114163 2.12e8 2.67e8 L4140 NA       NA    NA       NA    
#> 10 10      001      646475811 2.22e8 2.22e8 P0001 NA       NA    NA       NA    
#> # ℹ 21,960 more rows
#> # ℹ 21 more variables: RFROMADD <chr>, RTOADD <chr>, ZIPL <chr>, ZIPR <chr>,
#> #   FEATCAT <chr>, HYDROFLG <chr>, RAILFLG <chr>, ROADFLG <chr>, OLFFLG <chr>,
#> #   PASSFLG <chr>, EXTTYP <chr>, TTYP <chr>, DECKEDROAD <chr>, ARTPATH <chr>,
#> #   PERSIST <chr>, GCSEFLG <chr>, OFFSETL <chr>, OFFSETR <chr>, TNIDF <dbl>,
#> #   TNIDT <dbl>, geometry <LINESTRING [°]>