all_shapefiles: Return path to all shapefiles

Description Usage Arguments

Description

Returns list of paths to all locally cached shapefiles for a specific dataset for use in custom processing. If check_dl == TRUE, all shapefiles for the specified dataset are downloaded to your local machine (skipping those that have been previously downloaded). This is a great way to pre-cache all shapefiles for a specific dataset. The files can be loaded into R and iterated over for custom mapping or processing of entire U.S. National or Global datasets.

Usage

1
2
all_shapefiles(check_dl = FALSE, dataset = c("nhdh", "hydrolakes",
  "nhdplusv2"), feature_type = c("waterbody", "flowline"))

Arguments

check_dl

If TRUE, checks to ensure all files for that dataset have been downloaded. This check takes some time (~30 seconds) to check all files (and much longer to dowload if necessary).

dataset

name of dataset to use for matching.

feature_type

name of feature layer to match. The hydrolakes dataset does not include a flowline layer.


lawinslow/hydrolinks documentation built on June 1, 2019, 7:37 a.m.