source('./predict.R')

## [1] "2020-05-07"
##                 country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1         United States     1265212   213126    74881     2.05       5.92
## 2                 Spain      256855   163919    26070     1.25      10.15
## 3                 Italy      214457    93245    29684     0.68      13.84
## 4        United Kingdom      202359     1918    30150     3.12      14.90
## 5                Russia      177160    23803     1625     6.77       0.92
## 6                France      174224    53972    25812     2.07      14.82
## 7               Germany      168483   140334     7336     0.37       4.35
## 8                Turkey      131744    78202     3584     1.74       2.72
## 9                Brazil      127389    51370     8605     9.54       6.75
## 10                 Iran      103135    82744     6486     1.46       6.29
## 11                China       84414    79305     4643     0.01       5.50
## 12               Canada       64694    27816     4366     2.34       6.75
## 13                 Peru       54817    17527     1533     7.09       2.80
## 14                India       53045    15331     1787     7.30       3.37
## 15              Belgium       51420    12980     8415     1.26      16.37
## 16          Netherlands       41774      322     5288     1.10      12.66
## 17         Saudi Arabia       33731     7798      219     5.61       0.65
## 18          Switzerland       30126    25700     1808     0.22       6.00
## 19              Ecuador       29420     3433     1618    -7.72       5.50
## 20               Mexico       27634    16810     2704     6.18       9.79
## 21             Portugal       26715     2258     1105     2.04       4.14
## 22               Sweden       24623     4074     3040     2.95      12.35
## 23             Pakistan       24073     6464      564     6.75       2.34
## 24                Chile       23048    11189      281     4.69       1.22
## 25              Ireland       22248    17110     1375     1.21       6.18
## 26            Singapore       20939     1634       20     3.67       0.10
## 27              Belarus       20168     5067      116     4.74       0.58
## 28                Qatar       18890     2286       12     5.11       0.06
## 29               Israel       16346    10737      239     0.20       1.46
## 30 United Arab Emirates       16240     3572      165     6.90       1.02
## 31              Austria       15752    13698      609     0.43       3.87
## 32                Japan       15574     5238      590     0.63       3.79
## 33               Poland       14898     4862      737     1.71       4.95
## 34              Romania       14499     6144      881     2.78       6.08
## 35              Ukraine       13691     2396      340     3.85       2.48
## 36            Indonesia       12776     2381      930     2.72       7.28
## 37           Bangladesh       12425     1910      199     6.02       1.60
## 38          South Korea       10810     9419      256     0.04       2.37
## 39          Philippines       10343     1618      685     3.39       6.62
## 40              Denmark       10136     7492      503     0.00       4.96

## [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-07   China Hong Kong        1044      944        4     4
## 2 2020-05-07   China  Shanghai         657      623        7     1
## 3 2020-05-07   China Guangdong        1589     1575        8     1
## 4 2020-05-07   China    Taiwan         440      347        6     1