From 1ca1612edf2c6e892a003791660e754e91860664 Mon Sep 17 00:00:00 2001 From: Andrew Gene Brown Date: Tue, 24 Sep 2024 23:16:41 -0700 Subject: [PATCH] doc --- R/fetchSCAN.R | 11 ++++++++--- man/fetchSCAN.Rd | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/R/fetchSCAN.R b/R/fetchSCAN.R index 6edd6768..9c615dfb 100644 --- a/R/fetchSCAN.R +++ b/R/fetchSCAN.R @@ -105,8 +105,10 @@ #' m <- SCAN_site_metadata(site.code = c(356, 2072)) #' m #' -#' # # get hourly data (warning, result is large ~11MB) -#' # x <- try(fetchSCAN(site.code = c(356, 2072), year = 2015, timeseries = "Hourly")) +#' # # get hourly data (warning, result is large ~11MB) +#' # x <- try(fetchSCAN(site.code = c(356, 2072), +#' # year = 2015, +#' # timeseries = "Hourly")) #' # #' # # note hourly data are in US/Central time, with standard or daylight savings time depending on day of year #' # unique(format(x$SMS$datetime, '%Z')) @@ -114,7 +116,10 @@ #' # # the site metadata indicate timeseries data time zone (dataTimeZone; for site 356 offset of 8 hours behind UTC) # # # to obtain all datetime data with a consistent offset use e.g. "Etc/GMT+8" # # # note that the sign is inverted for the Etc/GMT+n timezone specification -#' # x <- try(fetchSCAN(site.code = c(356, 2072), year = 2015, timeseries = "Hourly", tz = "Etc/GMT+8")) +#' # x <- try(fetchSCAN(site.code = c(356, 2072), +#' # year = 2015, +#' # timeseries = "Hourly", +#' # tz = "Etc/GMT+8")) #' #' } #' @rdname fetchSCAN diff --git a/man/fetchSCAN.Rd b/man/fetchSCAN.Rd index 27f697b1..fb1b0491 100644 --- a/man/fetchSCAN.Rd +++ b/man/fetchSCAN.Rd @@ -96,14 +96,19 @@ See the \href{http://ncss-tech.github.io/AQP/soilDB/fetchSCAN-demo.html}{fetchSC m <- SCAN_site_metadata(site.code = c(356, 2072)) m - # # get hourly data (warning, result is large ~11MB) - # x <- try(fetchSCAN(site.code = c(356, 2072), year = 2015, timeseries = "Hourly")) + # # get hourly data (warning, result is large ~11MB) + # x <- try(fetchSCAN(site.code = c(356, 2072), + # year = 2015, + # timeseries = "Hourly")) # # # note hourly data are in US/Central time, with standard or daylight savings time depending on day of year # unique(format(x$SMS$datetime, '\%Z')) # # # the site metadata indicate timeseries data time zone (dataTimeZone; for site 356 offset of 8 hours behind UTC) - # x <- try(fetchSCAN(site.code = c(356, 2072), year = 2015, timeseries = "Hourly", tz = "Etc/GMT+8")) + # x <- try(fetchSCAN(site.code = c(356, 2072), + # year = 2015, + # timeseries = "Hourly", + # tz = "Etc/GMT+8")) } }