candles demo data

This commit is contained in:
pvictor 2020-06-13 13:04:10 +02:00
parent e6ae2ac8c8
commit 7712ab2e64
3 changed files with 16 additions and 1 deletions

View File

@ -47,4 +47,18 @@
"consumption"
#' Candlestick demo data
#'
#'
#' @format A data frame with 60 observations and the following 5 variables:
#' \describe{
#' \item{\code{datetime}}{Timestamp.}
#' \item{\code{open}}{Open value.}
#' \item{\code{high}}{Highest value.}
#' \item{\code{low}}{Lowest value.}
#' \item{\code{close}}{Close value.}
#' }
#' @source Apexcharts (\url{https://apexcharts.com/javascript-chart-demos/candlestick-charts/basic/})
"candles"

View File

@ -32,5 +32,6 @@ cdle
apex(cdle, aes(x = datetime, open = open, close = close, low = low, high = high), type = "candlestick")
candles <- as.data.frame(cdle)
usethis::use_data(candles, overwrite = TRUE)

BIN
data/candles.rda Normal file

Binary file not shown.