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 <https://github.com/childhealthbiostatscore/R-Packages/> 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-03-24 16:40:40 UTC; tim
Author: Tim Vigers [aut, cre]
Maintainer: Tim Vigers <tvigers@uw.edu>
Repository: CRAN
Date/Publication: 2026-03-25 08:30:21 UTC
Built: R 4.6.0; ; 2026-04-30 23:16:32 UTC; unix
