Commit cfeeb50b authored by Martin DAVY's avatar Martin DAVY

correction pour ne pas avoir de colonne NA en plus

parent a3a35681
......@@ -48,7 +48,8 @@ Si le fichier n'est pas présente dans le répertoire alors il est téléchargé
data_nom = "incidence-PAY-3.csv"
# Téléchargement du fichier s'il n'existe pas
if(!file.exists(data_nom)) {
download.file(data_url, data_nom)
# préciser method = "auto" sinon une colonne NA est rajoutée
download.file(data_url, data_nom, method = "auto")
}
# Lecture du fichier
......
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