source('./predict.R')

##           country cum_confirm cum_heal cum_dead inc_rate death_rate
## 1   United States      886709    85922    50243     4.43       5.67
## 2           Spain      219764    92355    22524     3.16      10.25
## 3           Italy      189973    57576    25549     1.41      13.45
## 4          France      159460    42088    21856    -0.26      13.71
## 5         Germany      153758   114026     5543     1.32       3.61
## 6  United Kingdom      143464     1918    19506     3.90      13.60
## 7          Turkey      101790    18491     2491     3.16       2.45
## 8            Iran       88194    66596     5574     1.34       6.32
## 9           China       84324    78362     4642     0.02       5.50
## 10         Russia       68622     5568      615     9.32       0.90
## 11         Brazil       50230    26573     3343     8.38       6.66
## 12        Belgium       44293    10122     6679     3.50      15.08
## 13         Canada       43286    14761     2241     7.70       5.18
## 14    Netherlands       36535      322     4289     2.26      11.74
## 15    Switzerland       28677    20600     1551     0.64       5.41
## 16          India       23502     5012      722     7.82       3.07
## 17       Portugal       22797     1228      854     1.99       3.75
## 18           Peru       20914     7422      572     8.64       2.74
## 19        Ireland       17607     9233      794     5.61       4.51
## 20         Sweden       17567      550     2152     4.85      12.25
## 21   Saudi Arabia       15102     1925      127     8.41       0.84
## 22        Austria       15071    11872      522     0.46       3.46
## 23         Israel       14882     5685      193     1.99       1.30
## 24          Japan       12724     2408      331     2.42       2.60
## 25      Singapore       12075      924       12     8.02       0.10
## 26          Chile       11812     5804      168     4.57       1.42
## 27         Mexico       11633     2627     1069    10.33       9.19
## 28        Ecuador       11183     1328      560     3.07       5.01
## 29       Pakistan       11155     2527      237     3.18       2.12
## 30         Poland       10759     1944      463     3.99       4.30
## 31    South Korea       10708     8501      240     0.06       2.24
## 32        Romania       10417     2817      552     3.18       5.30

## [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-24   China Heilongjiang         930      508       13         0     2
## 2 2020-04-24   China      Tianjin         190      179        3         0     1
## 3 2020-04-24   China        Jilin         109       99        1         0     1
## 4 2020-04-24   China       Yunnan         185      180        2         0     1
## 5 2020-04-24   China       Taiwan         428      264        6         0     1