options(width = 100)
source('./predict.R')
## [1] "2021-02-19"
##                              country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                              Gabon       13553    12262       75  3.40   0.55   34
## 2                               Cuba       42547    37206      287  2.06   0.67   25
## 3                            Estonia       56246    44248      518  1.72   0.92  390
## 4                            Jamaica       20581    12828      391  1.33   1.90  132
## 5                         Mozambique       54204    34389      583  1.26   1.08   19
## 6                            Uruguay       51377    45398      563  1.23   1.10  162
## 7                            Albania       97909    61605     1636  1.11   1.67  568
## 8                           Malaysia      277811   239971     1043  1.07   0.38   32
## 9                     Czech Republic     1134957  1003739    18913  1.04   1.67 1766
## 10                            Zambia       73203    66013     1002  1.02   1.37   55
## 11                           Senegal       32378    26624      787  0.87   2.43   47
## 12                            Latvia       80040    68967     1533  0.87   1.92  813
## 13              United Arab Emirates      365017   351715     1093  0.87   0.30  111
## 14                         Indonesia     1263299  1069005    34152  0.85   2.70  125
## 15                           Namibia       36993    34887      399  0.85   1.08  157
## 16                           Finland       52653    40000      725  0.85   1.38  131
## 17                            Greece      177494   138748     6249  0.82   3.52  600
## 18                          Slovakia      287752   255300     6350  0.82   2.21 1163
## 19                           Hungary      397116   302689    14145  0.78   3.56 1464
## 20                             Malta       20563    17827      301  0.75   1.46  682
## 21  Democratic Republic of the Congo       24964    15736      695  0.69   2.78   NA
## 22                            France     3560764   247127    83964  0.68   2.36 1286
## 23                           Bahrain      116482   108353      418  0.67   0.36  246
## 24                     Côte d'Ivoire       31825    30056      185  0.67   0.58    7
## 25                         Sri Lanka       78937    72566      430  0.66   0.54   20
## 26                            Sweden      631166     4971    12649  0.66   2.00 1252
## 27                           Lebanon      351065   260390     4257  0.65   1.21  624
## 28                        Montenegro       71112    61781      932  0.64   1.31 1484
## 29                          Bulgaria      235891   199978     9821  0.62   4.16 1413
## 30                              Iraq      661477   614529    13232  0.61   2.00  329
## 31                            Serbia      431680    31536     4306  0.61   1.00  493
## 32                           Belarus      275322   264976     1894  0.61   0.69  200
## 33                             Ghana       79165    71025      568  0.60   0.72   18
## 34                           Moldova      175183   160619     3739  0.59   2.13  927
## 35                          Ethiopia      151016   130566     2259  0.56   1.50   20
## 36                             Italy     2780882  2303199    95235  0.56   3.42 1575
## 37                            Poland     1623218  1365216    41823  0.54   2.58 1105
## 38                            Kuwait      182460   170326     1034  0.54   0.57  242
## 39                            Rwanda       17929    16387      245  0.53   1.37   19
## 40                              Iran     1558159  1331162    59341  0.52   3.81  706
## 41                           Ecuador      271276   230377    15474  0.52   5.70  877
## 42                          Thailand       25241    24070       83  0.52   0.33    1
## 43                           Ukraine     1293672  1139977    24972  0.51   1.93  571
## 44                            Brazil    10081676  8995246   244765  0.51   2.43 1152
## 45                      Burkina Faso       11763    11130      139  0.51   1.18    7
## 46                          Slovenia      183394   168432     3762  0.50   2.05 1810
## 47                             Chile      791939   748920    19897  0.48   2.51 1041
## 48                          Zimbabwe       35710    31972     1430  0.47   4.00   96
## 49                             Libya      129325   114305     2088  0.45   1.61  304
## 50                            Mexico     2022662  1577838   178108  0.45   8.81 1381
## 51                       Netherlands     1047400      322    15138  0.45   1.45  883
## 52                        Kazakhstan      205825   189750     2540  0.44   1.23  135
## 53                          Honduras      163305    63921     3965  0.44   2.43  400
## 54                           Bolivia      239524   182534    11353  0.43   4.74  973
## 55                        Cape Verde       14948    14470      142  0.42   0.95   NA
## 56      Republika Severna Makedonija       98584    89022     3037  0.42   3.08   NA
## 57                            Guinea       15216    14648       86  0.41   0.57    7
## 58                        Luxembourg       53782    50386      622  0.41   1.16  994
## 59                           Austria      441659   417654     8348  0.41   1.89  927
## 60                         Lithuania      192986   178126     3145  0.41   1.63 1155
## 61                         Guatemala      170275   157198     6220  0.39   3.65  347
## 62                         Argentina     2054681  1855645    51000  0.39   2.48 1128
## 63                             Spain     3133122   196958    67101  0.37   2.14 1435
## 64                            Israel      744513   693730     5526  0.35   0.74  638
## 65                             Egypt      176943   136889    10250  0.35   5.79  100
## 66                Dominican Republic      233598   182603     3024  0.35   1.29  279
## 67                           Ireland      213400    23364     4109  0.35   1.93  832
## 68                           Romania      774555   719693    19738  0.35   2.55 1026
## 69                            Cyprus       33046     2057      229  0.34   0.69  190
## 70                         Venezuela      134781   126792     1303  0.34   0.97   46
## 71                       Philippines      557058   512789    11829  0.34   2.12  108
## 72                            Russia     4139031  3679949    82396  0.33   1.99  565
## 73                             Syria       15094     9064      994  0.33   6.59   57
## 74             Palestinian Territory      171717   160172     1961  0.33   1.14   NA
## 75                           Belgium      746302    51232    21821  0.33   2.92 1883
## 76            Bosnia and Herzegovina      127537   111991     4979  0.32   3.90 1518
## 77                           Tunisia      226740   187753     7719  0.32   3.40  653
## 78                             Japan      423336   395492     7365  0.31   1.74   58
## 79                             Qatar      159518   149320      256  0.29   0.16   89
## 80                    United Kingdom     4095269  2331001   119920  0.29   2.93 1766
## 81                            Turkey     2624019  2511548    27903  0.28   1.06  331
## 82                            Norway       68000    63783      607  0.26   0.89  112
## 83                            Canada      839605   785959    21560  0.25   2.57  571
## 84                     United States    28595976 18780465   507445  0.25   1.77 1533
## 85                            Jordan      357611   332892     4528  0.24   1.27  444
## 86                          Portugal      794769   691866    15821  0.24   1.99 1552
## 87                        Costa Rica      201678   169053     2763  0.22   1.37  542
## 88                          Pakistan      568506   531840    12527  0.22   2.20   57
## 89                             Kenya      103841    85512     1813  0.22   1.75   34
## 90                          Colombia     2217001  2110562    58511  0.20   2.64 1150
## 91                         Swaziland       16742    12769      644  0.20   3.85   NA
## 92                       Switzerland      547775   485615     9883  0.19   1.80 1142
## 93                           Croatia      239254   231534     5407  0.16   2.26 1317
## 94                           Algeria      111600    76797     2954  0.16   2.65   67
## 95                           Germany     2376563  2175798    67865  0.15   2.86  810
## 96                           Georgia      267701   260597     3406  0.15   1.27  854
## 97                      South Africa     1500677  1406907    48859  0.13   3.26  824
## 98                             India    10976388 10675478   156237  0.13   1.42  113
## 99                           Armenia      170011   161790     3158  0.11   1.86 1066
## 100                       Kyrgyzstan       85772    82583     1450  0.10   1.69  222
## 101                          Morocco      480504   463271     8540  0.09   1.78  231
## 102                     Saudi Arabia      374366   365363     6454  0.09   1.72  185
## 103                       Azerbaijan      232829   227472     3193  0.08   1.37  315
## 104                       Bangladesh      542674   490468     8337  0.07   1.54   51
## 105                       Uzbekistan       79598    78100      622  0.06   0.78   19
## 106                            Nepal      273263   269619     2061  0.04   0.75   71
## 107                           Uganda       40168    14578      331  0.03   0.82    7
## 108                            China      101646    95998     4842  0.02   4.76    3
## 109                        Singapore       59846    59697       29  0.02   0.05    5
## 110                        Australia       28918    26138      909  0.02   3.14   36
## 111                          Myanmar      141728   131209     3194  0.01   2.25   59
## 112                      Afghanistan       55580    48803     2430  0.01   4.37   62
## 113                          Denmark      206753   198863     2320  0.00   1.12  401
## 114                           Belize       12207    11725      314  0.00   2.57  790
## 115                         Botswana       26524    22363      254  0.00   0.96  108
## 116                         Cameroon       33749    31362      523  0.00   1.55   20
## 117                       Tajikistan       13308    13218       90  0.00   0.68    9
## 118                           Angola       20452    18972      498  0.00   2.43   15
## 119                          Andorra       10610    10101      107  0.00   1.01 1385
## 120                          Nigeria      150246   126417     1803  0.00   1.20    9
## 121                         Paraguay      148622   124105     3008  0.00   2.02  422
## 122                           Panama      334463   317432     5694  0.00   1.70 1320
## 123                       Mauritania       17058    16346      433  0.00   2.54   93
## 124                    French Guiana       16456     9995       80  0.00   0.49  268
## 125                 French Polynesia       18335     4842      136  0.00   0.74  484
## 126                      Puerto Rico      174891    88997     1940  0.00   1.11  678
## 127                            Haiti       12206     9363      247  0.00   2.02   22
## 128                          Réunion       11562    10576       48  0.00   0.42   54
## 129                             Peru     1261804  1163153    44489  0.00   3.53 1349
## 130                            Sudan       28038    22638     1864  0.00   6.65   43
## 131                          Lesotho       10455     3260      285  0.00   2.73  133
## 132                      El Salvador       58546    53385     1785  0.00   3.05  275
## 133                             Oman      138494   130084     1549  0.00   1.12  303
## 134                      South Korea       85567    75896     1544  0.00   1.80   30
## 135                         Maldives       18340    15863       58  0.00   0.32  107
## 136                           Malawi       29837    15568      984  0.00   3.30   51
## 137                          Mayotte       14492     2964       89  0.00   0.61  326
## 138                       Madagascar       19598    18915      292  0.00   1.49   11

## [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 2021-02-19   China Hong Kong       10833    10329      197    13
## 2 2021-02-19   China Guangdong        2183     2126        8     3
## 3 2021-02-19   China  Shanghai        1778     1686        7     2
## 4 2021-02-19   China     Hunan        1035     1023        4     1
## 5 2021-02-19   China    Taiwan         941      888        9     1
## 6 2021-02-19   China   Sichuan         883      869        3     1
## 7 2021-02-19   China  Liaoning         405      401        2     1