vincentarelbundock/WDI — pull request #4 by MatthieuStigler (2012-06-22 11:18:07+00:00)
Title: WDI: problem with multiple countries and indicators

When multiple indicators are downloaded for many countries, one has a strucutre like:

[[1]] coun 1 var 1

[[2]] coun 1 var 2

[[3]] coun 2 var 1

[[4]] coun 2 var 2

this is not easily merged with dat = Reduce(function(x,y) merge(x,y,all=TRUE), dat)

Proposed solution is to first "rbind" same indicators over different countries, then apply usual
dat = Reduce(function(x,y) merge(x,y,all=TRUE), dat)

but there is surely a most elegant/efficient solution!