Skip to content

Commit

Permalink
Add referential for output column naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kemihak committed Jan 10, 2024
1 parent 918bc0d commit a356e56
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ utils::globalVariables(
"MRG. PRICE", "H. LEV", "V2", "V1")
)

# Correspondance between output column name and data table column name
pkgEnv$output_correspondance <- read.table(system.file("format_output/referentiel_output_name_column.csv",
package = "antaresRead"),
sep = ";",
header = TRUE)

#----------------------------- HDF5 ------------------------------------#


Expand Down
6 changes: 6 additions & 0 deletions inst/format_output/referentiel_output_name_column.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ANTARES_OUTPUT_TYPE;ANTARES_OUTPUT_FILE_COLUMN_NAME;ANTARES_OUTPUT_R_VARIABLE;ANTARES_OUTPUT_ORDINAL_POSITION
clusters;MWh;production;1
clusters;NP Cost - Euro;NP Cost;2
clusters;NODU;NODU;3
clusters;Profit - Euro;profit;4
res_clusters;MWh;production;1

0 comments on commit a356e56

Please sign in to comment.