R/nrb_get_previous.r

Defines functions nrb_get_previous

Documented in nrb_get_previous

#' Gets the previos beacon response to the given timestamp
#'
#' @param ts timestamp as a unix or POSIXct/POSIXlt value
#' @return An nrb_response object
#' @examples
#' ts <- as.POSIXct("2014-01-01 12:00:00", tz="UTC")
#' nrb_get_previous(ts)
#' @export


nrb_get_previous = function(ts) {
  nrb_call_service("previous", ts)
}
jmcastagnetto/nistrb documentation built on May 19, 2019, 1:52 p.m.