options(width = 100)
source('./predict.R')
## [1] "2020-10-24"
##                              country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                             Mexico      880775   641075    88312  0.00  10.03  685
## 2                            Ecuador      159614   134187    12542  0.85   7.86  711
## 3                              Italy      504509   264117    37210  4.05   7.38  615
## 4                            Bolivia      140612   107633     8608  0.12   6.12  737
## 5                              Sudan       13733     6764      836  0.07   6.09   19
## 6                              Egypt      106397    98813     6187  0.16   5.82   60
## 7                               Iran      562705   450891    32320  1.04   5.74  385
## 8                             Sweden      110594     4971     5933  0.00   5.36  587
## 9                     United Kingdom      854010     1918    44745  2.77   5.24  659
## 10                             China       91675    86480     4746  0.02   5.18    3
## 11                            Canada      213959   179636     9922  1.05   4.64  263
## 12                              Peru      886214   803846    34095  0.35   3.85 1034
## 13                       Afghanistan       40768    34023     1511  0.20   3.71   39
## 14                           Belgium      287700    22517    10658  6.50   3.70  920
## 15                         Guatemala      104632    93880     3609  0.70   3.45  201
## 16                         Indonesia      385980   309219    13205  1.07   3.42   48
## 17                           Algeria       55880    38932     1907  0.45   3.41   43
## 18      Republika Severna Makedonija       26394    18430      897  1.55   3.40   NA
## 19                           Ireland       56108    23364     1882  1.53   3.35  381
## 20                         Australia       27499    25181      905  0.01   3.29   35
## 21                            France     1086497   109486    34645  4.36   3.19  531
## 22                             Spain     1110372   196958    34752  0.00   3.13  743
## 23                           Romania      205793   147932     6318  2.37   3.07  328
## 24                          Colombia     1007711   907379    30000  0.88   2.98  590
## 25                            Brazil     5380635  4817898   156903  0.47   2.92  738
## 26                       El Salvador       32585    28258      944  0.51   2.90  146
## 27                          Bulgaria       37562    18232     1084  2.86   2.89  156
## 28                          Honduras       91882    37697     2612  0.41   2.84  264
## 29                             Chile      500542   476576    13892  0.33   2.78  727
## 30  Democratic Republic of the Congo       11143    10467      305  0.19   2.74   NA
## 31                            Turkey      359784   313093     9727  0.58   2.70  115
## 32            Bosnia and Herzegovina       39758    26368     1075  3.29   2.70  328
## 33                      South Africa      714246   644641    18944  0.26   2.65  319
## 34                         Argentina     1081336   881113    28613  1.12   2.65  633
## 35                     United States     8822255  5735074   230028  0.86   2.61  695
## 36                           Albania       18858    10548      473  1.63   2.51  164
## 37                       Netherlands      281052      322     7019  3.18   2.50  410
## 38                           Hungary       56098    16007     1390  3.35   2.48  144
## 39                           Myanmar       43788    23708     1066  3.36   2.43   20
## 40                           Finland       14652     9800      353  1.23   2.41   64
## 41                           Germany      422225   314018    10118  2.98   2.40  121
## 42                              Iraq      449153   378209    10568  0.72   2.35  263
## 43                           Moldova       71089    51719     1669  1.19   2.35  414
## 44                          Paraguay       59043    39214     1293  1.35   2.19  181
## 45                            Zambia       16117    15179      348  0.14   2.16   19
## 46                           Senegal       15543    14161      321  0.12   2.07   19
## 47                          Pakistan      327063   310101     6727  0.26   2.06   30
## 48                        Kyrgyzstan       55144    47337     1130  1.02   2.05  173
## 49                            Panama      128515   104562     2628  0.51   2.04  609
## 50                            Serbia       38872    31536      789  1.99   2.03   90
## 51                       Switzerland      103653    55800     2081  0.00   2.01  240
## 52                          Portugal      116109    67842     2297  3.26   1.98  225
## 53                          Cameroon       21570    20117      425  0.00   1.97   16
## 54                       Philippines      367819   313112     6934  0.55   1.89   63
## 55                            Greece       29992     9989      564  3.22   1.88   54
## 56                           Ukraine      337410   139755     6289  2.12   1.86  144
## 57                             Kenya       48790    33876      896  1.98   1.84   17
## 58                           Nigeria       61930    57285     1129  0.08   1.82    5
## 59                            Poland      241946   109344     4351  5.97   1.80  115
## 60                Dominican Republic      124018   102353     2220  0.93   1.79  205
## 61                             Japan       96720    88787     1714  0.76   1.77   14
## 62                       South Korea       25775    23834      457  0.00   1.77    9
## 63                           Denmark       39918    32190      700  2.02   1.75  121
## 64                            Russia     1497167  1130818    25821  1.12   1.72  177
## 65                           Tunisia       48799     5032      819  3.36   1.68   69
## 66                           Morocco      194461   160372     3255  2.12   1.67   88
## 67                        Kazakhstan      110250   105566     1796  0.15   1.63   96
## 68                            Norway       17670    11863      279  0.79   1.58   51
## 69                        Montenegro       16629    12601      263  1.17   1.58  419
## 70                           Armenia       75523    50701     1157  3.02   1.53  390
## 71                          Ethiopia       92858    46842     1419  0.68   1.53   12
## 72                      Saudi Arabia      344552   330995     5281  0.11   1.53  152
## 73                             India     7863892  7075723   118567  0.64   1.51   86
## 74                             Libya       54374    29965      790  1.85   1.45  115
## 75                        Bangladesh      397507   313563     5780  0.28   1.45   35
## 76                        Madagascar       16968    16301      244  0.94   1.44    9
## 77                        Azerbaijan       49013    41051      664  1.64   1.35   65
## 78                       Puerto Rico       61280     2267      794  0.49   1.30  278
## 79                           Croatia       33959    23785      429  7.07   1.26  104
## 80                        Costa Rica      103088    62037     1282  1.24   1.24  252
## 81                           Austria       78029    56791      965  4.86   1.24  107
## 82                          Slovenia       21274     8018      235 10.19   1.10  113
## 83                            Jordan       50750     7508      540  3.72   1.06   53
## 84                           Namibia       12579    10775      133  0.62   1.06   52
## 85                        Luxembourg       13713     9085      144  6.71   1.05  230
## 86                           Belarus       91978    82670      953  0.89   1.04  101
## 87                              Oman      111837    97949     1147  0.00   1.03  225
## 88             Palestinian Territory       49989    43232      443  0.83   0.89   NA
## 89                            Uganda       11297     7281       99  1.20   0.88    2
## 90                         Venezuela       88718    82899      764  0.34   0.86   27
## 91                          Malaysia       25742    16555      221  5.01   0.86    7
## 92                        Uzbekistan       64923    62033      544  0.31   0.84   16
## 93                    Czech Republic      246022    91922     2047  3.23   0.83  191
## 94                           Lebanon       69906    33438      562  2.08   0.80   82
## 95                            Israel      309413   291206     2372  0.19   0.77  274
## 96                        Tajikistan       10736     9836       81  0.38   0.75    8
## 97                           Georgia       26503    10163      193  7.90   0.73   48
## 98                        Mozambique       11895     9244       85  1.25   0.71    3
## 99                     French Guiana       10351     9995       69  0.00   0.67  231
## 100                            Ghana       47690    46887      316  0.19   0.66   10
## 101                           Kuwait      120927   112110      744  0.58   0.62  174
## 102                           Guinea       11635    10474       71  0.00   0.61    5
## 103                    Côte d'Ivoire       20429    20137      121  0.12   0.59    5
## 104                            Nepal      155233   108334      842  1.45   0.54   29
## 105                          Bahrain       79975    76474      312  0.50   0.39  183
## 106                         Slovakia       40801     9920      159  7.62   0.39   29
## 107             United Arab Emirates      123764   116894      475  1.22   0.38   48
## 108                         Maldives       11421    10472       37  0.26   0.32   68
## 109                            Qatar      130965   127868      229  0.19   0.17   79
## 110                        Singapore       57965    57844       28  0.02   0.05    5

## [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-24   China Hong Kong        5289     5041      105     5
## 2 2020-10-24   China  Shanghai        1128     1034        7     5
## 3 2020-10-24   China Guangdong        1907     1861        8     3
## 4 2020-10-24   China   Shaanxi         441      414        3     3
## 5 2020-10-24   China    Taiwan         550      502        7     2
## 6 2020-10-24   China    Fujian         429      409        1     2
## 7 2020-10-24   China    Yunnan         211      206        2     2
## 8 2020-10-24   China   Tianjin         260      242        3     1