R/data.R

#' Sample Libreview CSV Download
#'
#' A typical CSV file from a two-week user of the Freestyle Libre
#' @docType data
#'
#' @usage data(sample_libreview_df)
#' @format A data frame with 2713 rows and 7 variables:
#' \describe{
#'   \item{time}{datetime}
#'   \item{scan}{scanned glucose value mg/dL}
#'   \item{hist}{computed glucose value mg/dL}
#'   \item{strip}{glucose value (mg/dL) from strip (optional)}
#'   \item{value}{glucose value, in mg/dL}
#'   \item{food}{Food the user ate at that moment, if applicable}
#'   \item{user_id}{Unique user ID}
#' }
#' @source \url{http://libreview.com/}
#'
"sample_libreview_df"

#' Table of all registered users
#'
#' from a CSV file generated at the Libreview Practice Portal
#' @docType data
#' @usage data(user_df_from_libreview)
#' @format a data frame with 6 rows
"user_df_from_libreview"
personalscience/psi-shiny-cgm documentation built on Dec. 22, 2021, 7:43 a.m.