Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Sep 25, 2024
1 parent 7bea3f9 commit 1ca1612
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions R/fetchSCAN.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,21 @@
#' 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)
# # # 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
Expand Down
11 changes: 8 additions & 3 deletions man/fetchSCAN.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1ca1612

Please sign in to comment.