| check_completeness_range | R Documentation |
Accepts either the output of parse_data for a single individual
or the output of merge_all for multiple individuals. Every
individual found in the data is checked separately.
check_completeness_range(
data,
first_date,
last_date,
necessary_types = c("cgm", "basal", "bolus", "carbs")
)
data |
A list with all data found for one individual (the output of
|
first_date |
A character string representing the first date for which data should be available. |
last_date |
A character string representing the last date (included) for which data should be available. |
necessary_types |
A character vector with type names for which data should be available. |
No return value, called for side effects. Issues a message for every individual and data type with missing days.
# The example export covers 2026-06-22 only
path <- system.file("extdata", "glooko_example.zip", package = "aidR")
data <- parse_data(id = "1", paths = path)
check_completeness_range(data, first_date = "2026-06-21", last_date = "2026-06-23")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.