source('./predict.R')

## [1] "2020-06-05"
##                 country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1         United States     1926269   712436   110255     1.12       5.72
## 2                Brazil      618554   274997    34072     5.37       5.51
## 3                Russia      449834   212680     5528     1.98       1.23
## 4                 Spain      287740   196958    27133     0.12       9.43
## 5        United Kingdom      281661     1918    39904     0.64      14.17
## 6                 Italy      234013   161895    33689     0.08      14.40
## 7                 India      230113   110075     6393     4.93       2.78
## 8               Germany      185431   170214     8798     0.17       4.74
## 9                  Peru      183198    76228     5031     2.39       2.75
## 10               Turkey      167410   131778     4630     0.59       2.77
## 11                 Iran      167156   129741     8134     1.76       4.87
## 12               France      152444    69976    29065     0.51      19.07
## 13                Chile      118292    90748     1356     4.10       1.15
## 14               Mexico      105680    75448    12545     4.39      11.87
## 15         Saudi Arabia       95748    70616      642     2.78       0.67
## 16               Canada       93726    51739     7637     0.69       8.15
## 17             Pakistan       89249    31198     1838     4.67       2.06
## 18                China       84617    79848     4645     0.01       5.49
## 19                Qatar       65495    40935       49     2.75       0.07
## 20           Bangladesh       60391    12804      811     4.91       1.34
## 21              Belgium       58767    16048     9548     0.00      16.25
## 22          Netherlands       47152      322     6005     0.45      12.74
## 23              Belarus       46868    22066      259     1.93       0.55
## 24               Sweden       41883     4971     4562     2.65      10.89
## 25              Ecuador       40966    20019     3486     0.00       8.51
## 26         South Africa       40792    21311      848     8.71       2.08
## 27            Singapore       37183    23904       24     0.71       0.06
## 28 United Arab Emirates       37018    19572      273     0.00       0.74
## 29             Colombia       35120    12921     1087     5.29       3.10
## 30             Portugal       33969    20526     1465     1.12       4.31
## 31          Switzerland       30936    28600     1921     0.07       6.21
## 32               Kuwait       30644    18277      244     2.42       0.80
## 33                Egypt       29767     7756     1126     4.03       3.78
## 34            Indonesia       29521     9443     1770     2.44       6.00
## 35              Ukraine       25964    11372      762     2.18       2.93
## 36               Poland       25177    12410     1127     1.41       4.48
## 37              Ireland       25142    22698     1664     0.12       6.62
## 38          Philippines       20626     4330      987     1.20       4.79
## 39            Argentina       20197     6088      616     4.82       3.05
## 40              Romania       20103    14145     1308     0.98       6.51
## 41   Dominican Republic       18319    11474      520     1.55       2.84
## 42          Afghanistan       18054     1585      300     0.00       1.66
## 43               Israel       17562    15026      291     0.76       1.66
## 44                Japan       17118    14867      914     0.23       5.34
## 45              Austria       16843    15742      672     0.23       3.99
## 46                 Oman       15086     3451       72     5.38       0.48
## 47               Panama       15044     9619      363     6.73       2.41
## 48              Bahrain       13733     8471       22     7.16       0.16
## 49           Kazakhstan       12312     6606       52     2.03       0.42
## 50              Bolivia       12245     1658      415     5.22       3.39
## 51              Denmark       12011    10820      582     0.33       4.85
## 52              Armenia       11817     3513      183     5.31       1.55
## 53          South Korea       11668    10506      273     0.34       2.34
## 54               Serbia       11667     6931      247     0.83       2.12
## 55              Nigeria       11516     3535      323     3.13       2.80

## [1] "Pakistan leading 1 cum_confirm == 0 trimed"

## [1] "Provinces added more than 0 cases in last 1 days:"
##         time country  province cum_confirm cum_heal cum_dead added
## 1 2020-06-05   China  Shanghai         677      663        7     4
## 2 2020-06-05   China Hong Kong        1102     1045        4     4
## 3 2020-06-05   China   Sichuan         578      558        3     1