Commit df0d2d0e authored by numeroteca's avatar numeroteca

update Spain provinces data and charts 2020.05.07

parent cbf53989
This diff is collapsed.
......@@ -111,7 +111,7 @@ data_cases_sp_provinces <- data_cases_sp_provinces %>%
province == "Rioja, La") )
# import Instituto de Salud CIII
ciii_original <- read.delim("https://covid19.isciii.es/resources/serie_historica_acumulados.csv",sep = ",")
ciii_original <- read.delim("https://cnecovid.isciii.es/covid19/resources/agregados.csv",sep = ",")
write.csv(ciii_original, file = "data/original/spain/iscii_data.csv", row.names = FALSE)
ciii <- ciii_original %>% head(nrow(ciii_original) - 8) %>% #TODO: Cambia el número en función de las notas que incluya el csv original
......@@ -366,4 +366,4 @@ write.csv(data_cases_sp_provinces, file = "../escovid19data/data/output/covid19-
saveRDS(data_cases_sp_provinces, file = "../escovid19data/data/output/covid19-provincias-spain_consolidated.rds")
# cleans environment
rm(uniprovinciales, powerbi, catalunya, catalunya_new, cattotal, provincias_poblacion)
rm(uniprovinciales, powerbi, catalunya, catalunya_new, cattotal, provincias_poblacion)
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
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