correct_format_of_iamc_dataframe {mipplot}R Documentation

correct data format of given IAMC data table

Description

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

Usage

correct_format_of_iamc_dataframe(iamc_data)

Arguments

iamc_data

IAMC dataset described above

Value

modified dataframe


[Package mipplot version 0.3.1 Index]