source('./predict.R')

##                 country cum_confirm cum_heal cum_dead death_rate
## 1         United States      792846    72410    42491     5.3593
## 2                 Spain      204178    82514    21282    10.4233
## 3                 Italy      181228    48877    24114    13.3059
## 4                France      156493    38037    20292    12.9667
## 5               Germany      147931   107024     4918     3.3245
## 6        United Kingdom      129044     1918    17337    13.4350
## 7                Turkey       90980    13430     2140     2.3522
## 8                  Iran       84802    60965     5297     6.2463
## 9                 China       84287    78042     4642     5.5074
## 10               Russia       52763     3873      456     0.8642
## 11              Belgium       40956     9002     5998    14.6450
## 12               Brazil       40814    22991     2588     6.3410
## 13               Canada       37933    12747     1753     4.6213
## 14          Netherlands       34134      322     3916    11.4724
## 15          Switzerland       28063    18600     1436     5.1171
## 16             Portugal       21379      917      762     3.5642
## 17                India       18985     3260      603     3.1762
## 18                 Peru       16325     6968      445     2.7259
## 19              Ireland       15652       77      687     4.3892
## 20               Sweden       15322      550     1765    11.5194
## 21              Austria       14873    10971      491     3.3013
## 22               Israel       13883     4353      181     1.3038
## 23         Saudi Arabia       11631     1640      109     0.9372
## 24                Japan       11543     1356      281     2.4344
## 25          South Korea       10683     8213      237     2.2185
## 26                Chile       10507     4676      139     1.3229
## 27              Ecuador       10128     1150      507     5.0059
## 28               Poland        9737     1297      385     3.9540
## 29             Pakistan        9216     2066      192     2.0833
## 30            Singapore        9125      768       11     0.1205
## 31              Romania        8936     2017      482     5.3939
## 32               Mexico        8772     2627      712     8.1167
## 33 United Arab Emirates        7755     1443       46     0.5932
## 34              Denmark        7711     4499      364     4.7205
## 35               Norway        7156       32      181     2.5293
## 36            Indonesia        7135      842      616     8.6335
## 37       Czech Republic        6914     1597      196     2.8348
## 38            Australia        6642     4685       71     1.0690
## 39               Serbia        6630      870      125     1.8854
## 40          Philippines        6599      654      437     6.6222
## 41                Qatar        6533      614        9     0.1378
## 42              Belarus        6264      514       51     0.8142
## 43              Ukraine        6125      367      161     2.6286
## 44             Malaysia        5482     3349       92     1.6782

## [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-21   China      Shaanxi         277      253        3         0    21
## 2 2020-04-21   China Heilongjiang         921      477       13         0     8
## 3 2020-04-21   China    Hong Kong        1029      650        4         0     4
## 4 2020-04-21   China       Taiwan         425      217        6         0     3
## 5 2020-04-21   China     Shanghai         639      530        7         0     1