idCols: Get and set Id columns

Description Usage Arguments Value

View source: R/idCols.R

Description

idCols() returns the id columns of an AntaresDataTable. addIdCol() permits to declare new ID columns. This can be useful when one wants to define new ID columns in an antaresDataTable containing for instance simulation name or day of week, etc.

Usage

1
2
3
idCols(x, exclude = NULL)

addIdCol(colNames)

Arguments

x

a data.table

exclude

Columns to exclude in the result.

colNames

Name of new ID columns to declare.

Value

idCols() returns a character vector containing the name of the ID columns of an antaresDataTable. addIdCol() is only used for its side effects and returns nothing.


rte-antares-rpackage/antaresDev documentation built on May 17, 2019, 5:53 p.m.