Skip to content

Santulan - Workload-Based Staffing Analytics

Connecting workload, staffing and sanction data into one model that shows where officers are overloaded and drafts a fair, defensible transfer plan.

Data integration Data modelling KPI design Workforce analytics Constraint-based allocation Dashboard design

Context: a zone of India’s indirect-tax administration (see my experience) · My role: creator and sole project lead, working under the guidance of senior authorities · Built for: the Chief Commissioner, Principal Commissioners and establishment sections · The tool: the Manpower Deployment Analyzer, the name in the screenshots · The name: Santulan means “balance” in Hindi.

Zone View dashboard of the Manpower Deployment Analyzer: headline tiles, a bar chart of workload by Commissionerate, a donut of each Commissionerate's share of the zone, and the heaviest Range offices. Anonymised sample data.
The Zone View dashboard. All screenshots on this page use anonymised sample data: names replaced, figures randomised.
527offices modelled across the zone
108workload parameters in 7 analysis levels
9data inputs connected into one model
4guardrails on every transfer suggestion
1 filefully offline, no server, zero running cost
2 yearsof actual transfer rounds carried out on its analysis

The challenge

Every year, officers in a tax administration zone are re-posted in the Annual General Transfer (AGT). Those decisions were argued from impressions and precedent, because nobody could see workload precisely. Yet measured load per officer can differ several times over between offices doing the same job.

What I built

A single, offline web application that turns raw workload returns, staffing registers and sanction data into one comparable measure: workload per officer against the zonal average. It then drafts a grade-wise transfer plan that respects real-world constraints.

My role

I created the tool and was the sole project lead, working under the guidance of senior authorities. I took it from start to finish: understanding the problem, designing the data model and the scoring method, building the data-collection pipeline, writing the analysis and allocation logic, designing the dashboards, and packaging it all as a tool that non-technical officers can use.

The result

Decision-makers can see how heavily loaded the officers in any of 527 offices are, and why. They get a draft, grade-wise transfer plan with a reason behind every number. Every assumption stays visible and editable, so the discussion moves from opinions to the specific numbers people disagree with. Actual transfers were then carried out on its analysis two years in a row, leading to a better distribution of officers.

Project facts
DomainPublic-sector workforce analytics in India’s indirect-tax administration
UsersChief Commissioner (zone-wide view), Principal Commissioners (within their own Commissionerate) and establishment sections
Scope8 Commissionerates, 66 Divisions and 342 Range offices, plus Audit and Appeals Commissionerates and 15 formations for support-staff analysis: 527 offices in all
DataA 2024 zonal workload study (Range level), a 2024 cadre study of sanctioned against working strength across 28 grades, geography, and policy inputs
DeliverableOne self-contained HTML file (about 1.5 MB) that runs in any browser on a computer or phone, with no installation, internet or server
ToolsJavaScript, HTML/CSS, hand-built SVG charts, SheetJS (Excel in the browser), Google Apps Script, Google Forms and Sheets, Excel, Node.js for calculation smoke tests

I ran Santulan as a project from start to finish: I proposed it, got it approved, gathered requirements from the people who decide postings and the offices that supply the data, built and tested the model, piloted it, rolled out the data templates to the offices, supported real transfer decisions with it, and handed it over to my successor.

Initiate2024 · proposal and approval
→
Plan2024 · requirements, inputs, rules
→
Build and test2024 · model, templates, views
→
Pilot2024 · first offices, fixes
→
Roll out and traintemplates to every office
→
Use and monitortwo annual transfer rounds
→
Closehandover 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 method, the build, the rollout to the offices and the results.

Sponsor and approval

Senior authorities approved the project and used its analysis for the annual transfers; I worked under their guidance throughout.

Users and stakeholders

The Chief Commissioner and Principal Commissioners who decide postings, the establishment sections who prepare them, and the offices that supply the workload data.

Decisions I owned

What to measure and how to weigh it, the data templates and checks, the guardrails on every transfer suggestion, and the rollout to the offices.

