inst/extdata/sample_data.R

source(system.file("extdata", "utils.R", package = "nhdplusTools"))

data_dir <- file.path(tempdir(check = TRUE), "nhdplusTools")

download_pkg_data("sample_natseamless.gpkg",
                  "https://doi-usgs.github.io/nhdplusTools/data/sample_natseamless.gpkg",
                  data_dir)

sample_data <- file.path(data_dir, "sample_natseamless.gpkg")
dblodgett-usgs/nhdplusTools documentation built on March 26, 2024, 12:12 p.m.