source('./predict.R')

## [1] "2020-06-07"
##                 country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1         United States     1990602   752049   112128     1.08       5.63
## 2                Brazil      676494   302084    36044     4.72       5.33
## 3                Russia      467673   226731     5859     1.96       1.25
## 4                 Spain      288390   196958    27135     0.12       9.41
## 5        United Kingdom      284868     1918    40465     0.00      14.20
## 6                 India      253329   120203     6988     5.71       2.76
## 7                 Italy      234801   165078    33846     0.12      14.41
## 8                  Peru      191758    82731     5301     2.33       2.76
## 9               Germany      186320   171153     8860     0.18       4.76
## 10                 Iran      171789   134349     8291     1.40       4.83
## 11               Turkey      169218   135322     4669     0.52       2.76
## 12               France      153634    70806    29142     0.38      18.97
## 13                Chile      127745    95631     1541     4.28       1.21
## 14               Mexico      113619    81544    13511     3.27      11.89
## 15         Saudi Arabia      101914    72817      712     3.08       0.70
## 16             Pakistan       98943    33465     2002     5.28       2.02
## 17               Canada       95057    53614     7773     0.77       8.18
## 18                China       84630    79857     4645     0.01       5.49
## 19                Qatar       68790    44338       54     2.37       0.08
## 20           Bangladesh       65769    13903      888     4.35       1.35
## 21              Belgium       59226    16291     9595     0.26      16.20
## 22              Belarus       48630    23647      269     1.84       0.55
## 23          Netherlands       47335      322     6011     0.00      12.70
## 24         South Africa       45973    24258      952     5.85       2.07
## 25               Sweden       43887     4971     4656     0.00      10.61
## 26              Ecuador       42728    21020     3608     2.77       8.44
## 27 United Arab Emirates       38808    21806      276     3.10       0.71
## 28             Colombia       38027    14382     1205     3.80       3.17
## 29            Singapore       37910    24559       25     1.02       0.07
## 30             Portugal       34351    20807     1474     1.12       4.29
## 31                Egypt       32612     8538     1198     4.81       3.67
## 32               Kuwait       31848    20205      264     2.30       0.83
## 33            Indonesia       31186    10498     1851     2.20       5.94
## 34          Switzerland       30956    28600     1921     0.00       6.21
## 35              Ukraine       26999    12054      788     1.83       2.92
## 36               Poland       26249    12855     1155     2.26       4.40
## 37              Ireland       25183    22698     1678     0.08       6.66
## 38            Argentina       22020     6180      648     4.67       2.94
## 39          Philippines       21895     4530     1003     2.60       4.58
## 40          Afghanistan       20342     1875      357     4.05       1.75
## 41              Romania       20290    14419     1326     0.00       6.54
## 42   Dominican Republic       19195    11919      536     2.60       2.79
## 43               Israel       17783    15064      297     0.43       1.67
## 44                Japan       17164    15079      916     0.27       5.34
## 45              Austria       16898    15789      672     0.00       3.98
## 46                 Oman       16882     3451       75     5.41       0.44
## 47               Panama       16004    10118      386     3.50       2.41
## 48              Bahrain       14383     9056       25     1.12       0.17
## 49              Bolivia       13358     1902      454     4.95       3.40
## 50              Armenia       13130     4014      200     6.20       1.52
## 51           Kazakhstan       12694     7135       53     1.46       0.42
## 52                 Iraq       12366     5186      346    11.43       2.80
## 53              Nigeria       12233     3826      342     3.28       2.80
## 54              Denmark       12124    10921      587     0.41       4.84
## 55          South Korea       11776    10552      273     0.49       2.32
## 56               Serbia       11741    11056      248     0.00       2.11
## 57              Algeria       10050     6631      698     1.16       6.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 2020-06-07   China   Shaanxi         311      305        3     2
## 2 2020-06-07   China    Fujian         359      356        1     1
## 3 2020-06-07   China Guangdong        1602     1584        8     1
## 4 2020-06-07   China    Hainan         170      162        6     1
## 5 2020-06-07   China Hong Kong        1106     1049        4     1