PhaseWhat I didOutput
InitiateSaw that transfer decisions were argued from impressions; proposed measuring workload per officer against the zonal average; obtained approvalApproved proposal
PlanTalked to the decision-makers and the establishment sections about what a fair plan needs; defined the nine inputs, the workload parameters and the guardrailsAgreed scope and method
Build and testBuilt the model, the generated Excel templates with a How to fill sheet, the validation and the planning views, and tested them with real returnsA working tool
PilotRan it first with a limited set of offices and data and fixed what confused people before the full rolloutRefined templates and model
Roll out and trainSent the templates to the offices, explained how to fill them, and walked the decision-makers through the planning viewsData from every office, decision-makers on board
Monitor and controlChecked incoming data for errors before loading it, reported to senior authorities, and supported the transfer roundsActual transfers on its analysis, two years in a row
Close and hand overHanded the tool, its templates and its routine over to the next officerA running tool with a new owner

The problem: important decisions, no shared numbers

Section titled “The problem: important decisions, no shared numbers”

A tax zone is a hierarchy, with separate Audit (Circles, Groups) and Appeals formations beside it. Each level does different work, including registrations, return scrutiny, refunds, adjudication, audits and appeals. Each year, officers have to be distributed across all of them.

Zonethe whole picture
→
Commissionerates8 executive units
→
Divisions66 offices
→
Ranges342 field offices
The executive hierarchy. Audit and Appeals Commissionerates sit beside it with their own levels, and every level measures different work.

The questions decision-makers could not answer with data:

Who is overloaded?

Which offices are overloaded, and by how much? Is a Range officer’s load comparable with that of an officer at headquarters?

Who should move?

How many Superintendents and Inspectors should move, and from where to where? Would a move breach sanctioned strength, or overload the office giving officers?

Is it fair?

Is support (ministerial) staff spread fairly across formations? Which Commissionerates have an unusual balance of work across their own levels?

Why it was hard
SilosWorkload returns sat with each office, staffing in registers, sanctioned strength in a separate cadre file, and geography nowhere at all
Different unitsEach level measures different work, so 100 points at a Range office and 100 points at headquarters are not the same thing
Messy staffingMany officers hold additional charge of two or three offices, so headcount alone misstates capacity
Inconsistent keysThe same office was spelled differently in different files (a city’s full name in one, its short form in another), and column order varied from file to file
Low-tech settingOffices work in Excel. There was no server, no budget and no IT project, and the data was sensitive and had to stay on the user’s machine
TrustA black-box score would never be accepted for postings. Every number had to explain itself

The data: connecting nine inputs into one model

Section titled “The data: connecting nine inputs into one model”
Sources nine inputs
Range workload study
HQ and Division staffing
Division and HQ workload
Audit and Appeals workload
Cadre: sanctioned vs working
District geography
Policy: weights and Level Shares
Integrate make it one dataset
Import by column heading, any column order
Hierarchy keys: Commissionerate › Division › Range
Office names matched across files
Additional charge counted as 1/N of an officer
Validation with a plain-language error report
Model make it comparable
Weighted workload score
Weighted officer strength
Load per officer vs zonal average
Level Shares: one common unit
Sanction caps and guardrails
Decide put it to use
Dashboards and drill-down
Zone map
Grade-wise AGT transfer sheet
Support-staff fair share
Live briefing deck, print and PDF
From scattered sources to decisions: integrate, model, decide.
InputGrain and sizeStatusUsed for
Range workload study342 Ranges × 28 parameters + officersReal 2024Core workload of field offices
HQ and Division staffing8 CommissioneratesReal 2024Officers outside the Ranges
Division office workload66 Divisions × 14 parametersExtrapolatedAdjudication, refunds, review
Commissionerate HQ workload8 HQs × 12 parametersExtrapolatedLegal, anti-evasion, vigilance
Audit workload70 Groups, 20 Circles, 3 HQsDemoAudit department analysis
Appeals workload3 Commissionerates × 17 parametersDemoAppellate work
Cadre strength15 formations × 28 grades × sanctioned / workingReal 2024Sanction caps, support-staff fairness
District geographyDistrict boundaries → CommissionerateReferenceZone map
Policy inputsWeightages, grade weights, Level SharesPolicyTurning counts into comparable load

Levels without real returns yet run on clearly labelled extrapolated or demo figures until offices report through the built-in collection pipeline.

Workload ↔ staffing

The same row of the same office, so load per officer is exact.

Range ↔ Division ↔ Commissionerate

