Skip to content

Commit

Permalink
update 26-mar
Browse files Browse the repository at this point in the history
  • Loading branch information
paaatcha committed Mar 26, 2020
1 parent ecbd375 commit 65b57ad
Show file tree
Hide file tree
Showing 55 changed files with 16,176 additions and 15,659 deletions.
26 changes: 13 additions & 13 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 23, 2020)
## Some plots and tables got during the analysis (updated on March 26, 2020)
### Covid-19 worldwide (without China):
![covid-19-wo-chinha](figures/en/conf_cases_worldwide_no_china.png)

Expand All @@ -14,18 +14,18 @@ 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 | 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 |
| Country/Region | Confirmed | Deaths | % Deaths |% Population|
|:-----------------|------------:|---------:|------------:|-----------:|
| China | 81661 | 3285 | 4.02273 | 0.00586338 |
| Italy | 74386 | 7503 | 10.0866 | 0.123092 |
| US | 65778 | 942 | 1.43209 | 0.0201053 |
| Spain | 49515 | 3647 | 7.36544 | 0.105974 |
| Germany | 37323 | 206 | 0.551938 | 0.0450066 |
| Iran | 27017 | 2077 | 7.68775 | 0.033028 |
| France | 25600 | 1333 | 5.20703 | 0.0382162 |
| Switzerland | 10897 | 153 | 1.40406 | 0.127951 |
| United Kingdom | 9640 | 466 | 4.83402 | 0.0144986 |
| Korea, South | 9137 | 126 | 1.37901 | 0.0176953 |

### Comparing confirmed cases around the world

Expand Down
384 changes: 198 additions & 186 deletions analysis.ipynb

Large diffs are not rendered by default.

30,401 changes: 15,449 additions & 14,952 deletions data/clean_data.csv

Large diffs are not rendered by default.

488 changes: 246 additions & 242 deletions data/raw/new_Confirmed_cases.csv

Large diffs are not rendered by default.

488 changes: 246 additions & 242 deletions data/raw/new_Deaths_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/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
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_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
48 changes: 24 additions & 24 deletions get_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -88,7 +88,6 @@
" <th>1/26/20</th>\n",
" <th>1/27/20</th>\n",
" <th>...</th>\n",
" <th>3/15/20</th>\n",
" <th>3/16/20</th>\n",
" <th>3/17/20</th>\n",
" <th>3/18/20</th>\n",
Expand All @@ -98,6 +97,7 @@
" <th>3/22/20</th>\n",
" <th>3/23/20</th>\n",
" <th>3/24/20</th>\n",
" <th>3/25/20</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
Expand All @@ -114,7 +114,6 @@
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>16</td>\n",
" <td>21</td>\n",
" <td>22</td>\n",
" <td>22</td>\n",
Expand All @@ -124,6 +123,7 @@
" <td>40</td>\n",
" <td>40</td>\n",
" <td>74</td>\n",
" <td>84</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
Expand All @@ -138,7 +138,6 @@
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>42</td>\n",
" <td>51</td>\n",
" <td>55</td>\n",
" <td>59</td>\n",
Expand All @@ -148,6 +147,7 @@
" <td>89</td>\n",
" <td>104</td>\n",
" <td>123</td>\n",
" <td>146</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
Expand All @@ -162,7 +162,6 @@
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>48</td>\n",
" <td>54</td>\n",
" <td>60</td>\n",
" <td>74</td>\n",
Expand All @@ -172,6 +171,7 @@
" <td>201</td>\n",
" <td>230</td>\n",
" <td>264</td>\n",
" <td>302</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
Expand All @@ -186,7 +186,6 @@
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>39</td>\n",
" <td>39</td>\n",
Expand All @@ -196,6 +195,7 @@
" <td>113</td>\n",
" <td>133</td>\n",
" <td>164</td>\n",
" <td>188</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
Expand All @@ -214,16 +214,16 @@
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>5 rows × 67 columns</p>\n",
"<p>5 rows × 68 columns</p>\n",
"</div>"
],
"text/plain": [
Expand All @@ -234,24 +234,24 @@
"3 NaN Andorra 42.5063 1.5218 0 0 0 \n",
"4 NaN Angola -11.2027 17.8739 0 0 0 \n",
"\n",
" 1/25/20 1/26/20 1/27/20 ... 3/15/20 3/16/20 3/17/20 3/18/20 \\\n",
"0 0 0 0 ... 16 21 22 22 \n",
"1 0 0 0 ... 42 51 55 59 \n",
"2 0 0 0 ... 48 54 60 74 \n",
"3 0 0 0 ... 1 2 39 39 \n",
" 1/25/20 1/26/20 1/27/20 ... 3/16/20 3/17/20 3/18/20 3/19/20 \\\n",
"0 0 0 0 ... 21 22 22 22 \n",
"1 0 0 0 ... 51 55 59 64 \n",
"2 0 0 0 ... 54 60 74 87 \n",
"3 0 0 0 ... 2 39 39 53 \n",
"4 0 0 0 ... 0 0 0 0 \n",
"\n",
" 3/19/20 3/20/20 3/21/20 3/22/20 3/23/20 3/24/20 \n",
"0 22 24 24 40 40 74 \n",
"1 64 70 76 89 104 123 \n",
"2 87 90 139 201 230 264 \n",
"3 53 75 88 113 133 164 \n",
"4 0 1 2 2 3 3 \n",
" 3/20/20 3/21/20 3/22/20 3/23/20 3/24/20 3/25/20 \n",
"0 24 24 40 40 74 84 \n",
"1 70 76 89 104 123 146 \n",
"2 90 139 201 230 264 302 \n",
"3 75 88 113 133 164 188 \n",
"4 1 2 2 3 3 3 \n",
"\n",
"[5 rows x 67 columns]"
"[5 rows x 68 columns]"
]
},
"execution_count": 5,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -285,7 +285,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 3,
"metadata": {
"scrolled": false
},
Expand Down Expand Up @@ -384,7 +384,7 @@
"4 NaN Angola -11.2027 17.8739 1/22/20 0 0"
]
},
"execution_count": 6,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -410,7 +410,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 65b57ad

Please sign in to comment.