diff --git a/R/downloading_tools.R b/R/downloading_tools.R index 467e90e6..0ab1497a 100644 --- a/R/downloading_tools.R +++ b/R/downloading_tools.R @@ -104,13 +104,13 @@ download_nhdplushr <- function(nhd_dir, hu_list, download_files = TRUE) { #' download_nhdplusV2("./data/nhd/") #' #' download_nhdplusv2(outdir = "./inst/", -#' url = paste0("https://s3.amazonaws.com/edap-nhdplus/NHDPlusV21/", +#' url = paste0("https://edap-ow-data-commons.s3.amazonaws.com/NHDPlusV21/", #' "Data/NationalData/NHDPlusV21_NationalData_Seamless", #' "_Geodatabase_HI_PR_VI_PI_03.7z")) #' } download_nhdplusv2 <- function(outdir, - url = paste0("https://s3.amazonaws.com/edap-nhdplus/NHDPlusV21/", + url = paste0("https://edap-ow-data-commons.s3.amazonaws.com/NHDPlusV21/", "Data/NationalData/NHDPlusV21_NationalData_Seamless", "_Geodatabase_Lower48_07.7z"), progress = TRUE) { diff --git a/data-raw/build_boundary_data.R b/data-raw/build_boundary_data.R index 273cc5df..b10b2977 100644 --- a/data-raw/build_boundary_data.R +++ b/data-raw/build_boundary_data.R @@ -5,7 +5,7 @@ library(archive) library(rmapshaper) library(nhdplusTools) -epa_path <- "https://s3.amazonaws.com/edap-nhdplus/NHDPlusV21/Data/GlobalData/NHDPlusV21_NHDPlusGlobalData_03.7z" +epa_path <- "https://edap-ow-data-commons.s3.amazonaws.com/NHDPlusV21/Data/GlobalData/NHDPlusV21_NHDPlusGlobalData_03.7z" zip <- file.path("data/nhdglobal.7z") GET(epa_path, write_disk(zip)) diff --git a/man/download_nhdplusv2.Rd b/man/download_nhdplusv2.Rd index 06ee0b65..46cc964e 100644 --- a/man/download_nhdplusv2.Rd +++ b/man/download_nhdplusv2.Rd @@ -6,7 +6,7 @@ \usage{ download_nhdplusv2( outdir, - url = paste0("https://s3.amazonaws.com/edap-nhdplus/NHDPlusV21/", + url = paste0("https://edap-ow-data-commons.s3.amazonaws.com/NHDPlusV21/", "Data/NationalData/NHDPlusV21_NationalData_Seamless", "_Geodatabase_Lower48_07.7z"), progress = TRUE ) @@ -35,7 +35,7 @@ are available. download_nhdplusV2("./data/nhd/") download_nhdplusv2(outdir = "./inst/", - url = paste0("https://s3.amazonaws.com/edap-nhdplus/NHDPlusV21/", + url = paste0("https://edap-ow-data-commons.s3.amazonaws.com/NHDPlusV21/", "Data/NationalData/NHDPlusV21_NationalData_Seamless", "_Geodatabase_HI_PR_VI_PI_03.7z")) }