App foR ImpAct (ARIA) is an R package which helps in providing a user friendly way to extract and browse some basic results from an IMPACT (International Model for Policy Analysis of Agricultural Commodities and Trade) model run.
ARIA is built using two R libraries developed in house by the Foresight and Policy Modeling Unit of International Food Policy Research Institute (IFPRI).
The two libraries are DOORMAT
and
reportIMPACT
, both of which are available on GitHub on the
following links:
To browse some basic outputs from ARIA, the first step is to load the
required ARIA
library using:
The core function to fireup the app locally on your computer is
called appIMPACT
.
appIMPACT
requires the location of the
./OutputFiles/Scenarios
folder loaction in the IMPACT model
directory before it can extract the results from a gdx
file
which contains the final outputs from an IMPACT model run.
appIMPACT
can also take a base_year
argument to calculate some relative indicators. If this argument is not
provided, the app with automatically try to capture the first available
datapoint in the IMPACT results for calculation of relative
indicators.
The first step is to provide the folder
argument to
appARIA
. This can be done in two ways:
./OutputFiles/Scenarios
path in an R
objectThis can be done by using
This object can then be passed on to the appIMPACT
function
In case of questions / problems please contact Abhijeet Mishra ([email protected])