Download an linear water shapefile into R
From the US Census Bureau: "The linear hydrography shapefile contains all linear features with "H" (Hydrography) type MTFCCs in the MAF/TIGER database by county. The shapefiles are provided at a county geographic extent and in linear elemental feature geometry. The linear hydrography shapefile includes streams/rivers, braided streams, canals, ditches, artificial paths, and aqueducts. A linear hydrography feature may include edges with both perennial and intermittent persistence."
linear_water(state, county, year = NULL, ...)
state |
The two-digit FIPS code of the state of the county you'd like to download the water features for. Can also be state name or abbreviation (case-insensitive). |
county |
The three-digit FIPS code of the county you'd like the water features for. Can also be a county name. |
year |
the data year (defaults to 2019). |
... |
arguments to be passed to the underlying 'load_tiger' function, which is not exported.
Options include |
Other water functions:
area_water()
,
coastline()
## Not run: library(tigris) dallas_water <- linear_water("TX", "Dallas") plot(dallas_water$geometry) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.