An end-to-end analytics pipeline that collects, validates and explains the monthly performance reports of India’s indirect-tax administration: from automated data collection to dashboards that tell the story.
Data acquisition & automationData engineeringData qualityKPI designVisualisation & storytellingPublic-sector analytics
Built during: my last government role, as Data Analytics Officer (see experience) · My role: creator and sole project lead, working under the guidance of senior authorities · Built for: officers and managers who prepare and run monthly performance reviews · The name:Drishti means “vision” or “sight” in Hindi.
17,626report files collected and organised automatically
190report types, each with its own table layout
3tax streams: GST, Central Excise and Service Tax
14 + 1commissionerates and the zone, benchmarked against All India
11interactive dashboards: one per function plus a zonal summary
India’s indirect-tax administration tracks the performance of its field offices through Monthly Performance Reports (MPRs): hundreds of separate reports, published one page at a time on a login-protected internal portal. I built an end-to-end analytics solution around them. An automation tool collects every report a zone needs, and an offline dashboard turns more than 17,000 of them into validated, comparable measures. It shows how each commissionerate is doing, how the zone compares with All India, and where action is needed.
1 · MPR Downloader
Data collection. A single double-click file with nothing to install. The user logs in; the tool then works through the report pages the way a person would, for every unit and month chosen. It files each report into one consistent folder structure, is safe to stop and resume, and finishes with a completeness check.
2 · MPR Drishti
Analysis and storytelling. A single offline web page: drop the folder on it and every dashboard fills itself. It parses, validates and connects the reports into measures for each unit, the zone and All India, then presents them as slide-style dashboards with headlines written from the data, plus Excel and PDF exports.
I ran MPR Drishti as a project from start to finish: I proposed it, got it approved, learned from the officers who compile the reports and the managers who review them what they needed, built it in stages, piloted a first version and improved it, rolled it out as an install-free tool, used it for the monthly reviews, and handed it over when I left.
Initiate2024 · proposal and approval
→
Plan2024 · user needs, 190 report types
→
Build and test2024 · pipeline in stages
→
Pilot2024 · first version, rebuilt
→
Roll out and train2024 · install-free tool
→
Monitor2024 · completeness, reviews
→
Close2024 · handover to my successor
The full life cycle, owned end to end, under the guidance of senior authorities.
Owner
Creator and sole project lead: the idea, the design, the build, the rollout and the results.
Sponsor and approval
Senior authorities approved the project and used its dashboards in performance reviews; I worked under their guidance throughout.
Users and stakeholders
The officers who compile the monthly figures, and the managers who prepare and run the monthly performance reviews.
Decisions I owned
What to collect and how to store and validate it, which measures each function needed, how the dashboards tell the story, and how the tool reached its users.
Phase
What I did
Output
Initiate
Saw how much time went into downloading, filing and checking monthly reports by hand; proposed automating the collection, validation and dashboards; obtained approval
Approved proposal
Plan
Learned from the officers who compile the reports and the managers who review them what they needed; mapped the 190 report types and designed one storage schema
Scope and design
Build and test
Built the downloader, the validation checks, the shared analysis engine and the dashboards in stages, testing each against real reports
A working pipeline
Pilot
Ran a first version in Python, then rebuilt it as a single double-click file with a guided form so that it would run on any office computer without installing anything
An install-free tool
Roll out and train
Put the tool and the dashboards in the hands of the officers and managers, with live progress and a completeness report, and showed them how to use them
Used in the monthly reviews
Monitor and control
Used the completeness checks to catch missing or provisional reports, and reported the findings to senior authorities
Trustworthy monthly figures
Close and hand over
Handed the tool, the dashboards and the routine over to the next officer
Data locked in one-at-a-time web pages. Each report is a separate page. Reaching one means choosing year, month, tax stream, zone and commissionerate from five dropdowns, then clicking a button.
Volume and variety. One zone’s picture needs thousands of reports across 190 report types, 3 tax streams and 15 reporting units, and each type has its own table layout with merged headers.
Formats that change over time. Several report families were redesigned around 2023-24, so years cannot simply be lined up side by side.
No built-in checks or comparisons. Reports can be provisional, duplicated, misfiled or internally inconsistent. Comparing units, or the zone with the national picture, meant copying figures into spreadsheets by hand.
Every stage of the analytics lifecycle is covered, built from scratch: acquire, organise, validate, integrate, analyse and communicate.
1 · Acquirebrowser automation
→
2 · Organisefolder schema, logs
Downloader then Drishti
3 · Validatefile and arithmetic checks
→
4 · Integrateparse, map, harmonise
→
5 · AnalyseKPIs, trends, benchmarks
→
6 · Communicatedashboards, Excel, PDF
Stages 1 and 2 are the MPR Downloader; stages 3 to 6 are the MPR Drishti dashboard.
Acquire - automated collection. The tool opens its own Edge browser window and waits while the user logs in, so it never sees or stores a password. Inside that logged-in session it chooses year, month, stream, zone and commissionerate for every report, at a steady pace. It waits for each page to settle, retries failures, pauses when the portal is slow and asks for a fresh login if the session expires.
Browser automationPowerShellResilient scraping
Organise - one storage schema. Every report lands in stream / zone / financial year / commissionerate / report. Downloads are incremental: files already present are skipped, and copies saved before the units’ monthly filing deadline are refreshed automatically on a later run. Every attempt is logged (JSON Lines and CSV), and each run ends with a completeness check against what the portal listed.
Data engineeringIncremental loadsAudit trail
Validate - check before use. Each file is checked for the wrong month or unit, duplicates, files resaved in Excel, missing tables and incomplete sets. Internal arithmetic is checked too: opening + received − disposed must equal closing, totals must equal the sum of their parts, and amounts must be in the right unit. Each issue says what was done and what to do.
Data qualityReconciliationAnomaly detection
Integrate - from tables to one model. HTML report tables with merged header cells are parsed into a grid, and every figure gets a stable key (table · row path · column path). Commissionerate names are matched despite spelling variants. Old and new report formats are harmonised so years can be compared, units add up to zone totals, and All India serves as the benchmark.
ParsingEntity matchingData modelling
Analyse - measures that matter to managers. I designed function-specific KPIs: disposal and recovery rates, growth on last year, achievement against moving targets, age profiles of pending cases, and shares and concentration (for example, the top 25 taxpayers’ share). Each commissionerate is ranked against the zone, and the zone against All India.
KPI designBenchmarkingDomain analysis
Communicate - conclusions, not just charts. Eleven slide-style dashboards with hand-built charts: bars, stacked bars, lines, bullet charts, heatmap scorecards and Sankey flows. Headlines and up to six points for attention are written from the figures themselves. One click exports a consolidated Excel workbook or PDF slides.
Data visualisationData storytellingUX
The MPR Downloader: a six-step form and a live progress screen. Mock-up with invented figures.
Each report on its own answers a narrow question. The value came from linking them: across units, across time, across reports, across functions and against a national benchmark.
One folder17,626 report files · 190 types · 15 units + All India
Zonal Summaryheadlines, measures, money flows, points for attention
One folder of raw reports is routed into ten function dashboards. The eight GST dashboards each publish their headline figures, and the Zonal Summary combines them without reading a single file itself.
1 · Across units
The 14 commissionerates are added up to the zone total and cross-checked against the zone’s own report. Executive, appeals and audit units are treated differently: appeals units re-report the cases of the units they serve, so they are set aside to avoid double counting. Scorecard heatmaps rank each unit against the zone.
2 · Across time
Financial years since GST began in 2017 are lined up, using March as each year’s full-year figure. Old and redesigned report formats are harmonised, and a “years” view compares only the measures both formats share. Provisional months are refreshed after the filing deadline.
3 · Across reports
Related reports are reconciled with each other: the arrears summary against the stage-wise reports, case outcomes against disposals, audit counts across three audit reports. A gap between a total and its parts is shown as “not accounted for” rather than hidden.
4 · Across functions
The tax-dispute process is linked end to end, from notice to adjudication order to arrears to recovery, and drawn as Sankey flows. Orders that dropped a demand are shown beside the department’s appeals, and one summary combines all GST functions.
5 · Against a national benchmark
Every key rate is compared between the zone and All India, but only for months where the All India set is complete and no file was rejected. An outlier guard drops a month if the zone’s share of All India is more than ten times away from its usual (median) share, which catches mis-keyed national figures before they distort a comparison.
Show-cause noticedemand raised
→
Adjudication orderconfirmed or dropped
→
Arrearsconfirmed, not yet paid
→
Recoverymoney actually realised
The dispute chain the dashboards follow end to end. Linking four separate report families is what turns case counts into a story about money.
Eleven dashboards, one for each question a manager asks. Each is a deck of slides that follows the same story track: an overview, the function’s own topics, a comparison of units, the All India benchmark and finally the actions. Every headline is a conclusion worked out from the figures, such as “Only N% realised” or “Units A and B delivered N% of the growth”, rather than fixed text. The Adjudication deck, for example, runs:
Real administrative data is messy. A large part of the work went into catching problems automatically, and into explaining every decision so that users can trust the result. Every dashboard opens with a Validation slide: a coverage grid shows each commissionerate and month as complete, partial, problem or missing, and an issue list sorts everything into errors, warnings and notes.
The Validation slide: coverage at a glance, and every issue with what the dashboard did about it. Mock-up with invented data.
Problem in the data
How it is caught
What happens
Wrong file in the wrong place
The month, unit and report code in the report header are compared with the file name and folder
The header wins; mismatches are flagged or the file is rejected
Duplicates and old copies
The same report, unit and month seen twice; identical figures under two units
The latest copy is kept; the rest are labelled
Provisional data
A report saved before the units’ monthly filing deadline
Downloaded again automatically on the next run after that date
Totals that don’t add up
Opening + received − disposed = closing; total = sum of parts; age buckets = pending; “for the month” ≤ “up to the month”
Flagged with the exact figures; gaps shown as “not accounted for”
Wrong unit of measure
Amounts implausibly large against the unit’s whole revenue or caseload (entered in rupees, not lakh)
Left out of the totals, with a note saying why
Number formatting quirks
Odd separators, blanks, dashes and percentage columns
Numbers cleaned; percentages recalculated rather than trusted
Names that vary
Commissionerate spellings differ between reports and years
Matched while tolerating small typos, but never confusing North with South, or I with II
Units reporting nothing
A unit’s report is all zeros while every other unit reports figures
Flagged as “nothing reported” and excluded from rates
Distorted or incomplete benchmark
The zone’s share of All India is more than 10 times away from its median, or the All India set is incomplete
A rough estimate for data collection alone: at an assumed 30 seconds per report by hand (five dropdowns, a click, then saving and filing the file), 17,626 reports come to about 147 hours, close to four 40-hour working weeks. The downloader collects the same set unattended in roughly 10 hours of machine time, and nobody has to sit and click. Later runs fetch only what is new or provisional, so keeping the set up to date takes minutes rather than days. Beyond collection, the bigger saving is the comparison work: figures that used to be copied into spreadsheets report by report now line up automatically across units, years and All India.
No more five dropdowns and a click per report, no renaming and filing by hand, and no copying figures into spreadsheets. Errors are caught before anyone builds on them.
Managers in review meetings
Each function arrives as a short deck with a conclusion on every slide and up to six points for attention, ranked by severity, ready to print as PDF slides.
The zone as a whole
Every unit is measured on the same basis, against the zone, last year and All India, with old and new report formats lined up. Weak spots show up while there is still time to act.
The first version of the downloader and its completeness audit were written in Python. To make the tool usable on any office computer without installing anything, I rebuilt it as a single double-click file with a guided form, live progress, automatic checks and a final completeness report. The analysis side grew the same way: a shared engine first (parsing, validation, charts, slides and Excel export), then one module per function, then a summary that combines them all.
Automated a login-protected portal without handling credentials. Browser control through the Chrome DevTools Protocol. Retries, session recovery and resumable runs.
Data engineering
A folder and naming schema for 17,626 files. Incremental, idempotent downloads. JSON Lines and CSV logs as an audit trail.
Data wrangling & parsing
Parsed 190 HTML table layouts with merged headers. Stable keys for every figure. Entity matching for unit names.
Data quality & reconciliation
Balance checks and cross-report reconciliation. Outlier and unit-of-measure detection. An explainable issue log.
Data modelling & integration
A unit → zone → All India hierarchy. Old and new report formats harmonised. Double counting avoided across unit types.
KPI design & analysis
Disposal, recovery, win and coverage rates. Growth, target achievement, ageing and concentration. Benchmarking and ranking.
Visualisation
Hand-built SVG charts: bars, stacked bars, lines, bullet charts, heatmaps and Sankey flows. A consistent colour system with light and dark themes.
Data storytelling
Headlines generated from the figures. Severity-ranked points for attention. Slide decks ready for review meetings.
Product & domain thinking
Zero-install, offline, privacy-first tools built for non-technical users, grounded in deep knowledge of indirect-tax administration KPIs.
Area
Tools and technologies
Data collection
Windows PowerShell 5.1 packed into a single double-click file, .NET WebSockets, the Chrome DevTools Protocol driving Microsoft Edge
Analytics and dashboards
HTML5, CSS and vanilla JavaScript (no framework), DOMParser for table parsing, hand-built SVG charts, one isolated frame per dashboard talking through postMessage
Reporting
ExcelJS for the Excel workbook, a CSS print layout for the PDF slides
Data formats
HTML report tables (.xls), JSON and JSON Lines, CSV, XLSX
Earlier version
Python, for the first download engine and completeness audit
Workflow
Git version control
Data AnalyticsETLWeb AutomationData QualityKPI DashboardsData VisualisationData StorytellingJavaScriptPowerShellExcel AutomationPublic-Sector AnalyticsGST