Skip to content

Commit

Permalink
update 22-mar
Browse files Browse the repository at this point in the history
  • Loading branch information
paaatcha committed Mar 22, 2020
1 parent 3c8c0f3 commit 92eca03
Show file tree
Hide file tree
Showing 58 changed files with 30,127 additions and 29,464 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ On March 11, 2020, the World Health Organization (WHO) declared the Covid-19 (a.

For Portuguese speakers, I wrote a post in my blog about this analysis: [O que os dados dizem sobre o Coronavírus?](http://computacaointeligente.com.br/coolstuffs/analisando-coronavirus/)

## Some plots and tables got during the analysis (updated on March 21, 2020)
## Some plots and tables got during the analysis (updated on March 22, 2020)
### Covid-19 worldwide (without China):
![covid-19-wo-chinha](figures/en/conf_cases_worldwide_no_china.png)

Expand All @@ -16,16 +16,16 @@ For Portuguese speakers, I wrote a post in my blog about this analysis: [O que o
### Top 10 infected countries
| Country/Region | Confirmed | Deaths | Recovered | % Deaths | % Population |
|:-----------------|------------:|---------:|------------:|------------:|-----------:|
| China | 81250 | 3253 | 71266 | 4.00369 | 0.00583387 |
| Italy | 47021 | 4032 | 4440 | 8.57489 | 0.077809 |
| Spain | 20410 | 1043 | 1588 | 5.11024 | 0.0436823 |
| Germany | 19848 | 67 | 180 | 0.337565 | 0.023934 |
| Iran | 19644 | 1433 | 6745 | 7.29485 | 0.0240146 |
| US | 19100 | 244 | 0 | 1.27749 | 0.00583799 |
| France | 12726 | 450 | 12 | 3.53607 | 0.0189976 |
| Korea, South | 8652 | 94 | 1540 | 1.08645 | 0.016756 |
| Switzerland | 5294 | 54 | 15 | 1.02002 | 0.0621614 |
| United Kingdom | 4014 | 178 | 67 | 4.43448 | 0.00603709 |
| China | 81305 | 3259 | 71857 | 4.00836 | 0.00583781 |
| Italy | 53578 | 4825 | 6072 | 9.00556 | 0.0886594 |
| US | 25489 | 307 | 0 | 1.20444 | 0.00779081 |
| Spain | 25374 | 1375 | 2125 | 5.41893 | 0.0543064 |
| Germany | 22213 | 84 | 233 | 0.378157 | 0.0267859 |
| Iran | 20610 | 1556 | 7635 | 7.54973 | 0.0251955 |
| France | 14431 | 562 | 12 | 3.89439 | 0.0215429 |
| Korea, South | 8799 | 102 | 1540 | 1.15922 | 0.0170407 |
| Switzerland | 6575 | 75 | 15 | 1.14068 | 0.0772027 |
| United Kingdom | 5067 | 234 | 67 | 4.61812 | 0.00762081 |

### Comparing confirmed cases around the world

Expand Down
531 changes: 201 additions & 330 deletions analysis.ipynb

Large diffs are not rendered by default.

56,109 changes: 28,443 additions & 27,666 deletions data/clean_data.csv

Large diffs are not rendered by default.

961 changes: 483 additions & 478 deletions data/raw/Confirmed_cases.csv

Large diffs are not rendered by default.

961 changes: 483 additions & 478 deletions data/raw/Deaths_cases.csv

Large diffs are not rendered by default.

961 changes: 483 additions & 478 deletions data/raw/Recovered_cases.csv

Large diffs are not rendered by default.

Binary file modified figures/en/conf_cases_countries.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_in_USA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_in_brazil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_in_canada.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_in_china.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_in_france.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_in_germany.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_in_iran.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_in_italy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_in_span.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_worldwide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/conf_cases_worldwide_no_china.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_in_USA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_in_brazil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_in_canada.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_in_france.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_in_germany.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_in_iran.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_in_italy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_in_korea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_in_spain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_worldwide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/deaths_worldwide_no_china.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/early_cases_conf_brazil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/en/mortes_in_china.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/pt/casos_conf_EUA.png
Binary file modified figures/pt/casos_conf_alemanha.png
Binary file modified figures/pt/casos_conf_brasil.png
Binary file modified figures/pt/casos_conf_canada.png
Binary file modified figures/pt/casos_conf_coreia.png
Binary file modified figures/pt/casos_conf_espanha.png
Binary file modified figures/pt/casos_conf_france.png
Binary file modified figures/pt/casos_conf_iran.png
Binary file modified figures/pt/casos_conf_italia.png
Binary file modified figures/pt/casos_conf_mundo.png
Binary file modified figures/pt/casos_conf_mundo_sem_china.png
Binary file modified figures/pt/casos_conf_na_china.png
Binary file modified figures/pt/casos_confirmados_paises.png
Binary file modified figures/pt/mortes_china.png
Binary file modified figures/pt/mortes_mundo.png
Binary file modified figures/pt/mortes_mundo_sem_china.png
Binary file modified figures/pt/mortes_na_EUA.png
Binary file modified figures/pt/mortes_na_alemanha.png
Binary file modified figures/pt/mortes_na_brasil.png
Binary file modified figures/pt/mortes_na_canada.png
Binary file modified figures/pt/mortes_na_coreia.png
Binary file modified figures/pt/mortes_na_espanha.png
Binary file modified figures/pt/mortes_na_franca.png
Binary file modified figures/pt/mortes_na_iran.png
Binary file modified figures/pt/mortes_na_italia.png
Binary file modified figures/pt/prim_casos_conf_brasil.png
46 changes: 23 additions & 23 deletions get_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 30,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -35,7 +35,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 31,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -80,7 +80,6 @@
" <th>1/26/20</th>\n",
" <th>1/27/20</th>\n",
" <th>...</th>\n",
" <th>3/11/20</th>\n",
" <th>3/12/20</th>\n",
" <th>3/13/20</th>\n",
" <th>3/14/20</th>\n",
Expand All @@ -90,6 +89,7 @@
" <th>3/18/20</th>\n",
" <th>3/19/20</th>\n",
" <th>3/20/20</th>\n",
" <th>3/21/20</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
Expand All @@ -106,7 +106,6 @@
" <td>8</td>\n",
" <td>8</td>\n",
" <td>...</td>\n",
" <td>59</td>\n",
" <td>70</td>\n",
" <td>75</td>\n",
" <td>82</td>\n",
Expand All @@ -116,6 +115,7 @@
" <td>212</td>\n",
" <td>272</td>\n",
" <td>322</td>\n",
" <td>411</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
Expand All @@ -131,7 +131,6 @@
" <td>4</td>\n",
" <td>...</td>\n",
" <td>639</td>\n",
" <td>639</td>\n",
" <td>701</td>\n",
" <td>773</td>\n",
" <td>839</td>\n",
Expand All @@ -140,6 +139,7 @@
" <td>889</td>\n",
" <td>924</td>\n",
" <td>963</td>\n",
" <td>1007</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
Expand All @@ -155,7 +155,6 @@
" <td>5</td>\n",
" <td>...</td>\n",
" <td>178</td>\n",
" <td>178</td>\n",
" <td>200</td>\n",
" <td>212</td>\n",
" <td>226</td>\n",
Expand All @@ -164,6 +163,7 @@
" <td>313</td>\n",
" <td>345</td>\n",
" <td>385</td>\n",
" <td>432</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
Expand Down Expand Up @@ -203,7 +203,6 @@
" <td>4</td>\n",
" <td>...</td>\n",
" <td>149</td>\n",
" <td>149</td>\n",
" <td>197</td>\n",
" <td>238</td>\n",
" <td>428</td>\n",
Expand All @@ -212,10 +211,11 @@
" <td>790</td>\n",
" <td>900</td>\n",
" <td>1030</td>\n",
" <td>1183</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>5 rows × 63 columns</p>\n",
"<p>5 rows × 64 columns</p>\n",
"</div>"
],
"text/plain": [
Expand All @@ -226,24 +226,24 @@
"3 NaN Nepal 28.1667 84.2500 0 0 0 \n",
"4 NaN Malaysia 2.5000 112.5000 0 0 0 \n",
"\n",
" 1/25/20 1/26/20 1/27/20 ... 3/11/20 3/12/20 3/13/20 3/14/20 \\\n",
"0 7 8 8 ... 59 70 75 82 \n",
"1 2 4 4 ... 639 639 701 773 \n",
"2 3 4 5 ... 178 178 200 212 \n",
" 1/25/20 1/26/20 1/27/20 ... 3/12/20 3/13/20 3/14/20 3/15/20 \\\n",
"0 7 8 8 ... 70 75 82 114 \n",
"1 2 4 4 ... 639 701 773 839 \n",
"2 3 4 5 ... 178 200 212 226 \n",
"3 1 1 1 ... 1 1 1 1 \n",
"4 3 4 4 ... 149 149 197 238 \n",
"4 3 4 4 ... 149 197 238 428 \n",
"\n",
" 3/15/20 3/16/20 3/17/20 3/18/20 3/19/20 3/20/20 \n",
"0 114 147 177 212 272 322 \n",
"1 839 825 878 889 924 963 \n",
"2 226 243 266 313 345 385 \n",
" 3/16/20 3/17/20 3/18/20 3/19/20 3/20/20 3/21/20 \n",
"0 147 177 212 272 322 411 \n",
"1 825 878 889 924 963 1007 \n",
"2 243 266 313 345 385 432 \n",
"3 1 1 1 1 1 1 \n",
"4 428 566 673 790 900 1030 \n",
"4 566 673 790 900 1030 1183 \n",
"\n",
"[5 rows x 63 columns]"
"[5 rows x 64 columns]"
]
},
"execution_count": 27,
"execution_count": 31,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -279,7 +279,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 32,
"metadata": {
"scrolled": false
},
Expand Down Expand Up @@ -391,7 +391,7 @@
"4 0 0 "
]
},
"execution_count": 28,
"execution_count": 32,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -420,7 +420,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 33,
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 92eca03

Please sign in to comment.