addExportAndImport modifies its input by adding to it columns:
export
export for an area or district
import
import for an area or district
capExport
capacity of export for an area or district, if addCapacities is set to TRUE
capImport
capacity of import for an area or district, if addCapacities is set to TRUE
Arguments
x
an object of class "antaresDataList" created with the function
readAntares. It has to contain some areas and all the links that are
connected to these areas. Moreover the function "removeVirtualAreas" must be call before.
if (FALSE) {
# Data required by the functionshowAliases("exportsImports")
mydata <- readAntares(select = "exportsImports")
addExportAndImport(mydata)
names(mydata$areas)
}