R/datap.R

#' Data aquisition and pre-processing using datap contexts
#'
#' datap is a DSL to acquire and pre-process data from various sources.
#'
#' @examples
#' library(datap)
#' filePath <- system.file("extdata", "context1.yaml", package="datap")
#' context <- Load(filePath)
#' context
#' context$`Closing Prices`$Indices$SPX
#' plot(context$`Closing Prices`$Indices$SPX)
#' spx <- context$`Closing Prices`$Indices$SPX$tap()
#' spxFullRange <- context$`Closing Prices`$Indices$SPX$tap(dteRange = "/")
#'
#'
#' @docType package
#' @name datap
NULL

## quiets concerns of R CMD check re: the .'s that appear in pipelines
if(getRversion() >= "2.15.1")  utils::globalVariables(c("."))
gluc/datapR documentation built on May 17, 2019, 6:41 a.m.