options(width = 100)
source('./predict.R')
## [1] "2021-03-06"
##                              country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                             Mexico     2119305  1660786   189578  0.32   8.95 1470
## 2                              Syria       15925    10293     1058  0.70   6.64   60
## 3                              Sudan       28605    23156     1895  0.21   6.62   43
## 4                              Egypt      185922   143575    10954  0.63   5.89  107
## 5                            Ecuador      292943   247898    16020  1.11   5.47  908
## 6                              China      102064    96767     4848  0.03   4.75    3
## 7                            Bolivia      253297   196731    11789  0.37   4.65 1010
## 8                        Afghanistan       55869    49369     2449 -0.11   4.38   63
## 9                           Zimbabwe       36260    33805     1485  0.10   4.10  100
## 10                          Bulgaria      259811   212502    10593  1.73   4.08 1525
## 11            Bosnia and Herzegovina      135513   117885     5228  0.46   3.86 1594
## 12                         Swaziland       17173    15211      658  0.26   3.83   NA
## 13                         Guatemala      178337   164564     6467  0.83   3.63  361
## 14                              Iran     1681682  1435357    60594  0.49   3.60  721
## 15                              Peru     1364964  1269365    47681  1.12   3.49 1446
## 16                           Tunisia      237028   202123     8167  0.59   3.45  691
## 17                           Hungary      459816   333045    15765  1.61   3.43 1632
## 18                      South Africa     1520206  1439515    50647  0.17   3.33  854
## 19                            Greece      203978   174008     6705  2.25   3.29  643
## 20                            Malawi       32398    21932     1067  0.36   3.29   56
## 21                             Italy     3046762  2481372    99578  1.59   3.27 1647
## 22                         Australia       29030    26192      909  0.03   3.13   36
## 23                       El Salvador       60800    56807     1894  0.00   3.12  292
## 24      Republika Severna Makedonija      106832    94461     3185  1.48   2.98   NA
## 25                    United Kingdom     4213343  3199565   124419  0.29   2.95 1833
## 26                           Lesotho       10523     3888      307  0.01   2.92  143
## 27                           Germany     2499554  2299073    72513  0.40   2.90  865
## 28                           Belgium      783010    53181    22215  0.35   2.84 1917
## 29                         Indonesia     1373836  1189510    37154  0.42   2.70  136
## 30  Democratic Republic of the Congo       26469    22432      712  0.49   2.69   NA
## 31                          Colombia     2273245  2172418    60412  0.31   2.66 1187
## 32                           Algeria      114104    78946     3010  0.30   2.64   69
## 33                            Belize       12335    11926      315  0.05   2.55  792
## 34                           Senegal       35632    30369      907  0.46   2.55   54
## 35                        Mauritania       17309    16656      442  0.24   2.55   95
## 36                            Poland     1781345  1471608    45159  0.84   2.54 1193
## 37                           Romania      824995   754335    20854  0.50   2.53 1084
## 38                            Canada      884086   831896    22213  0.65   2.51  589
## 39                             Chile      850483   801537    21008  1.23   2.47 1099
## 40                         Argentina     2146714  1940317    52870  0.60   2.46 1170
## 41                          Honduras      173020    67900     4247  0.26   2.45  429
## 42                            Angola       21055    19640      512  0.35   2.43   16
## 43                            Brazil    10939320  9704351   264446  1.32   2.42 1244
## 44                          Slovakia      322104   255300     7739  0.79   2.40 1417
## 45                            France     3882408   264909    88444  1.22   2.28 1355
## 46                           Croatia      246120   236765     5585  0.27   2.27 1360
## 47                             Spain     3149012  2744664    71138  0.21   2.26 1522
## 48                           Myanmar      142023   131658     3200  0.02   2.25   59
## 49                          Pakistan      588728   558210    13166  0.29   2.24   60
## 50                       Philippines      591138   535350    12465  0.58   2.11  114
## 51                           Moldova      194605   170468     4091  1.78   2.10 1014
## 52                            Russia     4312181  3900348    88726  0.26   2.06  608
## 53                          Portugal      809412   730601    16512  0.24   2.04 1619
## 54                          Slovenia      195086   180366     3888  0.47   1.99 1870
## 55                             Haiti       12536     9828      250  0.00   1.99   22
## 56                           Ireland      222699    23364     4419  0.47   1.98  895
## 57                          Paraguay      166969   139483     3294  1.62   1.97  462
## 58                           Ukraine     1394061  1194373    26919  0.66   1.93  616
## 59                            Sweden      684961     4971    13003  0.00   1.90 1288
## 60                             Japan      438916   417292     8238  0.24   1.88   65
## 61                              Iraq      723189   657032    13548  0.57   1.87  337
## 62                            Latvia       90009    78507     1687  0.67   1.87  894
## 63                           Armenia      174257   164654     3219  0.29   1.85 1086
## 64                           Austria      472871   441309     8694  0.54   1.84  965
## 65                     United States    29653190 20273068   537118  0.43   1.81 1623
## 66                           Morocco      485974   471919     8676  0.17   1.79  235
## 67                       Switzerland      562290   518582    10046  0.00   1.79 1161
## 68                       South Korea       92055    82913     1632  0.46   1.77   32
## 69                           Jamaica       25303    14159      446  3.51   1.76  151
## 70                             Kenya      108362    87550     1874  0.96   1.73   35
## 71                            Panama      344477   331233     5910  0.35   1.72 1370
## 72                      Saudi Arabia      379474   370300     6524  0.10   1.72  187
## 73                           Albania      112078    74352     1918  1.41   1.71  666
## 74                        Kyrgyzstan       86506    83484     1471  0.06   1.70  225
## 75                         Lithuania      201799   188103     3321  0.23   1.65 1220
## 76                    Czech Republic     1312164  1126420    21558  1.01   1.64 2013
## 77                             Libya      137482   124712     2236  0.00   1.63  325
## 78                        Guadeloupe       10149     2242      162  0.00   1.60  405
## 79                          Cameroon       35714    32594      551  0.00   1.54   21
## 80                        Bangladesh      549724   501966     8451  0.10   1.54   51
## 81                        Madagascar       20155    19543      300  1.63   1.49   11
## 82                          Ethiopia      165029   137785     2420  1.27   1.47   21
## 83                       Netherlands     1115549      322    15803  0.90   1.42  922
## 84                             India    11210580 10866536   157791  0.33   1.41  114
## 85                            Rwanda       19509    17810      267  0.91   1.37   21
## 86                        Costa Rica      206640   187484     2833  0.17   1.37  556
## 87                        Azerbaijan      236365   229591     3238  0.15   1.37  319
## 88                            Zambia       82011    77609     1116  0.82   1.36   61
## 89                             Malta       24216    20484      329  1.45   1.36  745
## 90                        Montenegro       79237    69209     1059  1.51   1.34 1686
## 91                           Georgia      272617   266344     3567  0.13   1.31  894
## 92                Dominican Republic      242660   196484     3162  0.53   1.30  291
## 93                        Kazakhstan      217299   201182     2799  0.38   1.29  149
## 94                           Lebanon      393228   307256     5013  1.64   1.27  734
## 95                           Finland       61552    46000      767  1.06   1.25  138
## 96                           Nigeria      158237   137645     1964  0.36   1.24   10
## 97                      Burkina Faso       12153    11754      143  0.41   1.18    7
## 98                        Luxembourg       56506    52662      657  0.71   1.16 1050
## 99                            Jordan      421415   362765     4900  1.95   1.16  480
## 100                         Botswana       31746    26760      359  0.00   1.13  153
## 101                          Denmark      214621   205170     2378  0.00   1.11  411
## 102                      Puerto Rico      184405    91833     2056  0.00   1.11  719
## 103                             Oman      142896   133491     1583  0.00   1.11  310
## 104                            Nepal      274655   270828     3010  0.06   1.10  103
## 105                          Namibia       39877    37366      437  1.04   1.10  172
## 106                       Mozambique       62131    46294      686  1.57   1.10   22
## 107            Palestinian Territory      194548   173732     2127  0.79   1.09   NA
## 108                           Turkey     2769230  2616139    28965  0.84   1.05  343
## 109                          Uruguay       63010    54175      645  3.39   1.02  186
## 110                          Andorra       11019    10599      112  0.39   1.02 1450
## 111                       Cape Verde       15724    15022      152  0.66   0.97   NA
## 112                        Venezuela      141356   133454     1371  0.28   0.97   48
## 113                           Serbia      482397   400347     4542  1.60   0.94  520
## 114                          Estonia       73684    55161      644  2.13   0.87  485
## 115                           Norway       74546    66014      632  1.43   0.85  117
## 116                           Uganda       40452    15065      334  0.06   0.83    7
## 117                       Uzbekistan       80125    78802      622  0.05   0.78   19
## 118                 French Polynesia       18459     4842      140  0.00   0.76  498
## 119                            Ghana       86092    80619      640  1.00   0.74   21
## 120                           Israel      799727   753306     5856  0.54   0.73  677
## 121                          Belarus      294432   285036     2029  0.45   0.69  215
## 122                          Mayotte       18140     2964      126  0.48   0.69  462
## 123                       Tajikistan       13308    13218       90  0.00   0.68    9
## 124                             Cuba       54835    49889      344  2.86   0.63   30
## 125                           Cyprus       36575     2057      232  1.59   0.63  192
## 126                            Gabon       15625    13495       90  2.43   0.58   40
## 127                        Sri Lanka       85150    81769      493  0.42   0.58   23
## 128                    Côte d'Ivoire       34935    32513      200  2.82   0.57    8
## 129                           Guinea       16540    15130       93  0.73   0.56    7
## 130                           Kuwait      199428   185231     1120  1.49   0.56  262
## 131                    French Guiana       16693     9995       87  0.40   0.52  291
## 132                          Réunion       13125    11956       59  0.00   0.45   66
## 133                          Bahrain      126126   119047      469  1.02   0.37  276
## 134                         Malaysia      311777   289452     1166  0.54   0.37   36
## 135                         Thailand       26305    25686       85  0.24   0.32    1
## 136             United Arab Emirates      408236   391205     1310  0.73   0.32  132
## 137                         Maldives       20663    17979       64  1.06   0.31  118
## 138                            Qatar      166475   155700      262  0.56   0.16   91
## 139                        Singapore       60020    59879       29  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 2021-03-06   China Hong Kong       11074    10622      202     8
## 2 2021-03-06   China    Taiwan         967      932       10     7
## 3 2021-03-06   China Guangdong        2229     2178        8     4
## 4 2021-03-06   China  Shanghai        1811     1768        7     2
## 5 2021-03-06   China   Shaanxi         555      542        3     2