removed_entries: Get all entries removed during cleaning and filtering

View source: R/04_filtering.R

removed_entriesR Documentation

Get all entries removed during cleaning and filtering

Description

Rows can be removed while cleaning (e.g. merged slowly absorbed carbohydrates in clean.glooko) and by filters (e.g. overwritten carbohydrate entries in filter_carbs).

Usage

removed_entries(data_id)

Arguments

data_id

A list with all data found for one individual.

Value

A named list with one data frame per data type, holding the removed rows and the column removed_reason. NULL if nothing was removed.

Examples

path <- system.file("extdata", "glooko_example.zip", package = "aidR")
data <- filter_carbs(parse_data(id = "1", paths = path))
removed_entries(data)

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