From 1cc3ab7f9fdc047d82e76ab3d7922177419db86b Mon Sep 17 00:00:00 2001 From: mitchellmanware Date: Thu, 10 Oct 2024 09:56:30 -0400 Subject: [PATCH] 1.1.1; update man/download* --- R/download.R | 24 ++++++++++++------------ man/download_aqs.Rd | 2 +- man/download_data.Rd | 2 +- man/download_geos.Rd | 2 +- man/download_gridmet.Rd | 2 +- man/download_hms.Rd | 2 +- man/download_merra2.Rd | 2 +- man/download_modis.Rd | 6 +++--- man/download_narr.Rd | 2 +- man/download_terraclimate.Rd | 2 +- man/download_tri.Rd | 2 +- 11 files changed, 24 insertions(+), 24 deletions(-) diff --git a/R/download.R b/R/download.R index de5a871..e040d79 100644 --- a/R/download.R +++ b/R/download.R @@ -50,7 +50,7 @@ #' download_data( #' dataset_name = "narr", #' variables = "weasd", -#' year = c(2023, 2023), +#' year = 2023, #' directory_to_save = tempdir(), #' acknowledgement = TRUE, #' download = FALSE, # NOTE: download skipped for examples, @@ -174,7 +174,7 @@ download_data <- #' download_aqs( #' parameter_code = 88101, #' resolution_temporal = "daily", -#' year = c(2023, 2023), +#' year = 2023, #' directory_to_save = tempdir(), #' acknowledgement = TRUE, #' download = FALSE, # NOTE: download skipped for examples, @@ -473,7 +473,7 @@ download_ecoregion <- function( #' @examples #' download_geos( #' collection = "aqc_tavg_1hr_g1440x721_v1", -#' date = c("2024-01-01", "2024-01-01"), +#' date = "2024-01-01", #' directory_to_save = tempdir(), #' acknowledgement = TRUE, #' download = FALSE, # NOTE: download skipped for examples, @@ -982,7 +982,7 @@ download_gmted <- function( #' @examples #' download_merra2( #' collection = "inst1_2d_int_Nx", -#' date = c("2024-01-01", "2024-01-01"), +#' date = "2024-01-01", #' directory_to_save = tempdir(), #' acknowledgement = TRUE, #' download = FALSE, # NOTE: download skipped for examples, @@ -1298,7 +1298,7 @@ download_merra2 <- function( #' @examples #' download_narr( #' variables = c("weasd", "omega"), -#' year = c(2023, 2023), +#' year = 2023, #' directory_to_save = tempdir(), #' acknowledgement = TRUE, #' download = FALSE, # NOTE: download skipped for examples, @@ -1949,7 +1949,7 @@ download_sedac_population <- function( #' @examples #' download_hms( #' data_format = "Shapefile", -#' date = c("2024-01-01", "2024-01-01"), +#' date = "2024-01-01", #' directory_to_save = tempdir(), #' acknowledgement = TRUE, #' download = FALSE, # NOTE: download skipped for examples, @@ -2304,7 +2304,7 @@ download_koppen_geiger <- function( #' version = "61", #' horizontal_tiles = c(8, 8), #' vertical_tiles = c(4, 4), -#' date = c("2024-01-01", "2024-01-01"), +#' date = "2024-01-01", #' nasa_earth_data_token = "./pathtotoken/token.txt", #' directory_to_save = tempdir(), #' acknowledgement = TRUE, @@ -2317,7 +2317,7 @@ download_koppen_geiger <- function( #' version = "61", #' horizontal_tiles = c(8, 8), #' vertical_tiles = c(4, 4), -#' date = c("2024-01-01", "2024-01-01"), +#' date = "2024-01-01", #' mod06_links = #' system.file( #' "extdata", "nasa", "LAADS_query.2024-08-02T12_49.csv", @@ -2335,7 +2335,7 @@ download_koppen_geiger <- function( #' version = "61", #' horizontal_tiles = c(8, 8), #' vertical_tiles = c(4, 4), -#' date = c("2024-01-01", "2024-01-01"), +#' date = "2024-01-01", #' nasa_earth_data_token = "./pathtotoken/token.txt", #' directory_to_save = tempdir(), #' acknowledgement = TRUE, @@ -2701,7 +2701,7 @@ download_modis <- function( #' \insertRef{web_usepa2024tri}{amadeus} #' @examples #' download_tri( -#' year = c(2021L, 2021L), +#' year = 2021L, #' directory_to_save = tempdir(), #' acknowledgement = TRUE, #' download = FALSE, # NOTE: download skipped for examples, @@ -3403,7 +3403,7 @@ download_prism <- function( #' @examples #' download_gridmet( #' variables = "Precipitation", -#' year = c(2023, 2023), +#' year = 2023, #' directory_to_save = tempdir(), #' acknowledgement = TRUE, #' download = FALSE, # NOTE: download skipped for examples, @@ -3542,7 +3542,7 @@ download_gridmet <- function( #' @examples #' download_terraclimate( #' variables = "Precipitation", -#' year = c(2023, 2023), +#' year = 2023, #' directory_to_save = tempdir(), #' acknowledgement = TRUE, #' download = FALSE, # NOTE: download skipped for examples, diff --git a/man/download_aqs.Rd b/man/download_aqs.Rd index 5fda796..22f343a 100644 --- a/man/download_aqs.Rd +++ b/man/download_aqs.Rd @@ -72,7 +72,7 @@ The \code{download_aqs()} function accesses and downloads Air Quality System (AQ download_aqs( parameter_code = 88101, resolution_temporal = "daily", - year = c(2023, 2023), + year = 2023, directory_to_save = tempdir(), acknowledgement = TRUE, download = FALSE, # NOTE: download skipped for examples, diff --git a/man/download_data.Rd b/man/download_data.Rd index 69d8c6c..fd09977 100644 --- a/man/download_data.Rd +++ b/man/download_data.Rd @@ -52,7 +52,7 @@ The \code{download_data()} function accesses and downloads atmospheric, meteorol download_data( dataset_name = "narr", variables = "weasd", - year = c(2023, 2023), + year = 2023, directory_to_save = tempdir(), acknowledgement = TRUE, download = FALSE, # NOTE: download skipped for examples, diff --git a/man/download_geos.Rd b/man/download_geos.Rd index d653bfb..43fe0b6 100644 --- a/man/download_geos.Rd +++ b/man/download_geos.Rd @@ -57,7 +57,7 @@ atmospheric composition collections from \href{https://gmao.gsfc.nasa.gov/GEOS_s \examples{ download_geos( collection = "aqc_tavg_1hr_g1440x721_v1", - date = c("2024-01-01", "2024-01-01"), + date = "2024-01-01", directory_to_save = tempdir(), acknowledgement = TRUE, download = FALSE, # NOTE: download skipped for examples, diff --git a/man/download_gridmet.Rd b/man/download_gridmet.Rd index 2eafc57..9552a3e 100644 --- a/man/download_gridmet.Rd +++ b/man/download_gridmet.Rd @@ -54,7 +54,7 @@ The \code{download_gridmet} function accesses and downloads gridded surface mete \examples{ download_gridmet( variables = "Precipitation", - year = c(2023, 2023), + year = 2023, directory_to_save = tempdir(), acknowledgement = TRUE, download = FALSE, # NOTE: download skipped for examples, diff --git a/man/download_hms.Rd b/man/download_hms.Rd index 15f55fe..cfcf4ab 100644 --- a/man/download_hms.Rd +++ b/man/download_hms.Rd @@ -67,7 +67,7 @@ wildfire smoke plume coverage data from \href{https://www.ospo.noaa.gov/products \examples{ download_hms( data_format = "Shapefile", - date = c("2024-01-01", "2024-01-01"), + date = "2024-01-01", directory_to_save = tempdir(), acknowledgement = TRUE, download = FALSE, # NOTE: download skipped for examples, diff --git a/man/download_merra2.Rd b/man/download_merra2.Rd index 922db23..0b8f9e2 100644 --- a/man/download_merra2.Rd +++ b/man/download_merra2.Rd @@ -63,7 +63,7 @@ meteorological and atmospheric collections from \href{https://gmao.gsfc.nasa.gov \examples{ download_merra2( collection = "inst1_2d_int_Nx", - date = c("2024-01-01", "2024-01-01"), + date = "2024-01-01", directory_to_save = tempdir(), acknowledgement = TRUE, download = FALSE, # NOTE: download skipped for examples, diff --git a/man/download_modis.Rd b/man/download_modis.Rd index 6c5945e..2771add 100644 --- a/man/download_modis.Rd +++ b/man/download_modis.Rd @@ -88,7 +88,7 @@ download_modis( version = "61", horizontal_tiles = c(8, 8), vertical_tiles = c(4, 4), - date = c("2024-01-01", "2024-01-01"), + date = "2024-01-01", nasa_earth_data_token = "./pathtotoken/token.txt", directory_to_save = tempdir(), acknowledgement = TRUE, @@ -101,7 +101,7 @@ download_modis( version = "61", horizontal_tiles = c(8, 8), vertical_tiles = c(4, 4), - date = c("2024-01-01", "2024-01-01"), + date = "2024-01-01", mod06_links = system.file( "extdata", "nasa", "LAADS_query.2024-08-02T12_49.csv", @@ -119,7 +119,7 @@ download_modis( version = "61", horizontal_tiles = c(8, 8), vertical_tiles = c(4, 4), - date = c("2024-01-01", "2024-01-01"), + date = "2024-01-01", nasa_earth_data_token = "./pathtotoken/token.txt", directory_to_save = tempdir(), acknowledgement = TRUE, diff --git a/man/download_narr.Rd b/man/download_narr.Rd index e03f755..6498c00 100644 --- a/man/download_narr.Rd +++ b/man/download_narr.Rd @@ -56,7 +56,7 @@ The \code{download_narr} function accesses and downloads daily meteorological da \examples{ download_narr( variables = c("weasd", "omega"), - year = c(2023, 2023), + year = 2023, directory_to_save = tempdir(), acknowledgement = TRUE, download = FALSE, # NOTE: download skipped for examples, diff --git a/man/download_terraclimate.Rd b/man/download_terraclimate.Rd index 6c26d27..33b43fe 100644 --- a/man/download_terraclimate.Rd +++ b/man/download_terraclimate.Rd @@ -53,7 +53,7 @@ The \code{download_terraclimate} function accesses and downloads climate and wat \examples{ download_terraclimate( variables = "Precipitation", - year = c(2023, 2023), + year = 2023, directory_to_save = tempdir(), acknowledgement = TRUE, download = FALSE, # NOTE: download skipped for examples, diff --git a/man/download_tri.Rd b/man/download_tri.Rd index 56a5708..37fdfe7 100644 --- a/man/download_tri.Rd +++ b/man/download_tri.Rd @@ -46,7 +46,7 @@ The \code{download_tri()} function accesses and downloads toxic release data fro } \examples{ download_tri( - year = c(2021L, 2021L), + year = 2021L, directory_to_save = tempdir(), acknowledgement = TRUE, download = FALSE, # NOTE: download skipped for examples,