source('./predict.R')

## [1] "2020-08-16"
##                         country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                 United States     5533161  2904245   172630  1.01   3.12  522
## 2                        Brazil     3317832  2404272   107297  1.19   3.23  505
## 3                         India     2618877  1891084    50464  3.47   1.93   37
## 4                        Russia      922853   732968    15685  0.54   1.70  107
## 5                  South Africa      583653   466941    11677  0.78   2.00  197
## 6                          Peru      525803   359781    26075  1.84   4.96  791
## 7                        Mexico      517714   351372    56543  1.24  10.92  439
## 8                      Colombia      456689   274420    14810  2.60   3.24  291
## 9                         Chile      383902   356951    10395  0.47   2.71  544
## 10                        Spain      358843   196958    28617  0.00   7.97  612
## 11                         Iran      343203   297486    19639  0.63   5.72  234
## 12               United Kingdom      317379     1918    41361  0.32  13.03  609
## 13                 Saudi Arabia      298542   266953     3408  0.89   1.14   98
## 14                    Argentina      289100   205697     5637  2.36   1.95  125
## 15                     Pakistan      288717   266301     6168  0.23   2.14   28
## 16                   Bangladesh      276549   158950     3657  0.74   1.32   22
## 17                        Italy      253438   203640    35392  0.25  13.96  585
## 18                       Turkey      248117   229972     5955  0.51   2.40   71
## 19                      Germany      225011   204749     9391  0.41   4.17  112
## 20                       France      215521    83848    30409  1.56  14.11  466
## 21                         Iraq      176931   125374     5860  5.13   3.31  146
## 22                  Philippines      157918    72209     2600  0.00   1.65   24
## 23                    Indonesia      139549    93103     6150  1.51   4.41   22
## 24                       Canada      121889   108218     9024  0.19   7.40  239
## 25                        Qatar      115080   111794      193  0.24   0.17   67
## 26                   Kazakhstan      102696    81558     1269  0.40   1.24   68
## 27                      Ecuador      100688    79354     6065  1.29   6.02  344
## 28                      Bolivia       99146    35638     4003  1.22   4.04  343
## 29                        Egypt       96336    58835     5141  0.12   5.34   50
## 30                       Israel       92404    68400      679  1.45   0.73   78
## 31                      Ukraine       91356    47822     2070  1.82   2.27   47
## 32                        China       89837    83646     4710  0.10   5.24    3
## 33           Dominican Republic       85545    51356     1438  1.25   1.68  133
## 34                       Sweden       84294     4971     5783  0.00   6.86  573
## 35                         Oman       83036    77550      562  0.14   0.68  110
## 36                       Panama       80665    53857     1746  1.59   2.16  405
## 37                      Belgium       77869    17981     9935  0.98  12.76  857
## 38                       Kuwait       76205    68135      501  1.36   0.66  117
## 39                      Romania       70461    32587     2991  1.57   4.24  155
## 40                      Belarus       69424    66747      607  0.17   0.87   64
## 41         United Arab Emirates       64312    57694      364  0.33   0.57   37
## 42                  Netherlands       63002      322     6172  1.88   9.80  360
## 43                    Guatemala       62313    50183     2355  1.44   3.78  131
## 44                       Poland       56684    39130     1877  1.06   3.31   50
## 45                        Japan       56014    38945     1093  1.49   1.95    9
## 46                    Singapore       55747    51521       27  0.15   0.05    5
## 47                     Portugal       54102    39697     1778  0.59   3.29  174
## 48                     Honduras       49979     7255     1567  1.04   3.14  158
## 49                      Nigeria       48770    36290      974  0.67   2.00    5
## 50                      Bahrain       46430    42806      170  0.82   0.37  100
## 51                        Ghana       42210    40147      231  0.00   0.55    7
## 52                   Kyrgyzstan       41856    34276     1495  0.51   3.57  229
## 53                      Armenia       41663    34584      818  0.40   1.96  276
## 54                      Morocco       41017    28566      632  4.53   1.54   17
## 55                      Algeria       38133    26644     1360  1.25   3.57   31
## 56                  Switzerland       38124    33200     1991  0.53   5.22  230
## 57                  Afghanistan       37596    27166     1375  0.12   3.66   35
## 58                   Uzbekistan       35109    30664      230  3.21   0.66    7
## 59                   Azerbaijan       34219    31875      506  0.59   1.48   50
## 60                    Venezuela       32607    21747      276  3.91   0.85   10
## 61                      Moldova       29905    20908      895  1.43   2.99  222
## 62                        Kenya       29849    15970      472  1.76   1.58    9
## 63                       Serbia       29682    27061      674  1.54   2.27   77
## 64                     Ethiopia       28894    12037      509  6.06   1.76    4
## 65                   Costa Rica       27737     9010      291  2.99   1.05   57
## 66                      Ireland       27191    23364     1774  0.73   6.52  359
## 67                        Nepal       26660    17335      104  2.46   0.39    4
## 68                  Puerto Rico       25695     2267      329  0.00   1.28  115
## 69                      Austria       23370    20681      728  0.82   3.12   81
## 70                    Australia       23287    13634      396  1.09   1.70   16
## 71                  El Salvador       22912    10807      612  1.30   2.67   94
## 72               Czech Republic       19891    13763      395  1.01   1.99   37
## 73                     Cameroon       18469    16540      401  0.00   2.17   15
## 74                Cรดte d'Ivoire       16993    13759      108  0.34   0.64    4
## 75        Palestinian Territory       16534     9838      110  2.36   0.67   NA
## 76                      Denmark       15867    13514      621  0.71   3.91  107
## 77       Bosnia and Herzegovina       15801     9619      471  1.71   2.98  144
## 78                  South Korea       15318    13910      305  1.86   1.99    6
## 79                     Bulgaria       14333     9161      495  0.63   3.45   71
## 80                   Madagascar       13827    12424      170  0.75   1.23    6
## 81 Republika Severna Makedonija       12739     9174      544  1.79   4.27   NA
## 82                        Sudan       12314     6350      798  0.84   6.48   18
## 83                      Senegal       12032     7637      251  0.00   2.09   15