{
 "metadata": {
  "source": "CT Office of Policy and Management — Municipal Fiscal Indicators, Uniform Chart of Accounts",
  "dataset_id": "e2qt-k238",
  "dataset_name": "Municipal Fiscal Indicators: Uniform Chart of Accounts, 2020-2023",
  "landing_page": "https://data.ct.gov/d/e2qt-k238",
  "source_url": "https://data.ct.gov/resource/e2qt-k238.json",
  "pulled": "2026-08-25",
  "dataset_last_updated": "2026-03-03",
  "recipe": "python Data/fetch_ct_ucoa.py (Python 3, standard library, no API key)",
  "row_count_source": 17632,
  "fiscal_year_note": "OPM year Y = the fiscal year ending June 30 of year Y. 2023 = FY 2022-23.",
  "basis_note": "Audited actual expenditures cross-walked to the state Uniform Chart of Accounts, split into salaries/wages, employee benefits, and all other costs. Same basis as ct_ucoa_town_indicators.json — actuals across funds, not the adopted budget.",
  "structure_note": "`function_totals` holds each town's function-level subtotal rows (the source's '<Function> Total' and 'Total Expenditures' rows), so figures are not double counted. `target_departments` holds every row the source publishes for Haddam, including department detail.",
  "town_scope_note": "`function_totals` covers Haddam and its hand-built peer groups only, to keep the browser download small. All 170 entities are in Data/ct_ucoa/mfi_ucoa_by_function_2020-2023.csv.",
  "gap_note": "The source omits some town-years entirely; those years are absent rather than zero. Missing for Haddam: none.",
  "merge_note": "`function_totals` is not in this file. It is statewide and identical for every town, so it is published once at /data/ct_ucoa_function_totals.json and merged onto this payload at runtime by TownCharts.load(). `target_departments` below is this town's own department detail and appears nowhere else."
 },
 "target": "Haddam",
 "years": [
  "2020",
  "2021",
  "2022",
  "2023"
 ],
 "fiscal_years": [
  "19-20",
  "20-21",
  "21-22",
  "22-23"
 ],
 "target_departments": {
  "2020": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 862929,
    "benefits": 1148286,
    "other": 346238,
    "total": 2357453
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 862929,
    "benefits": 1148286,
    "other": 346238,
    "total": 2357453
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 33672,
    "benefits": 131055,
    "other": 638412,
    "total": 803139
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 321112,
    "total": 321112
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 17226,
    "benefits": 131055,
    "other": 189077,
    "total": 337358
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 16446,
    "benefits": 0,
    "other": 128223,
    "total": 144669
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 728572,
    "benefits": 0,
    "other": 1358269,
    "total": 2086841
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 616901,
    "benefits": 0,
    "other": 740033,
    "total": 1356934
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 60546,
    "benefits": 0,
    "other": 258840,
    "total": 319386
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 51125,
    "benefits": 0,
    "other": 359396,
    "total": 410521
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 84621,
    "benefits": 0,
    "other": 285074,
    "total": 369695
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 94164,
    "total": 94164
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 84621,
    "benefits": 0,
    "other": 97626,
    "total": 182247
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 93284,
    "total": 93284
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 478601,
    "total": 478601
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 345156,
    "total": 345156
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 113431,
    "total": 113431
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 20014,
    "total": 20014
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 24025584,
    "total": 24025584
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 24025584,
    "total": 24025584
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 688115,
    "total": 688115
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 688115,
    "total": 688115
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1709794,
    "benefits": 1279341,
    "other": 27820293,
    "total": 30809428
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 845532,
    "benefits": 1196883,
    "other": 266559,
    "total": 2308974
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 845532,
    "benefits": 1196883,
    "other": 266559,
    "total": 2308974
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 73388,
    "benefits": 0,
    "other": 634745,
    "total": 708133
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 304475,
    "total": 304475
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 39000,
    "benefits": 0,
    "other": 205219,
    "total": 244219
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 34388,
    "benefits": 0,
    "other": 125051,
    "total": 159439
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 733737,
    "benefits": 0,
    "other": 1376781,
    "total": 2110518
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 610865,
    "benefits": 0,
    "other": 691782,
    "total": 1302647
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 69453,
    "benefits": 0,
    "other": 289943,
    "total": 359396
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 53419,
    "benefits": 0,
    "other": 395056,
    "total": 448475
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 87508,
    "benefits": 0,
    "other": 291730,
    "total": 379238
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 94164,
    "total": 94164
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 87508,
    "benefits": 0,
    "other": 104344,
    "total": 191852
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 93222,
    "total": 93222
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 521703,
    "total": 521703
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 368010,
    "total": 368010
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 140667,
    "total": 140667
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 13026,
    "total": 13026
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 24414138,
    "total": 24414138
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 24414138,
    "total": 24414138
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 1324048,
    "total": 1324048
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 1324048,
    "total": 1324048
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1740165,
    "benefits": 1196883,
    "other": 28829704,
    "total": 31766752
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 896129,
    "benefits": 949182,
    "other": 461247,
    "total": 2306558
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 896129,
    "benefits": 949182,
    "other": 461247,
    "total": 2306558
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 86982,
    "benefits": 0,
    "other": 726874,
    "total": 813856
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 345124,
    "total": 345124
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 51000,
    "benefits": 0,
    "other": 249403,
    "total": 300403
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 35982,
    "benefits": 0,
    "other": 132347,
    "total": 168329
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 724708,
    "benefits": 0,
    "other": 1593774,
    "total": 2318482
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 596205,
    "benefits": 0,
    "other": 932046,
    "total": 1528251
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 65947,
    "benefits": 0,
    "other": 292833,
    "total": 358780
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 62556,
    "benefits": 0,
    "other": 368895,
    "total": 431451
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 110610,
    "benefits": 0,
    "other": 352442,
    "total": 463052
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 94164,
    "total": 94164
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 110610,
    "benefits": 0,
    "other": 110085,
    "total": 220695
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 148193,
    "total": 148193
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 538979,
    "total": 538979
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 368010,
    "total": 368010
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 145909,
    "total": 145909
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 25060,
    "total": 25060
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 24567989,
    "total": 24567989
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 24567989,
    "total": 24567989
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 1295403,
    "total": 1295403
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1295403,
    "total": 1295403
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 25000,
    "total": 25000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 25000,
    "total": 25000
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1818429,
    "benefits": 949182,
    "other": 29561708,
    "total": 32329319
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 955094,
    "benefits": 949184,
    "other": 422688,
    "total": 2326966
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 955094,
    "benefits": 949184,
    "other": 422688,
    "total": 2326966
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 112693,
    "benefits": 0,
    "other": 818631,
    "total": 931324
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 284904,
    "total": 284904
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 77082,
    "benefits": 0,
    "other": 249685,
    "total": 326767
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 35611,
    "benefits": 0,
    "other": 284042,
    "total": 319653
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 756902,
    "benefits": 0,
    "other": 1463248,
    "total": 2220150
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 587905,
    "benefits": 0,
    "other": 435611,
    "total": 1023516
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 65449,
    "benefits": 0,
    "other": 310792,
    "total": 376241
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 103548,
    "benefits": 0,
    "other": 716845,
    "total": 820393
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 116002,
    "benefits": 0,
    "other": 214097,
    "total": 330099
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 94164,
    "total": 94164
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 116002,
    "benefits": 0,
    "other": 17933,
    "total": 133935
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 102000,
    "total": 102000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 538476,
    "total": 538476
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 368010,
    "total": 368010
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 88183,
    "total": 88183
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 82283,
    "total": 82283
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 25387181,
    "total": 25387181
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 25387181,
    "total": 25387181
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 1271490,
    "total": 1271490
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1271490,
    "total": 1271490
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1940691,
    "benefits": 949184,
    "other": 30115811,
    "total": 33005686
   }
  ]
 }
}