Skip to contents

Download TIGER shapes for Coastlines

Usage

tt_coastline(year = 2022)

Arguments

year

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

Value

sf data.frame

Examples

 # takes > 5 seconds
# Wrapped in try due to false positive 304 errors
try(tt_coastline()) # downloads slow on CRAN
#> Simple feature collection with 4236 features and 2 fields
#> Geometry type: LINESTRING
#> Dimension:     XY
#> Bounding box:  xmin: -179.1472 ymin: -14.5487 xmax: 179.7785 ymax: 71.39038
#> Geodetic CRS:  NAD83
#> # A tibble: 4,236 × 3
#>    NAME        MTFCC                                                    geometry
#>    <chr>       <chr>                                            <LINESTRING [°]>
#>  1 Atlántico   L4150 (-65.9928 18.45854, -65.99323 18.45779, -65.99337 18.45765…
#>  2 Gulf        L4150 (-94.99855 29.62073, -94.99826 29.62053, -94.99817 29.6204…
#>  3 Gulf        L4150 (-85.22524 29.67747, -85.22482 29.67748, -85.2228 29.6779,…
#>  4 Gulf        L4150 (-91.21616 29.4116, -91.21592 29.41213, -91.216 29.4127, -…
#>  5 Gulf        L4150 (-95.50719 28.82537, -95.50724 28.82534, -95.50775 28.8250…
#>  6 Gulf        L4150 (-86.91887 30.37089, -86.91864 30.37101, -86.91811 30.3711…
#>  7 Gulf        L4150 (-89.34095 30.37327, -89.34103 30.37328, -89.34118 30.3732…
#>  8 Great Lakes L4150 (-87.80253 42.49239, -87.80226 42.49296, -87.80212 42.4931…
#>  9 Great Lakes L4150 (-82.41988 43.00231, -82.42087 43.00329, -82.42144 43.0038…
#> 10 Great Lakes L4150 (-86.45987 45.75704, -86.45959 45.75689, -86.45937 45.7567…
#> # ℹ 4,226 more rows