cgmanalysis

Clean and Analyze Continuous Glucose Monitor Data

This code provides several different functions for cleaning and analyzing continuous glucose monitor data. Currently it works with 'Dexcom' (<https://www.dexcom.com>), 'iPro 2' (<http://professional.medtronicdiabetes.com/ipro2-professional-cgm>), Diasend (<https://diasend.com//us>), Libre (<https://www.freestylelibre.us/>) or Carelink (<https://www.medtronicdiabetes.com/products/carelink-personal-diabetes-software>) 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 ("--1" is added to each subject ID automatically for double data entry). 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.

Total

4,200

Last month

630

Last week

105

Average per day

21

Daily downloads

Total downloads

Description file content

Package
cgmanalysis
Title
Clean and Analyze Continuous Glucose Monitor Data
Version
2.2
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 ("--1" is added to each subject ID automatically for double data entry). 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 (>= 3.4.0)
License
CC0
Encoding
UTF-8
LazyData
true
RoxygenNote
6.1.1
Imports
ggplot2, lubridate, pracma, zoo, pastecs, tools, gdata, readr
NeedsCompilation
no
Packaged
2019-02-11 22:51:16 UTC; timvigers
Author
Tim Vigers [aut, cre]
Maintainer
Tim Vigers
Repository
CRAN
Date/Publication
2019-02-11 23:53:35 UTC

install.packages('cgmanalysis')

2.2

9 days ago

Tim Vigers

CC0

Depends on

R (>= 3.4.0)

Imports

ggplot2, lubridate, pracma, zoo, pastecs, tools, gdata, readr

Discussions