Package: cgmanalysis
Title: Clean and Analyze Continuous Glucose Monitor Data
Version: 3.2.0
Authors@R: person("Tim", "Vigers", email = "tvigers@uw.edu", role = c("aut", "cre"))
Description: This code provides several different functions for
cleaning and analyzing continuous glucose monitor data.
Currently it works with 'Dexcom', 'iPro 2', 'Diasend', 'Libre',
or 'Carelink' data. The cleandata() function takes a directory
of CGM data files and prepares them for analysis.
cgmvariables() iterates through a directory of cleaned CGM data
files and produces a single spreadsheet with data for each file
in either rows or columns. The column format of this
spreadsheet is compatible with REDCap data upload. cgmreport()
also iterates through a directory of cleaned data, and produces
PDFs of individual and aggregate AGP plots. Please visit
to
download the new-user guide.
Depends: R (>= 4.0.0)
License: CC0
Encoding: UTF-8
RoxygenNote: 7.3.3
Imports: ggplot2, parsedate, lubridate, pracma, zoo, pastecs, tools,
readxl, readr, XML, MESS, rlang
NeedsCompilation: no
Packaged: 2026-09-21 11:31:13 UTC; root
Author: Tim Vigers [aut, cre]
Maintainer: Tim Vigers
Config/pak/sysreqs: libcairo2-dev cmake libfontconfig1-dev
libfreetype6-dev make libicu-dev libpng-dev libuv1-dev
libxml2-dev libx11-dev zlib1g-dev
Repository: https://timothyvigers.r-universe.dev
Date/Publication: 2026-03-25 09:11:46 UTC
RemoteUrl: https://github.com/cran/cgmanalysis
RemoteRef: HEAD
RemoteSha: 68da06e2c87503fd38984ddf62d93f9eb5c5f137