source('./predict.R')
## country cum_confirm cum_heal cum_dead death_rate
## 1 United States 765738 71281 40670 5.3112
## 2 Spain 200210 80587 20852 10.4151
## 3 Italy 178972 47055 23660 13.2199
## 4 France 154097 37183 19744 12.8127
## 5 Germany 147016 102500 4715 3.2071
## 6 United Kingdom 124743 1918 16509 13.2344
## 7 Turkey 86306 11976 2017 2.3370
## 8 China 84250 77978 4642 5.5098
## 9 Iran 83505 59273 5209 6.2379
## 10 Russia 47121 3446 405 0.8595
## 11 Belgium 39983 8895 5828 14.5762
## 12 Brazil 39144 22130 2484 6.3458
## 13 Canada 35056 11843 1587 4.5270
## 14 Netherlands 33405 250 3751 11.2289
## 15 Switzerland 27944 17800 1406 5.0315
## 16 Portugal 20863 610 735 3.5230
## 17 India 17615 2854 559 3.1734
## 18 Peru 15628 6811 400 2.5595
## 19 Ireland 15251 77 610 3.9997
## 20 Austria 14795 10631 470 3.1767
## 21 Sweden 14777 550 1580 10.6923
## 22 Israel 13654 3872 173 1.2670
## 23 Japan 11152 1239 261 2.3404
## 24 South Korea 10674 8114 236 2.2110
## 25 Saudi Arabia 10484 1398 97 0.9252
## 26 Chile 10088 4338 133 1.3184
## 27 Ecuador 9468 1061 474 5.0063
## 28 Poland 9453 1133 362 3.8295
## 29 Romania 8936 2017 460 5.1477
## 30 Pakistan 8418 1970 176 2.0908
## 31 Mexico 8261 2627 686 8.3041
## 32 Singapore 8014 768 11 0.1373
## 33 Denmark 7580 4328 355 4.6834
## 34 United Arab Emirates 7265 1360 41 0.5643
## 35 Norway 7103 32 165 2.3230
## 36 Czech Republic 6787 1311 188 2.7700
## 37 Indonesia 6760 747 590 8.7278
## 38 Serbia 6630 870 125 1.8854
## 39 Australia 6619 4258 71 1.0727
## 40 Philippines 6459 613 428 6.6264
## 41 Belarus 6264 514 51 0.8142
## 42 Qatar 6015 555 9 0.1496
## 43 Ukraine 5710 359 151 2.6445
## 44 Malaysia 5425 3295 89 1.6406
## [1] "leading cum_confirm == 0 trimed"
## [1] "Province added more than 10 cases in last 7 days:"
## time country province cum_confirm cum_heal cum_dead suspected added
## 1 2020-04-20 China Hubei 68128 63514 4512 0 325
## 2 2020-04-20 China Heilongjiang 913 475 13 0 94
## 3 2020-04-20 China Taiwan 422 203 6 0 29
## 4 2020-04-20 China Shanxi 197 140 0 0 24
## 5 2020-04-20 China Shanghai 638 530 7 0 20
## 6 2020-04-20 China Guangdong 1582 1501 8 0 18
## 7 2020-04-20 China Hong Kong 1025 630 4 0 16