This function converts a list of tables or table into an
antaresDataList
object.
An antaresDataList
is a list of tables of classantaresDataTable
.
It also has attributes that store the time step, the type of data and the
simulation options.
as.antaresDataList(x, ...)
# S3 method for class 'antaresDataTable'
as.antaresDataList(x, name = NULL, ...)
# S3 method for class 'data.frame'
as.antaresDataList(
x,
synthesis,
timeStep,
type,
opts = simOptions(),
name = type,
...
)
Data.frame or data.table to convert to a an antaresDataTable.
Arguments to be passed to methods.
name of the table in the final object. If NULL
, the type of the data
is used.
Does the table contain synthetic results ?
Time step of the data. One of "hourly", "daily", "weekly", "monthly" or "annual".
type of data: for instance "areas", "links", "clusters", etc.
Simulation options.
antaresDataList
object.