options(width = 100)
source('./predict.R')
## [1] "2021-01-14"
##                              country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                             Mexico     1571901  1176658   136917  1.02   8.71 1062
## 2                              Syria       12760     6329      809  0.79   6.34   46
## 3                            Ecuador      226002   193581    14246  0.75   6.30  807
## 4                              Sudan       25730    15240     1576  0.00   6.13   36
## 5                              Egypt      153741   121072     8421  0.67   5.48   82
## 6                            Bolivia      178818   140671     9493  1.16   5.31  813
## 7                              China       98290    91760     4803  0.18   4.89    3
## 8                        Afghanistan       53831    45298     2324  0.11   4.32   60
## 9                               Iran     1311810  1101599    56538  0.50   4.31  673
## 10                          Bulgaria      210951   150370     8396  0.25   3.98 1208
## 11            Bosnia and Herzegovina      117011    84650     4411  0.29   3.77 1344
## 12                              Peru     1048662   976202    38564  0.81   3.68 1170
## 13                            Greece      147283     9989     5387  0.41   3.66  517
## 14                         Guatemala      146937   133082     5151  0.65   3.51  288
## 15                             Italy     2336279  1694051    80848  0.74   3.46 1337
## 16                           Tunisia      170895   124610     5478  1.38   3.21  464
## 17                           Hungary      347636   220304    11066  0.56   3.18 1146
## 18                         Australia       28658    25874      909  0.04   3.17   36
## 19  Democratic Republic of the Congo       20479    14770      626  2.38   3.06   NA
## 20      Republika Severna Makedonija       87986    69137     2672  0.45   3.04   NA
## 21                           Belgium      670249    46417    20250  0.44   3.02 1747
## 22                       El Salvador       50157    44304     1459  1.25   2.91  225
## 23                         Indonesia      869600   711205    25246  1.35   2.90   92
## 24                      South Africa     1296806  1049740    35852  1.45   2.76  604
## 25                           Algeria      103127    69992     2822  0.26   2.74   64
## 26                         Swaziland       12327     8076      335  1.67   2.72   NA
## 27                    United Kingdom     3260258  1406967    86015  1.52   2.64 1267
## 28                             Chile      656712   614267    17294  0.64   2.63  905
## 29                          Colombia     1849101  1683835    47491  0.93   2.57  933
## 30                            Canada      688891   593398    17538  1.11   2.55  465
## 31                         Argentina     1770715  1549490    45125  0.76   2.55  998
## 32                          Honduras      131009    59647     3320  0.93   2.53  335
## 33                          Zimbabwe       25368    14714      636  4.58   2.51   43
## 34                            Brazil     8326115  7339703   207160  0.83   2.49  975
## 35                        Mauritania       15893    14222      396  0.63   2.49   85
## 36                           Romania      684917   614545    17035  0.52   2.49  886
## 37                            Belize       11456    10641      280  0.32   2.44  704
## 38                            France     2851670   206802    69313  0.75   2.43 1062
## 39                             Spain     2211967   196958    53079  1.65   2.40 1135
## 40                           Jamaica       13915    11592      322  0.45   2.31  109
## 41                            Poland     1414362  1155823    32456  0.67   2.29  858
## 42                            Angola       18613    16008      425  1.02   2.28   13
## 43                           Germany     2004729  1619483    45535  1.15   2.27  543
## 44                             Haiti       10569     8888      238  0.00   2.25   21
## 45                           Senegal       22178    18756      496  1.35   2.24   30
## 46                           Myanmar      132865   116100     2912  0.46   2.19   54
## 47                              Iraq      606186   564359    12922  0.13   2.13  321
## 48                          Slovenia      145472   119149     3093  1.25   2.13 1488
## 49                           Moldova      151687   140983     3211  0.49   2.12  796
## 50                          Pakistan      511921   467234    10818  0.61   2.11   49
## 51                          Paraguay      119640    94983     2466  0.88   2.06  346
## 52                           Croatia      223097   213370     4517  0.44   2.02 1100
## 53                       Philippines      494605   459252     9739  0.39   1.97   89
## 54                            Sweden      518783     4971    10185  1.28   1.96 1008
## 55                           Albania       65994    39246     1261  1.01   1.91  438
## 56                            Russia     3495816  2882044    63940  0.71   1.83  438
## 57                           Armenia      163576   151849     2963  0.27   1.81 1000
## 58                           Ukraine     1138764   837063    20376  0.70   1.79  466
## 59                           Austria      389260   362931     6921  0.91   1.78  768
## 60                             Kenya       98693    81933     1723  0.14   1.75   32
## 61                            Latvia       52982    38417      920  1.83   1.74  488
## 62                       Switzerland      492832   317600     8586  0.50   1.74  992
## 63                      Saudi Arabia      364440   356201     6310  0.05   1.73  181
## 64                           Morocco      456334   431167     7854  0.28   1.72  213
## 65                       South Korea       70728    55772     1195  0.73   1.69   23
## 66                        Kyrgyzstan       82723    78563     1378  0.16   1.67  211
## 67                     United States    23836911 14087548   397808  0.94   1.67 1202
## 68                          Cameroon       27336    24892      451  0.00   1.65   17
## 69                          Portugal      517806   387607     8384  2.11   1.62  822
## 70                    Czech Republic      866522   708842    13856  1.28   1.60 1294
## 71                            Panama      288408   227141     4594  0.00   1.59 1065
## 72                            Zambia       32800    22504      514  5.47   1.57   28
## 73                           Finland       39593    31000      616  0.66   1.56  111
## 74                             Malta       15079    12250      235  0.81   1.56  532
## 75                          Ethiopia      129922   114749     2008  0.36   1.55   17
## 76                             Libya      107434    84245     1645  0.72   1.53  239
## 77                           Ireland      163057    23364     2488  2.46   1.53  504
## 78                          Slovakia      217978   160401     3260  1.36   1.50  597
## 79                        Bangladesh      525723   470405     7849  0.15   1.49   48
## 80                        Madagascar       18001    17447      267  0.00   1.48   10
## 81                             India    10528346 10161868   151954  0.15   1.44  110
## 82                         Lithuania      164414    97511     2346  0.84   1.43  862
## 83                       Netherlands      895687      322    12774  0.73   1.43  745
## 84                        Kazakhstan      165311   151172     2349  0.51   1.42  125
## 85                             Japan      310641   233665     4340  2.17   1.40   34
## 86                        Montenegro       54316    43940      740  0.88   1.36 1178
## 87                           Nigeria      105478    83830     1405  1.42   1.33    7
## 88                            Jordan      312043   294802     4107  0.35   1.32  403
## 89                        Costa Rica      183242   140573     2401  0.60   1.31  471
## 90                        Azerbaijan      226200   213279     2971  0.17   1.31  293
## 91                Dominican Republic      187487   140524     2428  0.59   1.30  224
## 92                            Rwanda       10316     6974      133  1.92   1.29   10
## 93                           Georgia      244612   228359     2867  0.56   1.17  719
## 94                       Puerto Rico      145119    73760     1679  0.23   1.16  587
## 95                              Oman      131264   123593     1509  0.14   1.15  295
## 96                        Luxembourg       48486    45449      545  0.24   1.12  871
## 97             Palestinian Territory      150505   136247     1665  0.49   1.11   NA
## 98                            Serbia      368072    31536     3687  0.51   1.00  422
## 99                            Turkey     2364801  2236938    23495  0.38   0.99  279
## 100                             Cuba       16549    12699      160  3.15   0.97   14
## 101                          Uruguay       29989    21685      280  5.32   0.93   81
## 102                          Namibia       29570    25845      275  1.33   0.93  108
## 103                        Venezuela      117811   111616     1084  0.44   0.92   38
## 104                       Cape Verde       12664    11989      115  0.57   0.91   NA
## 105                          Denmark      185836   161846     1661  0.00   0.89  287
## 106                           Norway       57736    46611      511  0.79   0.89   94
## 107                          Estonia       35621    25032      311  1.80   0.87  234
## 108                       Mozambique       24269    18352      211  2.29   0.87    7
## 109                           Uganda       38085    13083      304  0.00   0.80    7
## 110                       Uzbekistan       77777    76276      618  0.08   0.79   18
## 111                          Lebanon      237132   147746     1781  2.24   0.75  261
## 112                           Israel      529814   447308     3870  1.88   0.73  447
## 113                            Nepal      266546   260177     1943  0.15   0.73   67
## 114                 French Polynesia       17590     4842      126  0.61   0.72  449
## 115                          Belarus      219663   202446     1554  0.90   0.71  164
## 116                       Tajikistan       13308    13218       90  0.00   0.68    9
## 117                         Thailand       11262     7660       69  2.47   0.61    1
## 118                            Ghana       56981    55236      341  0.00   0.60   11
## 119                           Kuwait      156434   150061      946  0.36   0.60  222
## 120                           Guinea       14051    13301       81  0.00   0.58    6
## 121                           Cyprus       28124     2057      163  0.00   0.58  135
## 122                    Côte d'Ivoire       24578    22856      140  0.86   0.57    5
## 123                    French Guiana       14526     9995       74  0.00   0.51  248
## 124                        Sri Lanka       50899    43747      251  1.33   0.49   12
## 125                         Botswana       17365    13519       71  3.56   0.41   30
## 126                         Malaysia      147855   113288      578  2.31   0.39   18
## 127                          Bahrain       96812    93329      356  0.35   0.37  209
## 128                         Maldives       14325    13463       49  0.34   0.34   91
## 129             United Arab Emirates      242969   215820      726  1.41   0.30   73
## 130                            Qatar      146689   143261      246  0.14   0.17   85
## 131                        Singapore       59029    58757       29  0.08   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-01-14   China      Jiangxi         935      934        1    71
## 2  2021-01-14   China Heilongjiang        1074      951       13    43
## 3  2021-01-14   China    Hong Kong        9414     8631      161    29
## 4  2021-01-14   China     Shandong         864      855        7     7
## 5  2021-01-14   China      Sichuan         858      845        3     7
## 6  2021-01-14   China        Hebei         941      379        7     6
## 7  2021-01-14   China    Guangdong        2084     2031        8     3
## 8  2021-01-14   China     Shanghai        1583     1489        7     2
## 9  2021-01-14   China     Zhejiang        1309     1296        1     1
## 10 2021-01-14   China      Jiangsu         688      684        0     1
## 11 2021-01-14   China      Guangxi         266      261        2     1