Rolled up through hierarchy keys for zone-wide comparison.

Workload ↔ cadre sanction

Matched on normalised office names to cap receipts at sanctioned strength.

Policy ↔ data

Weightages and Level Shares turn each level’s own points into one common unit.

The analytical approach: from raw counts to a fair, explainable plan

Section titled “The analytical approach: from raw counts to a fair, explainable plan”
  1. Weighted workload index. Score(office) = Σ (value × weight) across 108 parameters in 7 levels, grouped into areas such as taxpayers, registration, refunds, scrutiny, adjudication, audit and enforcement. Each weight reflects how much work one unit means.

  2. Capacity in officer-equivalents. Strength(office) = Σ (officers × grade weight). Grade weights run from 25 for a Commissioner to 4 for an Inspector. An officer holding additional charge of N offices counts as 1/N in each, so capacity reflects reality, not headcount.

  3. Load per officer against the zone. Load = Score ÷ Strength, shown as a percentage of the zonal average (total score ÷ total strength). Every office is shown against 100%: below means lighter than average, above means heavier.

  4. Making levels comparable. R(level) = (share of level × department workload) ÷ level score. Each level scores in its own points. One visible policy input, the Level Shares (for example Ranges 50%, Divisions 20%, HQ 30%), converts them into one unit, with the Ranges anchoring the scale at R = 1.

  5. Requirement and gap. Required = workload ÷ zonal average load. The gap between required and actual strength is converted into whole Superintendents and Inspectors, using each office’s own grade mix.

  6. Constraint-based allocation. Four guardrails apply to every suggestion: an office giving officers is never pushed above the zonal average; a receiving office is never filled beyond sanctioned strength, checked grade by grade; no office gives officers it does not actually have; and moves are in whole officers, by grade, paired giver → receiver.

  7. Outlier detection: a peer mix check. Each Commissionerate’s split of work across its own levels is compared with the peer average, and deviations of ±30% or more are flagged for a closer look. Because it compares like with like, the check doesn’t depend on the policy shares.

  8. Support-staff fairness. Ministerial staff (executive assistants, tax assistants, clerks and multi-tasking staff) are compared with each formation’s fair share, in proportion to the officers they serve. The tool shows staff per 100 officers, surplus and deficit, and a grade-wise movement plan.

Data collection and quality: a pipeline offices can actually use

Section titled “Data collection and quality: a pipeline offices can actually use”
Templategenerated Excel, office names pre-filled
→
CollectExcel, or a Google Form built by script
→
Validateerrors in plain words
→
Loadversioned, saved locally
→
Analyseevery view updates instantly

Templates generated from the model

Each level’s Excel template is generated from its current parameter list: one column per parameter, officer columns, office names pre-filled and a “How to fill” sheet. Add a parameter and the next template carries it automatically.

Google Forms, automated

A Google Apps Script embedded in the tool turns any template into a cascading form: an office picks its Commissionerate, then sees only that Commissionerate’s Divisions, then only that Division’s Ranges. Every figure is required and validated, and the help text explains the 1/N rule with examples. A second function removes duplicates (the latest reply per office wins), produces an upload-ready file in the exact format, and lists the offices that have not replied.

Validation before anything loads

Columns are matched by normalised heading, so column order, curly quotes, dashes and extra spaces don’t matter. Missing columns, duplicate rows, negative values and text in number cells are listed in plain words, and nothing is applied until the file is clean.

Governed parameters

All levels’ parameters and weights can be exported to one sheet, edited and re-imported. The import is validated and only applied after a confirmation summary. A renamed parameter is treated as new, so old figures are never silently relabelled.

Filling gaps responsibly

Levels without real returns were seeded by proportional extrapolation from the Range study, with headquarters staff split between Division offices and HQ without double counting. Every such dataset is labelled until real data replaces it. Embedded data is versioned: upgrades refresh demo levels and never touch uploaded ones.

Briefing-deck slide titled Offices fill one form, everything else is automatic: five steps from one form to checked, loads visible, fair share and postings and re-balancing.
The same story, told to decision-makers: a slide from the built-in briefing deck.

From the zone view to the transfer sheet. Every chart supports drill-down by click and hover details, and two audiences get their own views: the Chief Commissioner sees moves between Commissionerates, and each Principal Commissioner sees re-balancing within their own.

