Data(ops,table,rows,cols)
Get data for table
with ops ops
, and return the
data as a data.frame.
Syntax
Data(ops,table,rows,cols)
Arguments
ops
- A list of ops.
table
- A path to a table object, with type character.
rows
- An r slice (such as 4:8), a set of integers, or a set of rounded numeric values. The default value is NULL.
cols
- A character vector of column names that are contained in
table
. The default value is NULL.
Note: NULL values for either rows or cols results in all rows or cols.
Example
DF <- Data(ops,'path.to.table',34:20986,c('transid','store','item','price'))