This function converts an "readAntares" object in the data structure used by PPSE : instead of having one table for areas, one for links and one for clusters, the function creates a list with one element per area. Each element is a data.table containing the data about the area and one column per cluster of the area containing the production of this cluster.
Arguments
- x
object of class "antaresData" or "antaresTable" created by the function
readAntares
- areas
character vector containing the name of areas to keep in the final object. If
NULL
, all areas are kept in the final object.