Description
Antiselect returns all columns except those specified in the "exclude" argument.
Usage
td_antiselect_mle ( data = NULL, exclude = NULL, data.sequence.column = NULL, data.order.column = NULL )
Arguments
data |
Required Argument. |
data.order.column |
Optional Argument. |
exclude |
Required Argument. |
data.sequence.column |
Optional Argument. |
Value
Function returns an object of class "td_antiselect_mle" which is a
named list containing object of class "tbl_teradata".
Named list member can be referenced directly with the "$" operator
using name: result.
Examples
# Get the current context/connection con <- td_get_context()$connection # Load example data. loadExampleData("antiselect_example", "antiselect_input") # Create object(s) of class "tbl_teradata". antiselect_input <- tbl(con, "antiselect_input") # Example - Exclude five columns as specified in the "exclude" argument td_antiselect_out <- td_antiselect_mle(data = antiselect_input, exclude = c("rowids","orderdate","discount", "province", "custsegment") )