data.table
based implementation.
# S3 method for relop_drop_columns ex_data_table_step( optree, ..., tables = list(), source_limit = NULL, source_usage = NULL, env = parent.frame() )
optree | relop operations tree. |
---|---|
... | not used, force later arguments to bind by name. |
tables | named list map from table names used in nodes to data.tables and data.frames. |
source_limit | if not null limit all table sources to no more than this many rows (used for debugging). |
source_usage | list mapping source table names to vectors of columns used. |
env | environment to work in. |
dL <- data.frame(x = 1, y = 2, z = 3) rquery_pipeline <- local_td(dL) %.>% drop_columns(., "y") dL %.>% rquery_pipeline#> x z #> 1 1 3