Which departments spend the most?
Rank departments by actual expenditure in 2024-25. Learn to group account entries by demand and convert lakh to crore.
India Public Finance
Budget figures sit across thousands of PDF pages. We turn those pages into structured tables, retain the source references, and check the accounting relationships. Researchers can then compare spending and explain what the budget means.
Research preview. Amounts are shown in ₹ crore at current prices. Karnataka covers 2018-19 to 2026-27; the state comparison also includes Tamil Nadu.
Use the companion repository's prepared table to reproduce an analysis, inspect its assumptions, and adapt the code to your question.
Rank departments by actual expenditure in 2024-25. Learn to group account entries by demand and convert lakh to crore.
Compare budget estimates, revised estimates and actual expenditure over time. The example combines Medical and Public Health with Family Welfare.
Classify expenditure by account code and calculate its share of total spending. Read the salary-code exclusions before extending the definition.
Compare demand totals across years and examine changes in rank. Separate financial years from document years to avoid repeated amounts.
The explorer displays three financial columns: actual expenditure from two years earlier, the previous year's revised estimate, and the current budget estimate. The data package retains account codes and source page references so researchers can examine the figures in context.
See how structured budget data supported a comparison of drug procurement in Karnataka and Tamil Nadu.
PDFs can show a budget figure, but a comparison needs a consistent set of records. Without structured data, this exercise would not have been feasible at this level of detail: researchers would have had to locate, transcribe and reconcile individual entries across years and two different account structures. The Lab made those entries searchable, sortable and reusable, with source references for checking them.
Spending as Planned: Efficiency of Drug Procurement in Tamil Nadu, by Pavithra Manivannan, Aakriti Narang and Susan Thomas, uses the Lab to compare drug spending with budget plans in Karnataka and Tamil Nadu.
The study asks how closely drug expenditure follows its budget. Its basket includes medicines, medical supplies and equipment within health and family welfare budgets.
For a similar exercise here, write down which items belong in your basket before adding amounts. A label such as “Drugs and Chemicals” is a starting point, not a complete classification. The same label under Police serves a different purpose from one under Medical and Public Health.
Search one state at a time, check the major head attached to each result, and inspect the expandable account table for context. Keep a list of the selected codes, names and reasons for including them. Match spending purposes across states rather than assuming their detailed codes are interchangeable.
The comparison covers FY 2018–19 to 2024–25. Actuals arrive with a two-year publication lag.
Select the required fiscal years and download BE, RE and Actuals. Each row must compare the same fiscal year. Keep unavailable figures blank, retain genuine zeros, and use one currency unit. This Lab converts both states to crore. To form a basket, add mutually exclusive detail lines; adding a parent total to its children counts expenditure twice.
For each state and year, calculate:
Zero means spending matched the plan. A positive number means spending exceeded BE; a negative number means it fell short. If BE is zero, the percentage is undefined. Average the annual gaps to describe their direction; calculate their standard deviation to describe how much they vary.
The authors repeat the analysis without 2020–21, and compare Actuals with RE.
These checks answer different questions: does an exceptional year drive the overall result, and does updating the estimate bring the plan closer to expenditure? In your own analysis, keep the year selection and formula explicit so another researcher can reproduce each version.
The article reports a smaller, less variable BE spending gap in Tamil Nadu. The table below reproduces its reported summary, rather than recalculating the study from the heads currently selected above.
| State | Mean Gap v. BE | SD of Gap v. BE | Mean Gap v. RE | SD of Gap v. RE |
|---|---|---|---|---|
| Karnataka | 56.1% | 184.7% | −18% | 24.4% |
| Tamil Nadu | 17.3% | 21.2% | 0.38% | 15.9% |
The difference remains after excluding the COVID year. The authors discuss budgeting, demand forecasting and procurement systems as possible explanations; the comparison does not establish causation.
The result is a traceable comparison: a defined spending basket, aligned fiscal years, a documented calculation and checks of the conclusion. Structured data was the essential bridge between scattered budget pages and that analysis. For a reproduction, use the article’s complete classification and source checks; selecting a single head here is not a reproduction of the study.
Each check compares an extracted total with the sum of its detail rows. A pass means that the difference falls within the specified tolerance. Errors can still remain in figures that add up correctly. A source-page comparison is needed to establish whether the extraction is accurate.
This query adds object-head entries by demand from a Karnataka package CSV. It excludes summary rows to avoid counting the same expenditure twice. Results are in lakh. Divide by 100 to convert them to crore.
Identify the source's account levels, financial columns, units and links between detail tables and summaries.
Specify the account path, amount, year, unit and source. Keep detail rows, totals, blanks and zeros distinct.
Extract source-linked records and reconcile the totals. Trace each failed check back through the processing steps.
Provide reusable tables, worked examples and source references. Report the checked scope and the errors that remain.
Related paper: Information Extraction From Fiscal Documents Using LLMs.
xKDR. India Public Finance Lab. Karnataka state budget data, 2018-19 to 2026-27. https://github.com/xKDR/india-public-finance-portal
Help extend the archive or improve an existing record. Start with the source document and describe the change so another researcher can check it.
For a data correction, include the state, account code, financial year, measure, unit and source page. Show the recorded value and the proposed correction.
Open a contribution issueThe repository is public. Reports open a tracked issue that maintainers can check against the source PDF.
Proposed corrections need source evidence and review before they enter a new data release. Report unresolved differences rather than changing an amount to make a check pass.
India Public Finance Lab is a project of xKDR. Data, code and this site are public on GitHub.