source('./predict.R')

##                 country cum_confirm cum_heal cum_dead death_rate
## 1         United States      825041    82973    45340     5.4955
## 2                 Spain      208389    85915    21717    10.4214
## 3                 Italy      183957    51600    24648    13.3988
## 4                France      159297    39819    20829    13.0756
## 5               Germany      149614   110014     5138     3.4342
## 6        United Kingdom      133495     1918    18100    13.5586
## 7                Turkey       95591    14918     2259     2.3632
## 8                  Iran       85996    63113     5391     6.2689
## 9                 China       84302    78147     4642     5.5064
## 10               Russia       57999     4420      513     0.8845
## 11               Brazil       43368    24325     2761     6.3664
## 12              Belgium       41889     9433     6262    14.9490
## 13               Canada       38422    13143     1833     4.7707
## 14          Netherlands       34842      322     4054    11.6354
## 15          Switzerland       28268    19400     1478     5.2285
## 16             Portugal       21982     1143      785     3.5711
## 17                India       20471     3976      652     3.1850
## 18                 Peru       17837     6982      484     2.7135
## 19              Ireland       16040     9233      730     4.5511
## 20               Sweden       16004      550     1937    12.1032
## 21              Austria       14925    11328      510     3.4171
## 22               Israel       14326     4961      187     1.3053
## 23         Saudi Arabia       12772     1812      114     0.8926
## 24                Japan       11992     2069      290     2.4183
## 25                Chile       10832     4969      147     1.3571
## 26          South Korea       10694     8277      238     2.2255
## 27              Ecuador       10398     1207      520     5.0010
## 28            Singapore       10141      839       11     0.1085
## 29               Poland       10034     1513      404     4.0263
## 30             Pakistan        9749     2156      209     2.1438
## 31              Romania        9710     2406      510     5.2523
## 32               Mexico        9501     2627      857     9.0201
## 33 United Arab Emirates        8238     1546       52     0.6312
## 34              Denmark        7912     4889      370     4.6764
## 35            Indonesia        7418      913      635     8.5603
## 36              Belarus        7281      769       58     0.7966
## 37               Norway        7241       32      182     2.5135
## 38                Qatar        7141      689       10     0.1400
## 39               Serbia        7114     1025      134     1.8836
## 40       Czech Republic        7041     1800      204     2.8973
## 41          Philippines        6710      693      446     6.6468
## 42            Australia        6647     4685       74     1.1133
## 43              Ukraine        6592      424      174     2.6396
## 44             Malaysia        5482     3349       92     1.6782
## 45   Dominican Republic        5044      463      245     4.8573

## [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-22   China Heilongjiang         925      485       13         0     4
## 2 2020-04-22   China    Hong Kong        1033      678        4         0     4
## 3 2020-04-22   China    Guangdong        1584     1518        8         0     2
## 4 2020-04-22   China      Shaanxi         279      253        3         0     2
## 5 2020-04-22   China        Jilin         107       98        1         0     1
## 6 2020-04-22   China     Shanghai         640      532        7         0     1
## 7 2020-04-22   China       Taiwan         426      236        6         0     1