options(width = 100)
source('./predict.R')
## [1] "2021-02-16"
##                              country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                        Afghanistan       55540    48514     2428  0.04   4.37   62
## 2                            Albania       94651    58794     1582  0.85   1.67  550
## 3                            Algeria      111069    76330     2945  0.16   2.65   67
## 4                            Andorra       10538     9965      107  0.00   1.02 1385
## 5                             Angola       20389    18929      494  0.04   2.42   15
## 6                          Argentina     2033060  1838291    50432  0.20   2.48 1116
## 7                            Armenia      169391   161348     3150  0.08   1.86 1063
## 8                          Australia       28905    26128      909  0.02   3.14   36
## 9                            Austria      436139   413908     8260  0.33   1.89  917
## 10                        Azerbaijan      232337   226951     3185  0.06   1.37  314
## 11                           Bahrain      114361   106412      410  0.68   0.36  241
## 12                        Bangladesh      541434   488621     8298  0.07   1.53   50
## 13                           Belarus      270921   260057     1867  0.42   0.69  198
## 14                           Belgium      739488    50897    21702  0.12   2.93 1873
## 15                            Belize       12175    11668      313  0.00   2.57  787
## 16                           Bolivia      237144   179057    11234  0.17   4.74  962
## 17            Bosnia and Herzegovina      126413   106831     4935  0.22   3.90 1504
## 18                          Botswana       25802    21893      226  0.00   0.88   96
## 19                            Brazil     9921981  8883191   240983  0.56   2.43 1134
## 20                          Bulgaria      232096   198324     9703  0.58   4.18 1396
## 21                      Burkina Faso       11630    10979      138  0.00   1.19    7
## 22                          Cameroon       32098    29609      479  0.00   1.49   18
## 23                            Canada      831577   776208    21397  0.56   2.57  567
## 24                        Cape Verde       14785    14282      140  0.16   0.95   NA
## 25                             Chile      782039   740465    19644  0.32   2.51 1028
## 26                             China      101576    95739     4840  0.01   4.76    3
## 27                          Colombia     2202598  2095105    57949  0.18   2.63 1139
## 28                        Costa Rica      200454   165439     2737  0.21   1.37  537
## 29                     Côte d'Ivoire       31365    29603      179  0.42   0.57    7
## 30                           Croatia      237999   230683     5357  0.12   2.25 1305
## 31                              Cuba       39941    34716      274  2.40   0.69   24
## 32                            Cyprus       32707     2057      225  0.25   0.69  186
## 33                    Czech Republic     1099654   978749    18430  0.81   1.68 1721
## 34  Democratic Republic of the Congo       24423    15544      695  0.15   2.85   NA
## 35                           Denmark      205871   197942     2309  0.40   1.12  399
## 36                Dominican Republic      231095   179097     2975  0.23   1.29  274
## 37                           Ecuador      268073   230377    15392  0.14   5.74  872
## 38                             Egypt      175059   135670    10101  0.36   5.77   99
## 39                       El Salvador       58023    52688     1758  0.00   3.03  271
## 40                           Estonia       53444    42403      508  1.17   0.95  383
## 41                          Ethiopia      148490   129145     2223  0.45   1.50   19
## 42                           Finland       51047    40000      720  0.76   1.41  130
## 43                            France     3489129   244238    82812  0.56   2.37 1269
## 44                     French Guiana       16456     9995       80  0.00   0.49  268
## 45                  French Polynesia       18299     4842      136  0.03   0.74  484
## 46                             Gabon       12865    11750       75  0.00   0.58   34
## 47                           Georgia      266462   259228     3377  0.28   1.27  847
## 48                           Germany     2353638  2140866    66533  0.36   2.83  794
## 49                             Ghana       77046    68713      555  0.72   0.72   18
## 50                            Greece      173905   138748     6181  0.63   3.55  593
## 51                         Guatemala      168103   155211     6158  0.43   3.66  344
## 52                            Guinea       15020    14512       85  0.35   0.57    6
## 53                             Haiti       12192     9354      247  0.00   2.03   22
## 54                          Honduras      160983    63346     3893  0.51   2.42  393
## 55                           Hungary      389622   298773    13837  0.21   3.55 1432
## 56                             India    10937106 10642903   155949  0.11   1.43  113
## 57                         Indonesia     1233959  1039674    33596  0.82   2.72  123
## 58                              Iran     1534034  1310821    59117  0.52   3.85  704
## 59                              Iraq      649982   609800    13192  0.52   2.03  328
## 60                           Ireland      211113    23364     3980  0.34   1.89  806
## 61                            Israel      734575   673908     5441  0.59   0.74  629
## 62                             Italy     2739591  2251734    94171  0.38   3.44 1558
## 63                           Jamaica       19773    12684      378  2.42   1.91  128
## 64                             Japan      419053   387740     7144  0.31   1.70   56
## 65                            Jordan      352219   329511     4491  0.76   1.28  440
## 66                        Kazakhstan      203259   185205     2540  0.34   1.25  135
## 67                             Kenya      103188    85336     1797  0.17   1.74   33
## 68                            Kuwait      179488   167601     1014  0.54   0.56  237
## 69                        Kyrgyzstan       85564    82391     1444  0.06   1.69  221
## 70                            Latvia       77697    65450     1486  0.93   1.91  788
## 71                           Lebanon      343601   248720     4092  0.80   1.19  600
## 72                           Lesotho       10254     2990      243  0.00   2.37  113
## 73                             Libya      128036   111864     2051  0.26   1.60  298
## 74                         Lithuania      191264   175278     3095  0.17   1.62 1137
## 75                        Luxembourg       53062    49807      612  0.26   1.15  978
## 76                        Madagascar       19598    18915      292  0.00   1.49   11
## 77                            Malawi       29421    14803      968  0.82   3.29   51
## 78                          Malaysia      269165   224053      983  1.02   0.37   30
## 79                          Maldives       18082    15633       58  0.72   0.32  107
## 80                             Malta       20047    17434      297  0.51   1.48  673
## 81                        Mauritania       17016    16296      431  0.12   2.53   93
## 82                           Mayotte       13670     2964       81  0.00   0.59  297
## 83                            Mexico     1995892  1555923   174657  0.16   8.75 1355
## 84                           Moldova      171514   158619     3678  0.57   2.14  912
## 85                        Montenegro       69770    60299      910  0.69   1.30 1449
## 86                           Morocco      479071   460628     8504  0.10   1.78  230
## 87                        Mozambique       51800    32262      551  2.19   1.06   18
## 88                           Myanmar      141659   130859     3192  0.02   2.25   59
## 89                           Namibia       36366    34363      392  0.39   1.08  154
## 90                             Nepal      272945   269303     2055  0.04   0.75   71
## 91                       Netherlands     1034795      322    14929  0.26   1.44  871
## 92                           Nigeria      148296   124483     1777  0.93   1.20    9
## 93                            Norway       67014    61614      593  0.24   0.88  109
## 94                              Oman      137929   129543     1544  0.24   1.12  302
## 95                          Pakistan      564824   527061    12380  0.13   2.19   56
## 96             Palestinian Territory      169487   157982     1942  0.62   1.15   NA
## 97                            Panama      332679   313783     5642  0.15   1.70 1308
## 98                          Paraguay      146216   122493     2971  0.77   2.03  417
## 99                              Peru     1238501  1149367    43880  0.26   3.54 1331
## 100                      Philippines      552246   511796    11524  0.25   2.09  105
## 101                           Poland     1596673  1352443    41028  0.33   2.57 1084
## 102                         Portugal      788561   677719    15522  0.36   1.97 1522
## 103                      Puerto Rico      174297    88084     1924  0.87   1.10  673
## 104                            Qatar      158138   148638      256  0.00   0.16   89
## 105     Republika Severna Makedonija       97456    88301     3003  0.37   3.08   NA
## 106                          Réunion       10907    10049       47  0.00   0.43   52
## 107                          Romania      765970   711977    19526  0.35   2.55 1015
## 108                           Russia     4099323  3624663    80979  0.32   1.98  555
## 109                           Rwanda       17594    15475      240  0.63   1.36   19
## 110                     Saudi Arabia      373368   364297     6441  0.09   1.73  185
## 111                          Senegal       31476    25685      760  0.64   2.41   45
## 112                           Serbia      424020    31536     4261  0.43   1.00  488
## 113                        Singapore       59810    59661       29  0.00   0.05    5
## 114                         Slovakia      279696   255300     6063  0.52   2.17 1111
## 115                         Slovenia      180520   164676     3733  0.41   2.07 1796
## 116                     South Africa     1494119  1396951    48313  0.08   3.23  815
## 117                      South Korea       84325    74551     1534  0.54   1.82   30
## 118                            Spain     3096343   196958    65979  0.33   2.13 1411
## 119                        Sri Lanka       77184    70429      409  0.99   0.53   19
## 120                            Sudan       27985    22523     1863  0.10   6.66   42
## 121                        Swaziland       16606    12383      634  0.18   3.82   NA
## 122                           Sweden      617869     4971    12487  1.55   2.02 1236
## 123                      Switzerland      544282   485615     9817  0.20   1.80 1134
## 124                            Syria       14951     8826      984  0.30   6.58   56
## 125                       Tajikistan       13308    13218       90  0.00   0.68    9
## 126                         Thailand       24786    23563       82  0.29   0.33    1
## 127                          Tunisia      224329   184499     7617  0.35   3.40  644
## 128                           Turkey     2602034  2489624    27652  0.30   1.06  328
## 129                           Uganda       40063    14545      331  0.02   0.83    7
## 130                          Ukraine     1276618  1122968    24542  0.25   1.92  561
## 131             United Arab Emirates      355131   340365     1041  0.92   0.29  105
## 132                   United Kingdom     4058468  2231199   118195  0.26   2.91 1741
## 133                    United States    28374971 18460757   499745  0.21   1.76 1510
## 134                          Uruguay       49725    44060      546  0.74   1.10  157
## 135                       Uzbekistan       79461    77969      622  0.02   0.78   19
## 136                        Venezuela      133577   125565     1285  0.00   0.96   45
## 137                           Zambia       70823    63609      974  0.82   1.38   53
## 138                         Zimbabwe       35315    30979     1414  0.26   4.00   95

## [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-16   China Hong Kong       10796    10232      195     8
## 2 2021-02-16   China Guangdong        2177     2111        8     6
## 3 2021-02-16   China   Shaanxi         547      531        3     2
## 4 2021-02-16   China   Sichuan         880      866        3     1