excluded | R Documentation |
Get the dtrackr excluded data record
excluded(.data, simplify = TRUE)
.data |
a dataframe which may be grouped |
simplify |
return a single summary dataframe of all exclusions. |
a new dataframe of the excluded data up to this point in the workflow. This dataframe is by default flattened, but if .simplify=FALSE
has a nested structure containing records excluded at each part of the pipeline.
library(dplyr)
library(dtrackr)
tmp = iris %>% track() %>% capture_exclusions()
tmp %>% exclude_all(
Petal.Length > 5.8 ~ "{.excluded} long ones",
Petal.Length < 1.3 ~ "{.excluded} short ones",
.stage = "petal length exclusion"
) %>% excluded()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.