source('./predict.R')

##           country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1   United States      849094    84050    47684     2.92       5.62
## 2           Spain      213024    89250    22157     2.22      10.40
## 3           Italy      187327    54543    25085     1.83      13.39
## 4          France      159877    40657    21340     0.36      13.35
## 5         Germany      151761   112320     5403     1.44       3.56
## 6  United Kingdom      138078     1918    18738     3.43      13.57
## 7          Turkey       98674    16477     2376     3.23       2.41
## 8            Iran       87026    64843     5481     1.20       6.30
## 9           China       84311    78236     4642     0.01       5.51
## 10         Russia       62773     4891      555     8.23       0.88
## 11         Brazil       46348    25318     2934     6.87       6.33
## 12        Belgium       42797     9800     6490     2.17      15.16
## 13         Canada       40190    13986     1974     4.60       4.91
## 14    Netherlands       35729      322     4177     2.55      11.69
## 15    Switzerland       28496    19900     1509     0.81       5.30
## 16       Portugal       22353     1201      820     1.69       3.67
## 17          India       21797     4376      681     6.48       3.12
## 18           Peru       19250     7027      530     7.92       2.75
## 19         Sweden       16755      550     2021     4.69      12.06
## 20        Ireland       16671     9233      769     3.93       4.61
## 21        Austria       15002    11694      552     0.52       3.68
## 22         Israel       14592     5334      191     1.86       1.31
## 23   Saudi Arabia       13930     1925      121     9.07       0.87
## 24          Japan       12423     2069      325     3.59       2.62
## 25          Chile       11296     5386      160     4.28       1.42
## 26      Singapore       11178      896       12    10.23       0.11
## 27        Ecuador       10850     1262      537     4.35       4.95
## 28       Pakistan       10811     2337      228    10.89       2.11
## 29    South Korea       10702     8411      240     0.07       2.24
## 30         Mexico       10544     2627      970    10.98       9.20
## 31         Poland       10346     1740      435     3.11       4.20
## 32        Romania       10096     2478      527     3.98       5.22

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

## [1] "Provinces added more than 0 cases in last 1 days:"
##         time country     province cum_confirm cum_heal cum_dead suspected added
## 1 2020-04-23   China Heilongjiang         928      485       13         0     3
## 2 2020-04-23   China    Hong Kong        1035      699        4         0     2
## 3 2020-04-23   China        Jilin         108       99        1         0     1
## 4 2020-04-23   China     Shanghai         641      533        7         0     1
## 5 2020-04-23   China    Guangdong        1585     1528        8         0     1
## 6 2020-04-23   China       Taiwan         427      253        6         0     1