source('./predict.R')

## [1] "2020-05-06"
##                 country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1         United States     1239847   201152    72381     2.13       5.84
## 2                 Spain      253682   159359    25857     1.25      10.19
## 3                 Italy      213013    85231    29315     0.51      13.76
## 4        United Kingdom      196243     1918    29501     2.97      15.03
## 5                France      170687    52736    25537     0.65      14.96
## 6               Germany      167867   139397     7262     0.52       4.33
## 7                Russia      165929    21327     1537     6.80       0.93
## 8                Turkey      129491    73285     3520     1.44       2.72
## 9                Brazil      116299    48221     7966     7.07       6.85
## 10                 Iran      101650    81587     6418     1.68       6.31
## 11                China       84407    79246     4643     0.00       5.50
## 12               Canada       63215    27006     4190     4.02       6.63
## 13                 Peru       51189    15413     1444     8.06       2.82
## 14              Belgium       50781    12731     8339     0.54      16.42
## 15                India       49436    14183     1695     5.83       3.43
## 16          Netherlands       41319      322     5204     0.56      12.59
## 17         Saudi Arabia       31938     6783      209     5.58       0.65
## 18              Ecuador       31881     3433     1569     0.00       4.92
## 19          Switzerland       30060    25400     1795     0.17       5.97
## 20             Portugal       26182     2076     1089     1.87       4.16
## 21               Mexico       26025    16810     2507     4.50       9.63
## 22               Sweden       23918     4074     2941     3.02      12.30
## 23             Pakistan       22550     6217      526     4.88       2.33
## 24                Chile       22016    10710      275     6.65       1.25
## 25              Ireland       21983    13386     1339     0.97       6.09
## 26            Singapore       20198     1519       18     4.06       0.09
## 27              Belarus       19255     4388      112     4.93       0.58
## 28                Qatar       17972     2070       12     4.84       0.07
## 29               Israel       16314    10527      238     0.28       1.46
## 30              Austria       15684    13639      608     0.22       3.88
## 31                Japan       15477     5238      567     0.67       3.66
## 32 United Arab Emirates       15192     3153      146     0.00       0.96
## 33               Poland       14647     4655      723     2.84       4.94
## 34              Romania       14107     5788      858     1.95       6.08
## 35              Ukraine       13184     2097      327     3.84       2.48
## 36            Indonesia       12438     2317      895     3.04       7.20
## 37           Bangladesh       11719     1403      186     7.23       1.59
## 38          South Korea       10806     9333      255     0.02       2.36
## 39              Denmark       10136     7492      503     2.72       4.96
## 40          Philippines       10004     1506      658     3.30       6.58

## [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-06   China  Shaanxi         308      264        3     2
## 2 2020-05-06   China   Taiwan         439      339        6     1