$title CSVRead Example 6 - Reading economic Data from the World Bank Data Catalog (CSV2GDXE6,115) $onText The CSVRead tool is used to read GDP growth rate data from the World Bank Data Catalog. To get an idea about the data, please have a look at the reference below. This model is referenced in "Getting Started Example 5 - Reading economic data from the World Bank Data Catalog" from the CSVRead Documentation. Keywords: CSVRead, data exchange, GAMS language features $offText * The option checkDate is enabled to save resources $if not exist GDPData.csv $abort.noError Data ist not present! $call gamstool csvread GDPData.csv id=GDPRate index=1 values=5..lastCol useHeader=y checkDate=y trace=0 gdxout=GDPData.gdx $ifE errorLevel<>0 $abort Problems reading CSV file! Set country, year; $gdxIn GDPData.gdx $load country = dim1 $load year = dim2 Parameter GDPRate(country,year); $load GDPRate $gdxIn display country, year, GDPRate;