Download a shapefile of the US coastline into R
coastline(year = NULL, ...)
The year of the dataset (defaults to 2020)
arguments to be passed to the underlying `load_tiger` function, which is not exported.
Options include class
, which can be set to "sp"
(the default) or "sf"
to
request sp or sf class objects, and refresh
, which specifies whether or
not to re-download shapefiles (defaults to FALSE
).).
Other water functions:
area_water()
,
linear_water()