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")) } }