Skip to the content.

Pakistan Budgets

The follow years are available:

Background

This repository scrapes data from federal budgets that are released as PDFs by the Ministry of Finance, Government of Pakistan

Individual budget files are in their respective folders.

Disclaimer: The files are generated using pattern recognition scripts which had to be fine tuned over several iterations. The files might contain errors. If you come across data issues, then please report them as soon as possible. This is a hobby project to improve my data scraping skills. If you intend to use this data for research and policy work, then please double check the raw numbers with the original source files. Also note that budget files are intermittently updated and the data reflects the version used at the time of scraping the data. If you would like me to update the files to newer versions, then feel free to open an Issue.

Description of the variables

Variable Type Description
year num Year of the budget. E.g. 2021 represents the 2021-2022 budget.
category num Current or Development budget.
ministry str Ministry serial number (Greek numbers).
ministry_name str Ministry name.
fund num Fund category.
dfg num Demand for Grants: internal serial number.
dfg_id str Demand for Grants: official serial number.
dfg_name str Demand for Grants: official name.
ID1 num The 1st level budget category. Contains ten values.
ID1_name str The names of ID1.
ID2 num The 2nd level budget category.
ID2_name str The names of ID2.
ID3 num The 3rd level budget category.
ID3_name str The names of ID3.
ID4 num The 4th level budget category.
ID4_name str The names of ID4.
ID5 num The 5th level budget category.
ID5_name str The names of ID5.
ID6 num The 6th level budget category.
ID6_name str The names of ID6. This is the highest disaggregated level.
level num The level of the data disaggregation for ID6. Level 1 is the total for the ID6 category. Level 2 adds up to level 1. Level 3 adds up to level 2.
posts_<N> num The number of posts (jobs) in year N.
posts_<N>_revised num The number of posts (jobs) revised in fiscal year N.
budget_<N> num The value in PKR of item ID6 level in fiscal year N.
budget_<N>_revised num The value in PKR of item ID6 level revised in fiscal year N.

Note: When comparing the values across the years remember to deflate them using some inflation index.

Interactive visualizations:

The visualizations use ID6 level 1 data.

The interactive visualizations are made in Flourish, an online dataviz platform. Since this is all open-source, the visualizations can be viewed and duplicated here:

2022-23

2021-22

2020-21

Change log