India Public Finance·Lab

India Public Finance

Public budgets.
Usable data.

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.

Budget pages become structured data Printed tables connect to an account hierarchy and a reusable grid of records. This is a symbolic illustration. SOURCE PAGESACCOUNT STRUCTUREREUSABLE DATA
Keep the account, the amount, and the source together.
Python, R and DuckDB SQL

Start with a research question

Use the companion repository's prepared table to reproduce an analysis, inspect its assumptions, and adapt the code to your question.

01

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.

02

How much of the health budget is spent?

Compare budget estimates, revised estimates and actual expenditure over time. The example combines Medical and Public Health with Family Welfare.

03

What share goes to salaries, pensions and interest?

Classify expenditure by account code and calculate its share of total spending. Read the salary-code exclusions before extending the definition.

04

How have departmental allocations changed?

Compare demand totals across years and examine changes in rank. Separate financial years from document years to avoid repeated amounts.

Data accounts as printed

What the explorer contains

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.

Data in practice

Spending as planned

See how structured budget data supported a comparison of drug procurement in Karnataka and Tamil Nadu.

Coverage and validation Karnataka, 2018-19 to 2026-27

What a pass means

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.

SQL reproduce a demand total

Calculate a total from the package

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.

Method from source document to account table

1. Read and map

Identify the source's account levels, financial columns, units and links between detail tables and summaries.

2. Define the record

Specify the account path, amount, year, unit and source. Keep detail rows, totals, blanks and zeros distinct.

3. Extract and check

Extract source-linked records and reconcile the totals. Trace each failed check back through the processing steps.

4. Support research

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.

Citation

xKDR. India Public Finance Lab. Karnataka state budget data, 2018-19 to 2026-27. https://github.com/xKDR/india-public-finance-portal

ContributeSources, corrections and research

Contribute to the database

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 issue

The repository is public. Reports open a tracked issue that maintainers can check against the source PDF.

Add a budget source
Identify the state, year and expenditure volume. Include the official URL or PDF, its units and any missing pages. New layouts need their own field mapping.
Correct a record
Cite the source page and explain the discrepancy. Keep the original value and the proposed change visible. A total that adds up is not sufficient evidence for a correction.
Improve extraction or validation
Provide the page, expected records and a reproducible failure. Test the rule with a correct sample and deliberate errors, such as a changed digit, a dropped row or a swapped year.
Add a worked analysis
State the question, input version, row selection and units. Include code and expected results. Follow the example specification so others can reproduce the calculation.

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.