source('./predict.R')

## [1] "2020-05-22"
##                 country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1         United States     1622337   382936    96385     1.69       5.94
## 2                Russia      326448    99825     3249     2.80       1.00
## 3                Brazil      312074   125960    20112     6.09       6.44
## 4                 Spain      280117   196958    27940     0.21       9.97
## 5        United Kingdom      254195     1918    36393     1.31      14.32
## 6                 Italy      228006   134560    32486     0.28      14.25
## 7                France      181826    63858    28215     0.14      15.52
## 8               Germany      179841   160376     8401     0.28       4.67
## 9                Turkey      153548   114990     4249     0.63       2.77
## 10                 Iran      131652   102276     7300     1.79       5.54
## 11                India      120532    49872     3605     6.23       2.99
## 12                 Peru      108769    43587     3148     4.57       2.89
## 13                China       84522    79738     4645     0.01       5.50
## 14               Canada       81324    41715     6152     1.50       7.56
## 15         Saudi Arabia       67719    39003      364     4.06       0.54
## 16               Mexico       59567    40657     6510     5.25      10.93
## 17                Chile       57581    23992      589     7.39       1.02
## 18              Belgium       56511    15123     9212     0.49      16.30
## 19             Pakistan       50694    15201     1067     5.41       2.10
## 20          Netherlands       44888      322     5788     0.42      12.89
## 21                Qatar       38651     7288       17     0.00       0.04
## 22              Ecuador       35306     3557     2939     1.30       8.32
## 23              Belarus       34303    12833      190     2.79       0.55
## 24               Sweden       32172     4971     3871     0.00      12.03
## 25          Switzerland       30707    27900     1903     0.04       6.20
## 26            Singapore       30426    12117       23     2.06       0.08
## 27           Bangladesh       30205     6190      432     5.94       1.43
## 28             Portugal       29912     6452     1277     0.00       4.27
## 29 United Arab Emirates       26898    12755      237     3.44       0.88
## 30              Ireland       24391    21060     1583     0.31       6.49
## 31            Indonesia       20796     5057     1326     3.14       6.38
## 32               Poland       20379     8731      973     1.98       4.77
## 33              Ukraine       20148     6585      588     2.24       2.92
## 34               Kuwait       19564     5515      138     5.13       0.71
## 35         South Africa       19137     8950      369     0.00       1.93
## 36             Colombia       18330     4431      652     3.64       3.56
## 37              Romania       17712    10777     1159     0.72       6.54
## 38               Israel       16690    13915      279     0.12       1.67
## 39                Japan       16543    13005      814     0.15       4.92
## 40              Austria       16436    15005      635     0.20       3.86
## 41                Egypt       15003     4217      696     5.44       4.64
## 42   Dominican Republic       13657     7366      448     1.34       3.28
## 43          Philippines       13597     3092      857     1.21       6.30
## 44              Denmark       11380     9841      561     0.57       4.93
## 45          South Korea       11142    10162      264     0.18       2.37
## 46               Serbia       11024     5370      237     0.96       2.15
## 47               Panama       10116     6245      291     1.39       2.88

## [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-22   China     Jilin         154      127        2     2
## 2 2020-05-22   China   Sichuan         563      558        3     2
## 3 2020-05-22   China Hong Kong        1065     1029        4     2