source('./predict.R')

## [1] "2020-06-28"
##                 country cum_confirm cum_heal cum_dead inc_r death_r dead_pm
## 1         United States     2597742  1081531   128163  1.68    4.93     387
## 2                Brazil     1319274   715905    57149  3.04    4.33     269
## 3                Russia      634437   399087     9073  1.08    1.43      62
## 4                 India      538689   316823    16262  3.81    3.02      12
## 5                 Chile      267766   228055     5347  1.67    2.00     280
## 6                 Spain      295549   196958    28341  0.19    9.59     606
## 7                 Italy      240136   188584    34716  0.07   14.46     574
## 8                  Iran      222669   183310    10508  1.13    4.72     125
## 9               Germany      195399   180318     9128  0.18    4.67     109
## 10               Turkey      195883   169182     5082  0.71    2.59      60
## 11                 Peru      275989   164024     9135  1.33    3.31     277
## 12         Saudi Arabia      182493   124755     1551  2.23    0.85      45
## 13               Mexico      212802   123797    26381  2.12   12.40     205
## 14             Pakistan      202955    92624     4118  2.05    2.03      19
## 15                China       85193    80036     4648  0.02    5.46       3
## 16                Qatar       94413    78702      110  0.80    0.12      38
## 17               France      162936    75351    29778  0.00   18.28     456
## 18         South Africa      131800    67094     2413  5.79    1.83      41
## 19               Canada      102963    65915     8516  0.16    8.27     226
## 20           Bangladesh      137787    55727     1738  2.84    1.26      11
## 21              Belarus       61475    45027      383  0.62    0.62      41
## 22            Singapore       43459    37163       26  0.49    0.06       4
## 23             Colombia       88591    36273     2939  4.91    3.32      58
## 24 United Arab Emirates       47360    35834      311  0.82    0.66      31
## 25               Kuwait       44942    35494      348  1.24    0.77      81
## 26          Switzerland       31617    29100     1962  0.20    6.21     227
## 27              Ecuador       54574    26920     4424  1.33    8.11     251
## 28             Portugal       41189    26864     1561  0.00    3.79     153
## 29              Ireland       25437    23364     1734  0.09    6.82     351
## 30            Indonesia       54010    22936     2754  2.27    5.10      10
## 31                 Oman       38150    21200      163  3.24    0.43      32
## 32                 Iraq       45402    21122     1756  4.95    3.87      44
## 33               Poland       33907    20548     1438  0.57    4.24      38
## 34            Argentina       57744    20134     1217  4.34    2.11      27
## 35              Bahrain       25267    19781       78  1.86    0.31      46
## 36              Ukraine       42982    18934     1129  2.18    2.63      26
## 37              Romania       26313    18814     1612  1.12    6.13      84
## 38                Egypt       63923    17140     2708  1.86    4.24      26
## 39               Israel       23497    17019      318  3.06    1.35      37
## 40              Belgium       61295    16941     9732  0.14   15.88     840
## 41   Dominican Republic       30619    16666      718  2.87    2.34      66
## 42                Japan       18521    16506      972  0.62    5.25       8
## 43              Austria       17654    16401      702  0.42    3.98      78
## 44               Panama       30658    15370      592  2.52    1.93     137
## 45              Armenia       24645    13116      426  3.08    1.73     144
## 46           Kazakhstan       20780    12738      173  2.27    0.83       9
## 47          Afghanistan       30967    12588      737  1.15    2.38      19
## 48               Serbia       14046    12464      270  1.84    1.92      31
## 49                Ghana       16431    12257      103  3.77    0.63       3
## 50              Denmark       12875    11708      604  0.00    4.69     104
## 51          South Korea       12715    11364      282  0.49    2.22       6
## 52             Cameroon       12592    10100      313  0.00    2.49      12
## 53          Philippines       35455     9686     1244  1.87    3.51      11
## 54              Algeria       12968     9202      892  2.23    6.88      20
## 55              Moldova       16250     9081      530  3.00    3.26     131
## 56              Morocco       11986     8730      220  1.11    1.84       6
## 57           Azerbaijan       15890     8719      193  3.39    1.21      19
## 58              Nigeria       24077     8625      558  3.34    2.32       3
## 59              Bolivia       30676     8158      970  4.26    3.16      83
## 60       Czech Republic       11306     7682      349  2.37    3.09      33
## 61               Sweden       65137     4971     5280  0.00    8.11     523
## 62            Guatemala       16397     3123      706  3.59    4.31      39
## 63                Nepal       12772     3013       28  3.76    0.22       1
## 64       United Kingdom      311151     1918    43550  0.58   14.00     642
## 65             Honduras       17007     1767      479  6.33    2.82      48
## 66          Netherlands       50147      322     6105  0.15   12.17     356

## [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-28   China   Beijing         905      585        9    14
## 2 2020-06-28   China Hong Kong        1199     1104        7     2
## 3 2020-06-28   China  Liaoning         155      147        2     1
## 4 2020-06-28   China  Shanghai         707      675        7     1
## 5 2020-06-28   China   Shaanxi         320      307        3     1