diff --git a/america/mexico/fiscal.source-spec.yaml b/america/mexico/fiscal.source-spec.yaml index 6101eb1..2bb7368 100644 --- a/america/mexico/fiscal.source-spec.yaml +++ b/america/mexico/fiscal.source-spec.yaml @@ -1,4 +1,4 @@ -title: "Presupuesto México 2008-2018" +title: "Presupuesto México 2008-2020" dataset-name: presupuesto_mexico resource-name: presupuesto_mexico private: False @@ -26,8 +26,12 @@ sources: url: http://www.transparenciapresupuestaria.gob.mx/work/models/PTP/DatosAbiertos/BD_Cuenta_Publica/CSV/cuenta_publica_2016_gf_ecd_epe.csv - encoding: windows-1252 url: http://www.transparenciapresupuestaria.gob.mx/work/models/PTP/DatosAbiertos/BD_Cuenta_Publica/CSV/cuenta_publica_2017_gf_ecd_epe.csv + - encoding: windows-1252 + url: http://www.transparenciapresupuestaria.gob.mx/work/models/PTP/DatosAbiertos/BD_Cuenta_Publica/CSV/cuenta_publica_2018_gf_ecd_epe.csv + - encoding: windows-1252 + url: http://www.transparenciapresupuestaria.gob.mx/work/models/PTP/DatosAbiertos/BD_Cuenta_Publica/CSV/cuenta_publica_2019_gf_ecd_epe.csv - encoding: windows-1252 - url: http://www.transparenciapresupuestaria.gob.mx/work/models/PTP/DatosAbiertos/Bases_de_datos_presupuesto/CSV/pef_ac01_avance_2018.csv + url: http://www.transparenciapresupuestaria.gob.mx/work/models/PTP/DatosAbiertos/Bases_de_datos_presupuesto/CSV/pef_ac01_avance_1t_2020.csv fields: # Fiscal year diff --git a/america/mexico/objeto-del-gasto.py b/america/mexico/objeto-del-gasto.py index c05b062..d95e406 100644 --- a/america/mexico/objeto-del-gasto.py +++ b/america/mexico/objeto-del-gasto.py @@ -45,7 +45,7 @@ def process_row(row): year = int(row['CICLO']) # Skip the LAST year of the dataset (currently 2016) it has split columns already - if year >= 2018: + if year >= 2019: return row objeto = row['ID_CONCEPTO']