clean.yourloops: Format and clean the YourLoops data to keep relevant columns...

View source: R/01f_yourloops.R

clean.yourloopsR Documentation

Format and clean the YourLoops data to keep relevant columns only

Description

Format and clean the YourLoops data to keep relevant columns only

Usage

## S3 method for class 'yourloops'
clean(data, id, ...)

Arguments

data

An instance of class yourloops, wrapping a named list with data of a particular data type.

id

Character or numeric participant identifier.

...

Additional arguments passed to methods.

Value

A named list with the cleaned data, named according to the data type of data: cgm, basal, bolus or carbs (from meals or from rescue carbohydrates). NULL for all other data types, which are not cleaned. Note that a YourLoops export contains no SMBG data.


aidR documentation built on Oct. 28, 2026, 5:13 p.m.