correct_format_of_iamc_dataframe {mipplot} | R Documentation |
Dataset in IAMC format rule is not rigid. This function corrects data types of columns in the dataset. If necessary columns is missing, it throws exception. Output object of this function is as follows:
type: data.table columns: model: factor scenario: factor region: factor variable: factor unit: factor period: double value: double
correct_format_of_iamc_dataframe(iamc_data)
iamc_data |
IAMC dataset described above |
modified dataframe