options(width = 100)
source('./predict.R')
## [1] "2020-10-21"
##                              country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                              India     7705158  6871898   116653  0.73   1.51   85
## 2                      United States     8578201  5585208   227301  0.68   2.65  687
## 3                             Brazil     5298772  4721593   155402  0.45   2.93  731
## 4                             Russia     1447335  1096560    24952  1.10   1.72  171
## 5                           Colombia      981700   884895    29464  0.78   3.00  579
## 6                          Argentina     1037325   840520    27519  1.80   2.65  609
## 7                               Peru      876885   792892    33937  0.32   3.87 1029
## 8                       South Africa      708359   641706    18741  0.29   2.65  316
## 9                             Mexico      860714   627584    86893  0.00  10.10  674
## 10                             Chile      495637   468269    13719  0.23   2.77  718
## 11                              Iran      545286   438709    31346  1.04   5.75  373
## 12                              Iraq      438265   369010    10418  0.84   2.38  259
## 13                      Saudi Arabia      343373   329715     5235  0.12   1.52  150
## 14                       Philippines      362243   311506     6747  0.41   1.86   62
## 15                        Bangladesh      393131   308845     5723  0.39   1.46   35
## 16                          Pakistan      324744   308674     6692  0.21   2.06   30
## 17                            Turkey      353426   308446     9513  0.57   2.69  113
## 18                           Germany      388309   301489    10041  3.15   2.59  120
## 19                         Indonesia      373109   297509    12857  1.16   3.45   47
## 20                            Israel      307335   285475     2291  0.38   0.75  265
## 21                             Italy      449648   257374    36832  3.50   8.19  609
## 22                             Spain     1046641   196958    34366  1.65   3.28  735
## 23                            Canada      205749   173392     9824  1.01   4.77  260
## 24                           Morocco      182580   151634     3079  2.00   1.69   83
## 25                           Romania      191102   137835     6065  2.60   3.17  315
## 26                           Ecuador      155625   134187    12453  0.98   8.00  706
## 27                           Ukraine      315826   132219     5927  2.17   1.88  136
## 28                             Qatar      130210   127093      225  0.20   0.17   78
## 29              United Arab Emirates      119132   111814      472  1.31   0.40   48
## 30                            Kuwait      118531   109916      721  0.69   0.61  169
## 31                            France      957421   107652    34048  2.87   3.56  522
## 32                           Bolivia      140037   105526     8526  0.11   6.09  730
## 33                        Kazakhstan      109766   105301     1796  0.13   1.64   96
## 34                            Panama      126435   102725     2597  0.55   2.05  602
## 35                Dominican Republic      122398   100051     2206  0.35   1.80  203
## 36                             Nepal      144872    99605      791  4.13   0.55   27
## 37                            Poland      202579    98884     3851  5.21   1.90  102
## 38                             Egypt      105883    98516     6155  0.17   5.81   60
## 39                              Oman      111484    97367     1137  0.41   1.02  223
## 40                         Guatemala      102415    92149     3567  0.19   3.48  199
## 41                             Japan       94626    87107     1687  0.65   1.78   13
## 42                             China       91588    86395     4746  0.03   5.18    3
## 43                    Czech Republic      208915    83136     1739  7.72   0.83  162
## 44                           Belarus       89642    80905      941  0.82   1.05  100
## 45                         Venezuela       87644    80316      747  0.00   0.85   26
## 46                           Bahrain       78907    75424      308  0.48   0.39  181
## 47                          Portugal      106271    63238     2229  2.44   2.10  219
## 48                        Uzbekistan       64010    61068      534  0.28   0.83   16
## 49                        Costa Rica       99425    60738     1236  1.53   1.24  243
## 50                         Singapore       57933    57821       28  0.02   0.05    5
## 51                           Nigeria       61667    56880     1125  0.06   1.82    5
## 52                       Switzerland       91763    54600     2039  6.49   2.22  236
## 53                           Austria       69409    52617      925  2.90   1.33  103
## 54                           Moldova       68791    49702     1630  1.23   2.37  404
## 55                           Armenia       68530    49219     1121  2.75   1.64  378
## 56                             Ghana       47461    46752      312  0.00   0.66   10
## 57                        Kyrgyzstan       53459    46444     1118  1.04   2.09  171
## 58                          Ethiopia       91118    44506     1384  0.69   1.52   12
## 59             Palestinian Territory       48628    41935      427  1.04   0.88   NA
## 60                        Azerbaijan       46593    40448      642  1.56   1.38   63
## 61                           Algeria       55081    38482     1880  0.46   3.41   43
## 62                          Paraguay       56819    37673     1250  1.33   2.20  175
## 63                          Honduras       90232    35930     2582  0.95   2.86  261
## 64                       Afghanistan       40510    33824     1501  0.38   3.71   39
## 65                             Kenya       46144    32760      858  1.09   1.86   16
## 66                            Serbia       37120    31536      781  1.40   2.10   89
## 67                           Denmark       36877    30486      688  0.00   1.87  119
## 68                           Lebanon       65577    30470      536  1.93   0.82   79
## 69                             Libya       51625    28440      765  1.41   1.48  111
## 70                       El Salvador       32120    27670      933  0.45   2.90  144
## 71            Bosnia and Herzegovina       36315    25779     1031  2.62   2.84  314
## 72                         Australia       27444    25147      905  0.05   3.30   35
## 73                       South Korea       25424    23584      450  0.00   1.77    9
## 74                           Ireland       53422    23364     1868  2.23   3.50  378
## 75                           Belgium      240159    21477    10489  4.20   4.37  905
## 76                           Croatia       28287    21435      393  5.30   1.39   96
## 77                          Cameroon       21570    20117      425  0.00   1.97   16
## 78                     Côte d'Ivoire       20363    20070      121  0.10   0.59    5
## 79                           Myanmar       39696    18865      972  3.10   2.45   18
## 80      Republika Severna Makedonija       24836    17905      862  2.65   3.47   NA
## 81                          Bulgaria       33335    17598     1048  4.62   3.14  151
## 82                        Madagascar       16810    16215      238  0.00   1.42    9
## 83                            Zambia       16000    15168      346  0.11   2.16   19
## 84                          Malaysia       22957    14931      199  3.29   0.87    6
## 85                           Hungary       50180    14905     1259  2.92   2.51  130
## 86                           Senegal       15484    13975      321  0.16   2.07   19
## 87                            Norway       16964    11863      279  1.14   1.64   51
## 88                        Montenegro       16069    11815      250  1.11   1.56  398
## 89                           Namibia       12406    10587      133  0.32   1.07   52
## 90                            Guinea       11599    10461       70  0.53   0.60    5
## 91  Democratic Republic of the Congo       11066    10362      303  0.00   2.74   NA
## 92                           Albania       17948    10341      462  1.68   2.57  161
## 93                          Maldives       11316    10284       37  0.40   0.33   68
## 94                     French Guiana       10295     9995       69  0.26   0.67  231
## 95                            Greece       27334     9989      534  3.27   1.95   51
## 96                           Finland       14071     9800      355  1.60   2.52   64
## 97                        Tajikistan       10613     9668       80  0.37   0.75    8
## 98                        Mozambique       11331     9165       79  1.26   0.70    3
## 99                           Georgia       21208     9003      172  6.80   0.81   43
## 100                       Luxembourg       11671     8473      138  3.83   1.18  220
## 101                         Slovakia       33602     8404       98  7.01   0.29   18
## 102                           Jordan       43620     7223      443  6.46   1.02   43
## 103                           Uganda       10933     7154       98  1.34   0.90    2
## 104                         Slovenia       15982     6922      200 10.43   1.25   96
## 105                            Sudan       13724     6764      836  0.00   6.09   19
## 106                          Tunisia       45892     5032      740  3.24   1.61   63
## 107                           Sweden      107355     4971     5929  0.92   5.52  587
## 108                      Puerto Rico       58830     2267      774  0.32   1.32  271
## 109                   United Kingdom      789229     1918    44158  3.50   5.60  650
## 110                      Netherlands      253134      322     6873  3.58   2.72  401

## [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-10-21   China Hong Kong        5269     5004      105     8
## 2 2020-10-21   China  Shanghai        1105     1026        7     8
## 3 2020-10-21   China Guangdong        1895     1848        8     3
## 4 2020-10-21   China   Sichuan         733      696        3     2
## 5 2020-10-21   China    Taiwan         544      495        7     1
## 6 2020-10-21   China    Fujian         419      409        1     1