From d0bbc457a8b73b48d61e114fce9617d54eb5d35d Mon Sep 17 00:00:00 2001 From: zurmad Date: Tue, 7 Apr 2020 23:54:39 -0500 Subject: [PATCH] #56 #52 Semi-Automatic El Salvador --- utils/scripts/el_salvador_data.py | 2 +- utils/scripts/el_salvador_temporal/2020-04-06.csv | 12 ++++++------ utils/scripts/el_salvador_temporal/2020-04-07.csv | 6 ++++++ 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 utils/scripts/el_salvador_temporal/2020-04-07.csv diff --git a/utils/scripts/el_salvador_data.py b/utils/scripts/el_salvador_data.py index 03f2eaa3b..0f4ed700c 100644 --- a/utils/scripts/el_salvador_data.py +++ b/utils/scripts/el_salvador_data.py @@ -78,4 +78,4 @@ CHANGE REPOSITORY FAILS WARNING: TO_CSV TEMPORAL """ - dataset.to_csv("utils/scripts/el_salvador_temporal/{}.csv".format(date.today()), sep=',') \ No newline at end of file + dataset.to_csv("utils/scripts/el_salvador_temporal/{}.csv".format(date.today()), sep=',', index=False) \ No newline at end of file diff --git a/utils/scripts/el_salvador_temporal/2020-04-06.csv b/utils/scripts/el_salvador_temporal/2020-04-06.csv index 0dd5a994e..90ac1782a 100644 --- a/utils/scripts/el_salvador_temporal/2020-04-06.csv +++ b/utils/scripts/el_salvador_temporal/2020-04-06.csv @@ -1,6 +1,6 @@ -,DEPARTAMENTO,MUNICIPIO,CANTIDAD DE CASOS,ISO 3166-2 Code,Date -0,SANTA ANA,SANTA ANA,2,SV-SA,2020-04-06 -1,USULUTÁN,USULUTÁN,1,SV-US,2020-04-06 -2,,SANTA ELENA,1,SV-US,2020-04-06 -3,MORAZÁN,SAN FRANCISCO GOTERA,1,SV-MO,2020-04-06 -4,LA LIBERTAD,COLÓN,1,SV-LI,2020-04-06 +DEPARTAMENTO,MUNICIPIO,CANTIDAD DE CASOS,ISO 3166-2 Code,Date +SANTA ANA,SANTA ANA,2,SV-SA,2020-04-06 +USULUTÁN,USULUTÁN,1,SV-US,2020-04-06 +USULUTÁN,SANTA ELENA,1,SV-US,2020-04-06 +MORAZÁN,SAN FRANCISCO GOTERA,1,SV-MO,2020-04-06 +LA LIBERTAD,COLÓN,1,SV-LI,2020-04-06 \ No newline at end of file diff --git a/utils/scripts/el_salvador_temporal/2020-04-07.csv b/utils/scripts/el_salvador_temporal/2020-04-07.csv new file mode 100644 index 000000000..8bbceac00 --- /dev/null +++ b/utils/scripts/el_salvador_temporal/2020-04-07.csv @@ -0,0 +1,6 @@ +DEPARTAMENTO,MUNICIPIO,CANTIDAD DE CASOS,ISO 3166-2 Code,Date +SANTA ANA,SANTA ANA,2,SV-SA,2020-04-07 +USULUTÁN,USULUTÁN,1,SV-US,2020-04-07 +USULUTÁN,SANTA ELENA,1,SV-US,2020-04-07 +MORAZÁN,SAN FRANCISCO GOTERA,1,SV-MO,2020-04-07 +LA LIBERTAD,COLÓN,1,SV-LI,2020-04-07 \ No newline at end of file