source('./predict.R')

## [1] "2020-06-27"
##                 country cum_confirm cum_heal cum_dead inc_r death_r dead_pm
## 1                  Iraq       43262    19938     1660 10.53    3.84      41
## 2             Argentina       55343    19143     1192  5.50    2.15      26
## 3          South Africa      124590    64111     2340  5.25    1.88      39
## 4              Colombia       84442    34937     2811  4.77    3.33      55
## 5                 Nepal       12309     2834       28  4.71    0.23       1
## 6                 India      518936   302945    15880  4.44    3.06      12
## 7              Honduras       15994     1678      471  4.09    2.94      48
## 8                Brazil     1280335   697526    56121  3.83    4.38     264
## 9               Morocco       11854     8700      218  3.39    1.84       6
## 10              Bolivia       29423     7736      934  3.23    3.17      80
## 11              Nigeria       23298     8253      554  3.02    2.38       3
## 12              Bahrain       24805    19137       78  3.01    0.31      46
## 13               Panama       29905    15270      575  2.99    1.92     133
## 14           Kazakhstan       20319    12548      150  2.88    0.74       8
## 15              Armenia       23909    12911      421  2.85    1.76     142
## 16           Bangladesh      133978    54318     1695  2.69    1.27      10
## 17            Indonesia       52812    21909     2720  2.69    5.15      10
## 18               Mexico      208392   120562    25779  2.68   12.37     200
## 19                Egypt       62755    16737     2620  2.66    4.17      26
## 20                 Oman       36953    20363      159  2.55    0.43      31
## 21                Ghana       15834    11755      103  2.33    0.65       3
## 22              Ukraine       42065    18701     1110  2.31    2.64      25
## 23         Saudi Arabia      178504   122128     1511  2.25    0.85      43
## 24   Dominican Republic       29764    16357      712  2.14    2.39      66
## 25          Philippines       34803     9430     1236  2.14    3.55      11
## 26              Moldova       15776     8765      515  2.09    3.26     128
## 27              Algeria       12685     9066      885  1.93    6.98      20
## 28        United States     2554807  1068868   127688  1.93    5.00     386
## 29               Serbia       13792    12338      267  1.67    1.94      31
## 30                Chile      263360   223431     5068  1.66    1.92     265
## 31       Czech Republic       11044     7669      349  1.60    3.16      33
## 32             Pakistan      198883    86906     4035  1.60    2.03      18
## 33               Kuwait       44391    34586      344  1.57    0.77      81
## 34                 Peru      272364   159806     8939  1.40    3.28     271
## 35            Guatemala       15828     3028      672  1.34    4.25      38
## 36              Ecuador       53856    26493     4406  1.32    8.18     250
## 37              Romania       26022    18530     1589  1.26    6.11      83
## 38                 Iran      220180   180661    10364  1.13    4.71     123
## 39               Russia      627646   393352     8969  1.10    1.43      61
## 40               France      162936    75351    29778  0.98   18.28     456
## 41               Poland       33714    19972     1436  0.96    4.26      38
## 42                Qatar       93663    77225      110  0.95    0.12      38
## 43             Portugal       41189    26864     1561  0.79    3.79     153
## 44               Israel       22800    16872      314  0.72    1.38      36
## 45               Turkey      194511   167198     5065  0.72    2.60      60
## 46            Singapore       43246    36825       26  0.68    0.06       4
## 47              Belarus       61095    44126      377  0.63    0.62      40
## 48          Afghanistan       30616    10674      703  0.54    2.30      18
## 49                Japan       18406    16452      972  0.50    5.28       8
## 50       United Kingdom      309360     1918    43414  0.45   14.03     640
## 51          South Korea       12653    11317      282  0.40    2.23       6
## 52              Austria       17580    16371      700  0.33    3.98      78
## 53              Germany      195044   179882     9117  0.30    4.67     109
## 54              Denmark       12875    11708      604  0.30    4.69     104
## 55          Switzerland       31555    29000     1962  0.22    6.22     227
## 56              Belgium       61209    16941     9732  0.17   15.90     840
## 57               Canada      102794    65726     8508  0.17    8.28     225
## 58                Spain      294985   196958    28338  0.14    9.61     606
## 59          Netherlands       50074      322     6105  0.14   12.19     356
## 60                Italy      239961   187615    34708  0.11   14.46     574
## 61              Ireland       25414    23364     1730  0.04    6.81     350
## 62                China       85174    80021     4648  0.03    5.46       3
## 63 United Arab Emirates       46973    35469      310  0.00    0.66      31
## 64           Azerbaijan       15369     8364      187  0.00    1.22      18
## 65             Cameroon       12592    10100      313  0.00    2.49      12
## 66               Sweden       65137     4971     5280  0.00    8.11     523

## [1] "Pakistan leading 1 cum_confirm == 0 trimed"

## [1] "Provinces added more than 0 cases in last 1-day:"
##         time country  province cum_confirm cum_heal cum_dead added
## 1 2020-06-27   China   Beijing         891      585        9    17
## 2 2020-06-27   China Guangdong        1637     1622        8     2
## 3 2020-06-27   China     Gansu         163      140        2     2
## 4 2020-06-27   China  Shanghai         706      675        7     1
## 5 2020-06-27   China Hong Kong        1197     1095        7     1