options(width = 100)
source('./predict.R')
## [1] "2021-02-23"
##                              country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                      United States    28897224 19212440   514966  0.46   1.78 1556
## 2                              India    11029326 10724144   156598  0.21   1.42  113
## 3                             Brazil    10260621  9215164   248646  0.91   2.42 1170
## 4                             Russia     4189153  3739344    84047  0.28   2.01  576
## 5                     United Kingdom     4134639  2606999   121305  0.46   2.93 1787
## 6                             France     3629891   252083    85044  0.69   2.34 1303
## 7                              Spain     3161432  2561102    68079  0.90   2.15 1456
## 8                              Italy     2832162  2347866    96348  0.82   3.40 1594
## 9                             Turkey     2655633  2534996    28213  0.65   1.06  335
## 10                           Germany     2405953  2207322    69350  0.36   2.88  828
## 11                          Colombia     2233589  2129491    59118  0.33   2.65 1162
## 12                         Argentina     2077228  1877898    51510  0.62   2.48 1140
## 13                            Mexico     2043632  1602024   180536  0.11   8.83 1400
## 14                            Poland     1648962  1389516    42436  0.38   2.57 1121
## 15                              Iran     1590605  1358541    59663  0.53   3.75  710
## 16                      South Africa     1505586  1419459    49413  0.12   3.28  833
## 17                           Ukraine     1311844  1151777    25309  0.32   1.93  579
## 18                         Indonesia     1298608  1104990    35014  0.76   2.70  128
## 19                              Peru     1293497  1196515    45487  0.79   3.52 1380
## 20                    Czech Republic     1168491  1028131    19537  0.98   1.67 1824
## 21                       Netherlands     1064598      322    15343  0.75   1.44  895
## 22                            Canada      852269   799830    21762  0.78   2.55  577
## 23                             Chile      805317   763904    20151  0.73   2.50 1054
## 24                          Portugal      799106   705976    16086  0.20   2.01 1578
## 25                           Romania      784711   728252    20013  0.43   2.55 1040
## 26                            Israel      759572   712555     5634  0.95   0.74  651
## 27                           Belgium      755594    51730    21923  0.15   2.90 1892
## 28                              Iraq      675982   623337    13311  1.20   1.97  331
## 29                            Sweden      642099     4971    12713  1.73   1.98 1259
## 30                          Pakistan      573384   536243    12658  0.18   2.21   57
## 31                       Philippines      564865   522941    12107  0.25   2.14  110
## 32                       Switzerland      551355   499532     9930  0.65   1.80 1147
## 33                        Bangladesh      544116   492887     8374  0.07   1.54   51
## 34                           Morocco      481709   466105     8574  0.12   1.78  232
## 35                           Austria      448371   423014     8434  0.39   1.88  936
## 36                            Serbia      442853   400347     4366  1.42   0.99  500
## 37                             Japan      427457   401809     7603  0.25   1.78   60
## 38                           Hungary      407274   310848    14450  0.40   3.55 1496
## 39                      Saudi Arabia      375668   366735     6470  0.18   1.72  186
## 40              United Arab Emirates      375535   366567     1145  0.81   0.30  116
## 41                            Jordan      372417   339214     4589  2.39   1.23  450
## 42                           Lebanon      359337   275149     4446  1.20   1.24  651
## 43                            Panama      337087   321439     5756  0.17   1.71 1334
## 44                          Slovakia      294790   255300     6671  0.68   2.26 1222
## 45                          Malaysia      288229   256678     1076  0.86   0.37   33
## 46                           Belarus      280428   270289     1930  0.35   0.69  204
## 47                           Ecuador      275780   238817    15567  0.40   5.64  882
## 48                             Nepal      273666   270068     2065  0.04   0.75   71
## 49                           Georgia      268995   262796     3457  0.18   1.29  867
## 50                           Bolivia      243176   186118    11470  0.36   4.72  983
## 51                          Bulgaria      240391   201500     9978  1.57   4.15 1436
## 52                           Croatia      240360   232697     5462  0.14   2.27 1330
## 53                Dominican Republic      236210   186703     3057  0.32   1.29  282
## 54                        Azerbaijan      233424   228012     3204  0.13   1.37  316
## 55                           Tunisia      229781   190155     7843  0.62   3.41  664
## 56                           Ireland      216300    23364     4181  0.58   1.93  847
## 57                           Denmark      209244   200948     2344  0.47   1.12  405
## 58                        Kazakhstan      208809   192733     2540  0.33   1.22  135
## 59                        Costa Rica      203097   173591     2785  0.70   1.37  547
## 60                         Lithuania      194833   180640     3189  0.26   1.64 1171
## 61                            Kuwait      186004   174088     1057  1.04   0.57  248
## 62                          Slovenia      185916   170527     3792  0.49   2.04 1824
## 63                            Greece      182783   162551     6343  1.66   3.47  609
## 64                             Egypt      179407   138683    10443  0.71   5.82  102
## 65                           Moldova      178540   163376     3823  1.01   2.14  948
## 66                       Puerto Rico      178065    89496     1986  0.73   1.12  694
## 67             Palestinian Territory      176377   162757     1994  0.80   1.13   NA
## 68                         Guatemala      172072   159206     6315  0.53   3.67  352
## 69                           Armenia      170672   162329     3171  0.16   1.86 1070
## 70                          Honduras      165737    64781     4024  0.39   2.43  406
## 71                             Qatar      161344   151225      257  0.28   0.16   89
## 72                          Ethiopia      154257   133051     2305  0.95   1.49   20
## 73                          Paraguay      153790   128731     3101  1.37   2.02  435
## 74                           Nigeria      153187   129943     1874  0.73   1.22    9
## 75                           Myanmar      141783   131358     3197  0.02   2.25   59
## 76                              Oman      139989   131143     1557  0.21   1.11  305
## 77                         Venezuela      136986   129027     1325  0.67   0.97   47
## 78                             Libya      130701   117017     2125  0.38   1.63  309
## 79            Bosnia and Herzegovina      129176   113688     5034  1.29   3.90 1534
## 80                           Bahrain      119205   111691      433  1.18   0.36  254
## 81                           Algeria      112279    77382     2967  0.32   2.64   68
## 82                             Kenya      104500    85665     1837  0.29   1.76   34
## 83                           Albania      102306    65403     1696  2.05   1.66  589
## 84                             China      101750    96225     4842  0.02   4.76    3
## 85      Republika Severna Makedonija       99917    90096     3085  0.64   3.09   NA
## 86                       South Korea       87681    78394     1573  0.41   1.79   31
## 87                        Kyrgyzstan       86001    82879     1460  0.08   1.70  224
## 88                            Latvia       82462    71506     1570  0.82   1.90  832
## 89                         Sri Lanka       81009    75842      453  1.26   0.56   21
## 90                             Ghana       80759    73365      582  0.63   0.72   19
## 91                        Uzbekistan       79717    78185      622  0.05   0.78   19
## 92                            Zambia       75582    69436     1040  0.74   1.38   57
## 93                        Montenegro       72969    63738      969  1.35   1.33 1543
## 94                            Norway       69148    63783      608  0.90   0.88  112
## 95                         Singapore       59883    59753       29  0.01   0.05    5
## 96                           Estonia       59407    46335      553  1.65   0.93  417
## 97                       El Salvador       59235    54324     1815  1.18   3.06  280
## 98                        Mozambique       56595    37570      606  1.71   1.07   19
## 99                       Afghanistan       55664    48967     2436  0.08   4.38   63
## 100                          Finland       54532    40000      734  0.74   1.35  132
## 101                       Luxembourg       54354    50945      629  0.40   1.16 1005
## 102                          Uruguay       53973    47512      588  2.19   1.09  169
## 103                             Cuba       46197    40979      304  3.76   0.66   27
## 104                           Uganda       40243    14615      333  0.07   0.83    7
## 105                          Namibia       37896    35419      411  1.10   1.08  162
## 106                         Zimbabwe       35910    32288     1448  0.32   4.03   97
## 107                         Cameroon       33749    31362      523  0.00   1.55   20
## 108                           Cyprus       33567     2057      230  0.92   0.69  190
## 109                          Senegal       33242    27694      832  0.43   2.50   50
## 110                    Côte d'Ivoire       32124    31096      188  0.31   0.59    7
## 111                           Malawi       31106    17445     1024  1.18   3.29   54
## 112                        Australia       28937    26149      909  0.02   3.14   36
## 113                            Sudan       28210    22823     1876  0.61   6.65   43
## 114                         Botswana       27721    22773      300  4.51   1.08  128
## 115                         Thailand       25599    24446       83  0.37   0.32    1
## 116 Democratic Republic of the Congo       25144    16135      700  0.26   2.78   NA
## 117                          Jamaica       21826    13046      405  2.08   1.86  137
## 118                            Malta       21306    18500      306  1.05   1.44  693
## 119                           Angola       20584    19207      500  0.32   2.43   15
## 120                       Madagascar       19831    19296      297  0.00   1.50   11
## 121                         Maldives       19038    16542       60  1.43   0.32  111
## 122                 French Polynesia       18362     4842      138  0.09   0.75  491
## 123                           Rwanda       18325    17251      253  1.51   1.38   20
## 124                       Mauritania       17130    16472      437  0.20   2.55   94
## 125                        Swaziland       16839    13613      647  0.30   3.84   NA
## 126                    French Guiana       16529     9995       83  0.00   0.50  278
## 127                          Mayotte       16349     2964       95  3.53   0.58  348
## 128                           Guinea       15487    14785       87  0.39   0.56    7
## 129                            Syria       15282     9389     1004  0.68   6.57   57
## 130                       Cape Verde       15089    14608      144  0.27   0.95   NA
## 131                            Gabon       13884    12561       76  2.44   0.55   34
## 132                       Tajikistan       13308    13218       90  0.00   0.68    9
## 133                            Haiti       12325     9536      247  0.13   2.00   22
## 134                           Belize       12264    11799      314  0.16   2.56  790
## 135                     Burkina Faso       11868    11293      141  0.60   1.19    7
## 136                          Réunion       11562    10576       48  0.00   0.42   54
## 137                          Andorra       10739    10285      110  0.37   1.02 1424
## 138                          Lesotho       10467     3418      291  0.06   2.78  136

## [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-23   China Hong Kong       10896    10427      197    12
## 2 2021-02-23   China  Shanghai        1786     1713        7     3
## 3 2021-02-23   China   Sichuan         889      869        3     2
## 4 2021-02-23   China Guangdong        2197     2141        8     1
## 5 2021-02-23   China  Zhejiang        1321     1310        1     1
## 6 2021-02-23   China  Shandong         868      860        7     1
## 7 2021-02-23   China   Jiangsu         704      698        0     1