DEV Community

Puneet Khandelwal
Puneet Khandelwal

Posted on

Why Our Open Government Spending Dashboard Completely Stalled

When we built a local spending dashboard for our municipal district, we made a classic engineering blunder. We assumed the hard part meant writing frontend queries. We pictured a sleek interface where residents tracked tax dollars down to the exact pothole fix or library book. We spent early weekends architecting a pristine relational database schema, building automated ingestion pipelines, and designing a reactive dashboard that looked ready for venture backing.

Reality hit when the finance department handed us a thumb drive with three years of quarterly budget reports stored as nested Excel files. Each department head used custom naming conventions. A road repair project appeared under four different titles depending on funding sources. Our ingestion script choked on merged cells, footer notes, and missing header rows.

Civic transparency fails because of mismatched data semantics, not a lack of technical chops. Engineers want to normalize and enforce strict types. Government accounting relies on historical precedent and legal compliance. A line item brings regulatory context, multi-year encumbrances, and legislative amendments that resist clean JSON payloads. By forcing raw civic data into rigid database models, we stripped away the context people actually needed.

Our first try stalled because we built for an idealized user instead of reality. We tore down our ingestion engine and treated data cleaning as the core product. We sat with municipal clerks to learn why funds get segregated and how capital projects span fiscal boundaries. We rewrote parsers to keep human annotations instead of treating them as noise.

Before writing database migration code, go understand the organizational friction that generated the record. Clean architecture means nothing if it isolates you from public administration.

Top comments (0)