source('./predict.R')

## [1] "2020-05-30"
##                 country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1         United States     1796810   519715   104626     1.42       5.82
## 2                Brazil      468338   193181    27944     6.73       5.97
## 3                Russia      396575   167469     4555     2.31       1.15
## 4                 Spain      285644   196958    27121     0.23       9.49
## 5        United Kingdom      271222     1918    38161     0.78      14.07
## 6                 Italy      232248   152844    33229     0.22      14.31
## 7                France      186835    67803    28714     0.32      15.37
## 8               Germany      183673   167823     8702     0.33       4.74
## 9                 India      175957    83878     4996     4.11       2.84
## 10               Turkey      162120   125963     4489     0.71       2.77
## 11                 Iran      148950   116827     7734     1.56       5.19
## 12                 Peru      148285    62791     4230     4.59       2.85
## 13                Chile       90638    38598      944     4.25       1.04
## 14               Canada       89418    47518     6979     1.02       7.80
## 15               Mexico       84627    59610     9415     3.96      11.13
## 16                China       84569    79806     4645     0.01       5.49
## 17         Saudi Arabia       83384    58883      480     1.98       0.58
## 18             Pakistan       66457    24131     1395     3.79       2.10
## 19              Belgium       58186    15769     9453     0.22      16.25
## 20                Qatar       55262    25839       36     4.45       0.07
## 21          Netherlands       46257      322     5951     0.28      12.87
## 22           Bangladesh       44608     9375      610     4.12       1.37
## 23              Belarus       41658    17964      229     2.19       0.55
## 24              Ecuador       38571    19190     3334     0.26       8.64
## 25               Sweden       36476     4971     4350     0.00      11.93
## 26            Singapore       34366    19631       23     1.49       0.07
## 27 United Arab Emirates       33170    17097      260     0.00       0.78
## 28             Portugal       32203    19186     1396     0.80       4.33
## 29          Switzerland       30845    28400     1919     0.06       6.22
## 30         South Africa       29240    15093      611     6.70       2.09
## 31             Colombia       26688     6913      853     5.21       3.20
## 32               Kuwait       26192    10156      205     4.00       0.78
## 33            Indonesia       25773     7015     1573     2.21       6.10
## 34              Ireland       24876    22089     1645     0.14       6.61
## 35               Poland       23376    11016     1051     1.79       4.50
## 36              Ukraine       23204     9311      696     1.72       3.00
## 37                Egypt       22082     5511      879     6.20       3.98
## 38              Romania       19133    13046     1259     0.80       6.58
## 39          Philippines       17224     3808      950     3.55       5.52
## 40               Israel       17008    14776      284     0.72       1.67
## 41                Japan       16877    14406      894     0.26       5.30
## 42              Austria       16685    15520      668     0.18       4.00
## 43   Dominican Republic       16531     9266      488     2.88       2.95
## 44            Argentina       15419     4788      520     4.88       3.37
## 45          Afghanistan       14525     1303      249     6.34       1.71
## 46               Panama       12531     7540      326     3.30       2.60
## 47              Denmark       11712    10378      568     0.00       4.85
## 48          South Korea       11441    10398      269     0.34       2.35
## 49               Serbia       11381     6606      242     0.24       2.13
## 50              Bahrain       10740     5811       15     3.75       0.14
## 51                 Oman       10423     2396       42     6.14       0.40
## 52           Kazakhstan       10382     5057       38     4.53       0.37

## [1] "Pakistan leading cum_confirm == 0 trimed"

## [1] "Provinces added more than 0 cases in last 1 days:"
##         time country  province cum_confirm cum_heal cum_dead added
## 1 2020-05-30   China  Shandong         791      780        7     3
## 2 2020-05-30   China Hong Kong        1082     1036        4     3
## 3 2020-05-30   China  Shanghai         672      657        7     1
## 4 2020-05-30   China Guangdong        1593     1583        8     1