options(width = 100)
source('./predict.R')
## [1] "2020-11-22"
##                              country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                            Belgium      556904    35810    15522  0.58   2.79 1339
## 2                               Peru      948081   876399    35549  0.21   3.75 1078
## 3                              Spain     1589219   196958    42619  0.00   2.68  912
## 4                          Argentina     1366182  1187053    36902  0.53   2.70  816
## 5                              Italy     1380531   539524    49261  2.58   3.57  815
## 6                     United Kingdom     1493383     1918    54626  1.35   3.66  805
## 7                             Brazil     6052786  5429158   169016  0.54   2.79  795
## 8                      United States    12457447  7404807   261841  1.42   2.10  791
## 9                             Mexico     1032688   774930   101373  0.65   9.82  786
## 10                             Chile      539143   514584    15030  0.29   2.79  786
## 11                           Bolivia      143922   119180     8904  0.05   6.19  763
## 12                           Ecuador      184876   160639    13139  0.56   7.11  745
## 13                            France     2127051   149521    48518  0.85   2.28  743
## 14                        Montenegro       30653    19129      434  1.91   1.42  691
## 15                          Colombia     1240493  1144923    35104  0.57   2.83  690
## 16            Bosnia and Herzegovina       79309    43793     2246  1.69   2.83  685
## 17                            Panama      153577   134360     2946  0.85   1.92  683
## 18                    Czech Republic      490750   394830     7095  0.65   1.45  663
## 19                           Armenia      126224    94090     1952  1.11   1.55  659
## 20                            Sweden      208295     4971     6406  0.00   3.08  634
## 21                              Iran      854361   603445    44802  1.55   5.24  533
## 22                           Moldova       96689    78112     2130  1.37   2.20  528
## 23                           Romania      418645   295148    10047  1.41   2.40  522
## 24                       Netherlands      484648      322     8891  1.12   1.83  519
## 25                          Slovenia       65308    44137     1052  1.62   1.61  506
## 26                       Switzerland      290601   180700     4031  0.00   1.39  466
## 27                        Luxembourg       30333    20014      262  1.92   0.86  419
## 28                           Ireland       70143    23364     2022  0.49   2.88  409
## 29                          Bulgaria      120697    35752     2820  1.92   2.34  406
## 30                           Hungary      174618    42915     3800  2.54   2.18  393
## 31                          Portugal      255970   169379     3824  2.59   1.49  375
## 32                            Poland      861331   423971    13618  2.12   1.58  360
## 33                       Puerto Rico       84307    38237     1012  1.69   1.20  354
## 34                      South Africa      765409   707784    20845  0.35   2.72  351
## 35                           Croatia      103718    82380     1353  3.29   1.30  330
## 36                            Israel      328613   317348     2757  0.26   0.84  319
## 37                        Costa Rica      129418    79372     1608  0.00   1.24  316
## 38                            Canada      325711   260398    11406  1.56   3.50  302
## 39                              Iraq      535321   465452    11958  0.33   2.23  297
## 40                          Honduras      104435    46208     2857  0.85   2.74  288
## 41                              Oman      122081   113269     1380  0.59   1.13  270
## 42                           Austria      247188   169260     2388  2.16   0.97  265
## 43                           Ukraine      624744   286917    10951  1.97   1.75  250
## 44                            Russia     2089329  1595443    36179  1.19   1.73  248
## 45                           Georgia      104732    85639      976  4.02   0.93  245
## 46                           Albania       32196    15469      685  2.34   2.13  238
## 47                     French Guiana       11014     9995       70  0.25   0.64  234
## 48                           Tunisia       87471    61402     2752  1.40   3.15  233
## 49                          Paraguay       75857    53988     1652  1.06   2.18  232
## 50                         Guatemala      118417   107241     4074  0.56   3.44  227
## 51                  French Polynesia       12978     4842       63  0.00   0.49  224
## 52                Dominican Republic      137770   112090     2308  0.72   1.68  213
## 53                            Jordan      178161   108353     2172  2.19   1.22  213
## 54                            Kuwait      140056   132178      866  0.23   0.62  203
## 55                           Bahrain       85591    83617      338  0.15   0.39  199
## 56                        Kyrgyzstan       69581    60811     1231  0.62   1.77  189
## 57                           Germany      924162   603729    14262  2.49   1.54  170
## 58                      Saudi Arabia      355258   343371     5780  0.06   1.63  166
## 59                       El Salvador       37562    34297     1075  0.84   2.86  166
## 60                             Libya       77823    48914     1089  1.32   1.40  158
## 61                            Greece       90121     9989     1527  2.63   1.69  147
## 62                            Turkey      440805   370825    12219  1.27   2.77  145
## 63                           Morocco      320962   266711     5256  1.49   1.64  142
## 64                         Lithuania       47047    10945      386  5.16   0.82  142
## 65                           Denmark       70152    54949      781  1.85   1.11  135
## 66                            Serbia      116125    31536     1168  5.23   1.01  134
## 67                           Lebanon      115283    66135      894  1.43   0.78  131
## 68                          Slovakia       96241    45883      671  1.03   0.70  123
## 69                           Belarus      123999   103848     1096  1.28   0.88  116
## 70                        Azerbaijan       93094    63841     1131  6.80   1.21  112
## 71                        Kazakhstan      125466   112292     1945  0.61   1.55  104
## 72                             India     9107622  8530803   133385  0.52   1.46   97
## 73                          Maldives       12578    11559       46  0.26   0.37   85
## 74                             Qatar      137229   134282      236  0.12   0.17   82
## 75                            Latvia       13120     1635      153  2.95   1.17   81
## 76                           Jamaica       10240     5481      237  0.88   2.31   80
## 77                       Philippines      418818   386486     8123  0.47   1.94   74
## 78                           Finland       21639    15300      375  1.99   1.73   68
## 79                             Egypt      112676   101783     6535  0.32   5.80   64
## 80                         Indonesia      497668   418188    15884  0.88   3.19   58
## 81                           Namibia       13811    13209      145  0.72   1.05   57
## 82                            Norway       32352    20956      306  1.06   0.95   56
## 83              United Arab Emirates      158990   148871      552  0.76   0.35   56
## 84                           Algeria       73774    48183     2255  1.40   3.06   51
## 85                             Nepal      220308   199024     1321  0.76   0.60   45
## 86                       Afghanistan       44706    35934     1687  0.46   3.77   43
## 87                        Bangladesh      447341   362428     6388  0.46   1.43   39
## 88                         Australia       27821    25522      907  0.05   3.26   36
## 89                          Pakistan      374173   329828     7662  0.72   2.05   35
## 90                           Myanmar       79246    58758     1739  1.80   2.19   32
## 91                         Venezuela       99435    94355      869  0.42   0.87   31
## 92                             Sudan       15839     9727     1193  1.99   7.53   27
## 93                             Kenya       76404    51352     1366  1.61   1.79   25
## 94                           Senegal       15882    15488      330  0.11   2.08   20
## 95                            Zambia       17424    16701      357  0.17   2.05   19
## 96                        Uzbekistan       71552    68711      603  0.27   0.84   18
## 97                          Cameroon       23528    22177      435  0.00   1.85   16
## 98                             Japan      133116   111163     2001  3.71   1.50   16
## 99                          Ethiopia      105352    65534     1636  0.45   1.55   14
## 100                            Ghana       50874    49405      323  0.31   0.63   10
## 101                           Angola       14413     7273      336  1.02   2.33   10
## 102                      South Korea       30733    26466      505  1.09   1.64   10
## 103                         Malaysia       54775    41597      335  2.04   0.61   10
## 104                       Tajikistan       11854    11229       86  0.33   0.73    9
## 105                       Madagascar       17341    16657      251  0.18   1.45    9
## 106                           Guinea       12826    11838       75  0.22   0.58    6
## 107                          Nigeria       66228    61884     1166  0.37   1.76    6
## 108                        Singapore       58160    58064       28  0.02   0.05    5
## 109                    Côte d'Ivoire       21126    20777      129  0.13   0.61    5
## 110                           Uganda       17667     8611      168  1.35   0.95    4
## 111                        Sri Lanka       19946    14069       83  2.09   0.42    4
## 112                       Mozambique       14981    13151      123  0.70   0.82    4
## 113                            China       92733    87346     4749  0.09   5.12    3
## 114                       Cape Verde       10234     9649      104  0.81   1.02   NA
## 115 Democratic Republic of the Congo       12180    11300      327  0.42   2.68   NA
## 116     Republika Severna Makedonija       53631    31659     1487  2.25   2.77   NA
## 117            Palestinian Territory       71644    59021      636  1.98   0.89   NA

## [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  2020-11-22   China Hong Kong        5628     5259      108    68
## 2  2020-11-22   China    Taiwan         617      548        7     6
## 3  2020-11-22   China Guangdong        1979     1939        8     4
## 4  2020-11-22   China    Fujian         473      434        1     4
## 5  2020-11-22   China  Shanghai        1308     1236        7     3
## 6  2020-11-22   China   Shaanxi         492      447        3     2
## 7  2020-11-22   China   Tianjin         298      277        3     2
## 8  2020-11-22   China  Zhejiang        1293     1283        1     1
## 9  2020-11-22   China   Beijing         950      936        9     1
## 10 2020-11-22   China   Sichuan         797      745        3     1