source('./predict.R')

##                 country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1         United States      987916   118781    55425     2.81       5.61
## 2                 Spain      236199   127609    23521     5.56       9.96
## 3                 Italy      197675    64928    26644     1.19      13.48
## 4                France      162220    45681    22890     0.36      14.11
## 5               Germany      159103   122167     6052     0.59       3.80
## 6        United Kingdom      154037     1918    20794     0.78      13.50
## 7                Turkey      110130    29140     2805     2.19       2.55
## 8                  Iran       91472    70933     5806     1.10       6.35
## 9                Russia       87147     7346      794     7.66       0.91
## 10                China       84341    78596     4643     0.00       5.51
## 11               Brazil       63328    30152     4298     6.75       6.79
## 12               Canada       47147    17321     2663     3.95       5.65
## 13              Belgium       46687    10878     7207     1.20      15.44
## 14          Netherlands       38245      322     4518     1.06      11.81
## 15          Switzerland       29164    21800     1640     0.35       5.62
## 16                India       28380     6523      886     5.44       3.12
## 17                 Peru       27517     8088      728     8.63       2.65
## 18             Portugal       24027     1357      928     0.68       3.86
## 19              Ecuador       22719     1366      576     0.00       2.54
## 20              Ireland       19262     9233     1087     3.78       5.64
## 21               Sweden       18926     1005     2274     1.53      12.02
## 22         Saudi Arabia       18811     2531      144     7.36       0.77
## 23               Israel       15466     6796      202     0.44       1.31
## 24              Austria       15274    12362      549     0.32       3.59
## 25               Mexico       14677     8354     1351     6.03       9.20
## 26            Singapore       14423     1060       12     5.86       0.08
## 27                Japan       13613     2905      394     1.30       2.89
## 28                Chile       13331     7024      189     3.68       1.42
## 29             Pakistan       13328     2936      281     4.76       2.11
## 30               Poland       11761     2466      539     3.21       4.58
## 31              Romania       11339     3141      631     2.75       5.56
## 32              Belarus       11289     1740       75     7.89       0.66
## 33                Qatar       11244     1066       10     9.30       0.09
## 34          South Korea       10738     8764      243     0.09       2.26
## 35 United Arab Emirates       10349     1978       76     0.00       0.73

## [1] "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 suspected
## 1 2020-04-27   China       Shanghai         644      581        7         0
## 2 2020-04-27   China Inner Mongolia         199      145        1         0
##   added
## 1     2
## 2     1