================================================================================
                The Center for Global Trade Analysis (GTAP)                         
        	GTAP Data Base aggregation facilty for GTAP-RD model

Created:       EC Feb 2019
Last modified: EC Oct 2020
Questions/comments: ecorong@purdue.edu 
================================================================================

-------------------- 
General instructions
-------------------- 
Follow these steps to aggregate the GTAP Data Base for use by the GTAP-RD model

 Step 1: Copy GTAP-RD-DataAgg folder to your preferred directory

 Step 2: Make a copy of GTAP-RD-Dv10-10x10.txt, rename, then modify based on your 
         preferred aggregation (say, Data-10x10.txt)

 Step 3: Open a DOS or CMD box, then type:  
                RunAgg c: gtap10A gtap 2014 GTAP-RD-DB10-10x10
                where 
                c:     	             is the location of GTAPAg2 folder
    	     	gtap10A	             is the GTAP Data version
    	     	gtap 	             is the GTAP Data to be used
    	     	2014   	             is the Data base year 
    	     	GTAP-RD-DB10-10x10   is your aggregation input file 
        	    Note: Do NOT include .txt when you type GTAP-RD-DB10-10x10 above
     
     Example A: If the GTAPAgg2 folder is in a different location, say v,
                instead of c, then type: 

                RunAgg v: gtap10 gtap 2014 GTAP-RD-DB10-10x10
                where 
                v:     	             is the location of GTAPAg2 folder

     Example B: If you want to use a satellite GTAP Data Base, say GTAP-E, then type: 
 
                RunAgg c: gtap10 gtap-e 2014 GTAP-RD-e-DB10-8x9
                where 
                c:     	             is the location of GTAPAg2 folder
    	     	gtap10A	             is the GTAP Data version
    	     	gtap-e 	             is the GTAP Data to be used
    	     	2014   	             is the Data base year 
    	     	GTAP-RD-e-DB10-8x9   is your aggregation input file 

     Example C: If you want to use an older GTAP Data Base, say GTAP9A, 
                then type: 
 
                RunAgg c: gtap10 gtap 2014 GTAP-RD-DB10-10x10
                where 
                c:     	             is the location of GTAPAg2 folder
    	     	gtap10 	             is the GTAP Data version
    	     	gtap 	             is the GTAP Data to be used
    	     	2014   	             is the Data base year 
    	     	GTAP-RD-DB9A-10x10   is your aggregation input file 


----------- 
End of file
-----------
