source('./predict.R')

## [1] "2020-05-03"
##                 country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1         United States     1163372   173910    67535     2.58       5.81
## 2                 Spain      247122   148558    25264     0.63      10.22
## 3                 Italy      209328    79914    28710     0.92      13.72
## 4        United Kingdom      183500     1918    28205     3.41      15.37
## 5                France      168396    50562    24760     0.63      14.70
## 6               Germany      165861   134468     6940     0.46       4.18
## 7                Russia      134686    16639     1280     8.57       0.95
## 8                Turkey      124375    58259     3336     1.62       2.68
## 9                  Iran       97424    78422     6203     1.01       6.37
## 10               Brazil       97100    40937     6761     4.83       6.96
## 11                China       84393    78966     4643     0.00       5.50
## 12               Canada       57926    23795     3684     5.20       6.36
## 13              Belgium       49906    12309     7844     0.79      15.72
## 14                 Peru       42534    12434     1200     5.13       2.82
## 15          Netherlands       40571      322     5056     0.83      12.46
## 16                India       40263    10886     1323     6.58       3.29
## 17          Switzerland       29905    24200     1762     0.30       5.89
## 18              Ecuador       27464     2132     1371     4.28       4.99
## 19         Saudi Arabia       27011     4134      184     6.10       0.68
## 20             Portugal       25282     1689     1043    -0.27       4.13
## 21               Sweden       22317     1005     2679     1.06      12.00
## 22               Mexico       22088    12377     2061     6.50       9.33
## 23              Ireland       21176    13386     1286     1.65       6.07
## 24             Pakistan       19103     4817      440     5.46       2.30
## 25                Chile       18435     9572      247     8.39       1.34
## 26            Singapore       18205     1347       17     3.74       0.09
## 27              Belarus       16705     3196       99     5.54       0.59
## 28               Israel       16193     9634      230     0.25       1.42
## 29              Austria       15597    13228      598     0.25       3.83
## 30                Qatar       15551     1664       12     4.57       0.08
## 31                Japan       15077     3981      536     1.34       3.56
## 32 United Arab Emirates       14163     2763      126     8.63       0.89
## 33               Poland       13693     3945      678     2.38       4.95
## 34              Romania       13163     4869      790     3.39       6.00
## 35              Ukraine       11913     1548      288     4.40       2.42
## 36            Indonesia       11192     1876      845     3.22       7.55
## 37          South Korea       10793     9183      250     0.12       2.32

## [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 added
## 1 2020-05-03   China   Shanxi         198      176        0     1
## 2 2020-05-03   China Shanghai         653      615        7     1