Clean and Analyze Continuous Glucose Monitor Data
Overview
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.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 4 earlier changesHide 4 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-04-13
- ERROR13 OK, 1 ERROR2026-03-30
- OK14 OK2026-03-10
Documentation
- Help pages
- 3
- Examples that run
- 67%2 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 94%
- Return-value docs
- 67%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 3.2.0Latest
- 3.1.12025-06-09 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 3.1.02025-04-07 · diff ↗
- 3.0.22025-02-03 · diff ↗
- 3.0.12025-02-01 · diff ↗
- 3.02025-01-30 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.7.72023-10-20 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.7.62022-10-24 · diff ↗
- 2.7.52022-09-30 · diff ↗
- 2.7.42022-09-08 · diff ↗
- 2.7.32022-07-07 · diff ↗
- RR 4.2.0 released · 2022-04-22
Show 17 earlier eventsHide 17 earlier events
- 2.7.22021-06-09 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.7.12021-02-15 · diff ↗
- 2.72020-04-30 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.6.12020-03-12 · diff ↗
- 2.62020-02-19 · diff ↗
- 2.52019-10-24 · diff ↗
- 2.42019-05-22 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.32019-03-26 · diff ↗
- 2.22019-02-12 · diff ↗
- 2.12018-12-17 · diff ↗
- 2.02018-08-23 · diff ↗ ·
removed 4 exports
cleandexcomdata, cleaniprodata, easygvtable, makecsvadded 2 exports
cgmreport, cleandata - RR 3.5.0 released · 2018-04-23
- 1.32018-02-14
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-02-14
- Total releases
- 23 / 8 yrs
- License
- CC0
- Minimum R
- ≥ 4.0.0
- Download size
- 150 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("cgmanalysis")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.