dfFlows= {
let migrationtable = []
for (let i=0; i< 210; i++)
{
let newRow = {}
newRow['Country'] = countrycode [i];
newRow ['Summed Inflows'] = inflowSum[i].sum;
newRow ['Summed Outflows'] = outflowSum[i].sum;
newRow ['Summed Stock of Foreign-Born'] = stockSum[i].sum;
migrationtable.push(newRow)
}
return migrationtable;
}