import des données

parent f3f83bb5
......@@ -7,6 +7,46 @@
"# Sujet 7 : Autour du SARS-CoV-2 (Covid-19)"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import matplotlib.pyplot as plt\n",
"import pandas as pd\n",
"import isoweek"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Nous téléchargeons les données brutes compilées par le Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE)."
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"data_url = \"https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv\""
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"import urllib\n",
"csv_file = \"incidence_covid_par_pays.csv\"\n",
"if not os.path.exists(csv_file):\n",
" urllib.request.urlretrieve(data_url, csv_file)"
]
},
{
"cell_type": "code",
"execution_count": null,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment