source('./predict.R')

## [1] "2020-05-04"
##                 country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1         United States     1191849   178671    68702     2.45       5.76
## 2                 Spain      248301   151633    25428     0.48      10.24
## 3                 Italy      210717    81654    28884     0.66      13.71
## 4        United Kingdom      186599     1918    28446     1.69      15.24
## 5                France      168693    50784    24895     0.18      14.76
## 6               Germany      166525   136228     7004     0.40       4.21
## 7                Russia      145268    18095     1356     7.86       0.93
## 8                Turkey      126045    63151     3397     1.34       2.70
## 9                Brazil      101826    42991     7051     4.87       6.92
## 10                 Iran       98647    79397     6277     1.26       6.36
## 11                China       84403    79043     4643     0.01       5.50
## 12               Canada       59474    24908     3682     2.67       6.19
## 13              Belgium       50267    12378     7924     0.72      15.76
## 14                 Peru       45928    13550     1286     7.98       2.80
## 15                India       42836    11782     1395     6.39       3.26
## 16          Netherlands       40770      322     5082     0.49      12.47
## 17          Switzerland       29981    24500     1762     0.25       5.88
## 18              Ecuador       29538     3300     1564     7.55       5.29
## 19         Saudi Arabia       28656     4134      190     6.09       0.66
## 20             Portugal       25524     1712     1063     0.96       4.16
## 21               Mexico       23471    13447     2154     6.26       9.18
## 22               Sweden       22721     1005     2769     1.81      12.19
## 23              Ireland       21506    13386     1303     1.56       6.06
## 24             Pakistan       20186     5590      462     5.67       2.29
## 25                Chile       19663    10041      260     6.66       1.32
## 26            Singapore       18778     1408       18     3.15       0.10
## 27              Belarus       17489     3259      103     4.69       0.59
## 28               Israel       16237     9858      234     0.27       1.44
## 29                Qatar       16191     1810       12     4.12       0.07
## 30              Austria       15621    13316      600     0.15       3.84
## 31                Japan       15253     4496      556     1.17       3.65
## 32 United Arab Emirates       14163     2763      126     0.00       0.89
## 33               Poland       13937     4095      683     1.78       4.90
## 34              Romania       13512     5269      803     2.65       5.94
## 35              Ukraine       12331     1619      303     3.51       2.46
## 36            Indonesia       11587     1954      864     3.53       7.46
## 37          South Korea       10801     9217      252     0.07       2.33
## 38           Bangladesh       10143     1209      182     7.28       1.79

## [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-04   China    Taiwan         438      334        6     6
## 2 2020-05-04   China  Shanghai         655      619        7     2
## 3 2020-05-04   China  Shandong         788      773        7     1
## 4 2020-05-04   China Hong Kong        1040      900        4     1