AGT transfer sheet: Commissionerates that need officers and those that can give them, grade-wise Superintendents and Inspectors, sanction caps, and work per officer before and after the move. Anonymised sample data.
AGT transfer sheet: who needs officers and who can give them, grade-wise, with sanction caps and each office’s load per officer before → after the move (100% = zonal average).
Range-wise workload for all Ranges of the zone, ranked, beside the top ten parameters driving the load. Anonymised sample data.
Drill-down: all 342 Ranges ranked, filterable by Commissionerate and Division, with the top parameters driving the load.

Visualisation and engineering: built for the people who decide

Section titled “Visualisation and engineering: built for the people who decide”
PurposeChart choice
RankingSorted horizontal bars: who carries the most work
ShareDonut: each Commissionerate’s slice of the zone
Composition100% stacked bars: the nature of the work
Surplus / deficitDiverging bars around a fair-share zero line
GeographyChoropleth map with rank-based colour steps
Benchmark% of zonal average, and before → after values
HeadlineKPI tiles for totals, averages and moves

One offline file

About 5,000 lines of HTML, CSS and JavaScript, with no frameworks and no build step. It can be emailed as a single attachment.

Charts from scratch

Custom SVG chart components (bar, donut, stacked, diverging and map), all drawn by hand.

Excel and Google, automated

SheetJS reads uploads and writes templates in the browser; Google Apps Script automates Forms and Sheets for data collection.

Local persistence

Data is kept in browser storage, with schema versioning and automatic migration of older saves.

Zone-agnostic and testable

Every Commissionerate, Division, grade and parameter comes from the data, so a reorganisation or another zone needs only a fresh upload. Core calculations are exposed for automated smoke tests in Node.js.

Privacy by design

No network calls at all: the data never leaves the computer.

Storytelling: an 8-slide briefing deck, a one-page handbook, a ▶ Present mode for projectors and print-to-PDF for every page. The analysis travels into the meeting room without anyone re-making slides, and every figure on the slides is computed from the loaded data, so the story updates with each upload.

Start screen with three ways in: the briefing deck, the handbook and the analyzer itself.
Start screen: three ways in, the briefing deck, the handbook or the analyzer itself.
SkillWhere it shows
Problem framingTurned a postings debate into measurable questions, with separate views for zone-level and Commissionerate-level decision-makers
Data modellingA hierarchical model (zone › Commissionerate › Division › Range) across 7 levels, plus cadre and geography
Data integrationNine inputs joined through hierarchy keys and normalised office names
Data cleaning & validationHeading normalisation and checks for duplicates, negatives and text, with plain-language error reports
KPI & index designWeighted workload score, capacity in officer-equivalents, load per officer, % of zonal average
Normalisation across unitsLevel Shares conversion ratios with an anchor level
Optimisation under constraintsGuardrails, sanction caps, whole-officer rounding, giver → receiver pairing
Outlier detectionA peer mix check that flags ±30% deviations from the peer average
Synthetic dataProportional extrapolation to fill missing levels, clearly labelled
Visualisation & dashboardsSix chart types, drill-downs, a choropleth map and KPI tiles
Data collection & automationGenerated Excel templates and a Google Forms + Apps Script pipeline
Data storytellingLive briefing deck, handbook, present and print modes
Responsible analyticsTransparent assumptions, the human keeps the decision, privacy by design
  • Used for real decisions: actual transfers were carried out on its analysis two years in a row, leading to a better distribution of officers across offices.
  • Imbalance made visible: load per officer for every office, side by side.
  • Defensible decisions: every suggestion shows its reason and full calculation.
  • Faster AGT preparation: a grade-wise draft plan in minutes, straight from the data.
  • Built to last: survives reorganisations and works for other zones.
  • Zero cost, fully private: no vendor, no server, no data leaving the machine.

“The numbers measure workload, never the officer. The tool informs; the competent authority decides.”

Every assumption is a visible, editable number, so anyone who disagrees can point at the exact figure they disagree with.

Data analytics Data integration Data modelling KPI design Dashboard design Data visualisation Workforce analytics Constraint-based allocation Data quality JavaScript Excel Google Apps Script Public sector