Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions america/mexico/fiscal.source-spec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion america/mexico/objeto-del-gasto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down