View source: R/01g_tandem_source.R
| clean.tandem_source | R Documentation |
Format and clean the Tandem Source data to keep relevant columns only
## S3 method for class 'tandem_source'
clean(data, id, ...)
data |
An instance of class |
id |
Character or numeric participant identifier. |
... |
Additional arguments passed to methods. |
A named list with the cleaned data, named according to the data type
of data: cgm, basal, bolus, carbs and
total_bolus (the latter three are extracted from the bolus file;
total_basal (extracted from the hourly basal file) or SMBG.
NULL for all other data types, which are not cleaned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.