Skip to content

cgmanalysis

3.2.0Package record

Clean and Analyze Continuous Glucose Monitor Data

0packages depend
8.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 3.2.0
READMENoVignettesNoNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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

8.1K
CRAN downloads in the past year
Rank #5,213 · ~22/day · ~675/mo
Daily download trend is not available in this view yet.
58530 days
1.6K90 days
8.1K1 year
Compare downloads with other packages →
Also on105 r2u7 autocran

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing cgmanalysis adds 99 packages (52 with compiled code, 84 MB of source tarballs). Heaviest: stringi 11 MB, ggformula 6.0 MB, ggplot2 6.0 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.3 (2018)
Releases (23)

Pick two releases to compare their code metrics.

Show 17 earlier eventsHide 17 earlier events

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cgmanalysis version 3.2.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy