Skip to contents

Run blacklist cleaning pipeline on in-scope regimens_env Uses `regimens_env$regimens` from the current scope, filters rows where any cell contains a blacklist term (case-insensitive), updates `regimens_env$regimens` in place.

Usage

cleanByBlacklist(concept_file = NULL, ignore_default_list = FALSE)

Arguments

concept_file

Optional path to a file with one concept_id per line.

ignore_default_list

When TRUE and a concept_file is provided, use only the user-provided list. If no concept_file is provided, the default list is used.

Value

Invisible cleaned data frame.