Skip to content

Commit

Permalink
update 23-mar
Browse files Browse the repository at this point in the history
  • Loading branch information
paaatcha committed Mar 23, 2020
1 parent 92eca03 commit 14acdbc
Show file tree
Hide file tree
Showing 58 changed files with 30,914 additions and 30,119 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 22, 2020)
## Some plots and tables got during the analysis (updated on March 23, 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 | 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 |
| China | 81397 | 3265 | 72362 | 4.0112 | 0.00584442 |
| Italy | 59138 | 5476 | 7024 | 9.2597 | 0.0978599 |
| US | 33272 | 417 | 0 | 1.25331 | 0.0101697 |
| Spain | 28768 | 1772 | 2575 | 6.15962 | 0.0615704 |
| Germany | 24873 | 94 | 266 | 0.37792 | 0.0299935 |
| Iran | 21638 | 1685 | 7931 | 7.78723 | 0.0264522 |
| France | 16176 | 674 | 2206 | 4.16667 | 0.0241479 |
| Korea, South | 8897 | 104 | 2909 | 1.16893 | 0.0172305 |
| Switzerland | 7245 | 98 | 131 | 1.35266 | 0.0850697 |
| United Kingdom | 5741 | 282 | 67 | 4.91204 | 0.00863451 |

### Comparing confirmed cases around the world

Expand Down
385 changes: 189 additions & 196 deletions analysis.ipynb

Large diffs are not rendered by default.

57,663 changes: 29,225 additions & 28,438 deletions data/clean_data.csv

Large diffs are not rendered by default.

971 changes: 488 additions & 483 deletions data/raw/Confirmed_cases.csv

Large diffs are not rendered by default.

971 changes: 488 additions & 483 deletions data/raw/Deaths_cases.csv

Large diffs are not rendered by default.

971 changes: 488 additions & 483 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/conf_early_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/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/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/primeiros_casos_paises.png
50 changes: 25 additions & 25 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": 30,
"execution_count": 34,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -35,7 +35,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 35,
"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/12/20</th>\n",
" <th>3/13/20</th>\n",
" <th>3/14/20</th>\n",
" <th>3/15/20</th>\n",
Expand All @@ -90,6 +89,7 @@
" <th>3/19/20</th>\n",
" <th>3/20/20</th>\n",
" <th>3/21/20</th>\n",
" <th>3/22/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>70</td>\n",
" <td>75</td>\n",
" <td>82</td>\n",
" <td>114</td>\n",
Expand All @@ -116,6 +115,7 @@
" <td>272</td>\n",
" <td>322</td>\n",
" <td>411</td>\n",
" <td>599</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
Expand All @@ -130,7 +130,6 @@
" <td>4</td>\n",
" <td>4</td>\n",
" <td>...</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>924</td>\n",
" <td>963</td>\n",
" <td>1007</td>\n",
" <td>1086</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
Expand All @@ -154,7 +154,6 @@
" <td>4</td>\n",
" <td>5</td>\n",
" <td>...</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>345</td>\n",
" <td>385</td>\n",
" <td>432</td>\n",
" <td>455</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
Expand All @@ -187,7 +187,7 @@
" <td>1</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
Expand All @@ -202,7 +202,6 @@
" <td>4</td>\n",
" <td>4</td>\n",
" <td>...</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>900</td>\n",
" <td>1030</td>\n",
" <td>1183</td>\n",
" <td>1306</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>5 rows × 64 columns</p>\n",
"<p>5 rows × 65 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/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",
" 1/25/20 1/26/20 1/27/20 ... 3/13/20 3/14/20 3/15/20 3/16/20 \\\n",
"0 7 8 8 ... 75 82 114 147 \n",
"1 2 4 4 ... 701 773 839 825 \n",
"2 3 4 5 ... 200 212 226 243 \n",
"3 1 1 1 ... 1 1 1 1 \n",
"4 3 4 4 ... 149 197 238 428 \n",
"4 3 4 4 ... 197 238 428 566 \n",
"\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 566 673 790 900 1030 1183 \n",
" 3/17/20 3/18/20 3/19/20 3/20/20 3/21/20 3/22/20 \n",
"0 177 212 272 322 411 599 \n",
"1 878 889 924 963 1007 1086 \n",
"2 266 313 345 385 432 455 \n",
"3 1 1 1 1 1 2 \n",
"4 673 790 900 1030 1183 1306 \n",
"\n",
"[5 rows x 64 columns]"
"[5 rows x 65 columns]"
]
},
"execution_count": 31,
"execution_count": 35,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -279,7 +279,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 36,
"metadata": {
"scrolled": false
},
Expand Down Expand Up @@ -391,7 +391,7 @@
"4 0 0 "
]
},
"execution_count": 32,
"execution_count": 36,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -420,7 +420,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 37,
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 14acdbc

Please sign in to comment.