{
 "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 Somers, including department detail.",
  "town_scope_note": "`function_totals` covers Somers 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 Somers: 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": "Somers",
 "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": 972844,
    "benefits": 1463625,
    "other": 703376,
    "total": 3139845
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 972844,
    "benefits": 1463625,
    "other": 703376,
    "total": 3139845
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1209950,
    "benefits": 0,
    "other": 615162,
    "total": 1825112
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 479962,
    "benefits": 0,
    "other": 230910,
    "total": 710872
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 729988,
    "benefits": 0,
    "other": 355582,
    "total": 1085570
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 28670,
    "total": 28670
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 789780,
    "benefits": 0,
    "other": 1346482,
    "total": 2136262
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 706477,
    "benefits": 0,
    "other": 220881,
    "total": 927358
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 464818,
    "total": 464818
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 83303,
    "benefits": 0,
    "other": 16473,
    "total": 99776
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 644310,
    "total": 644310
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 153398,
    "benefits": 0,
    "other": 8700,
    "total": 162098
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 8000,
    "total": 8000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 153398,
    "benefits": 0,
    "other": 700,
    "total": 154098
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 448874,
    "benefits": 0,
    "other": 176567,
    "total": 625441
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 307221,
    "benefits": 0,
    "other": 166723,
    "total": 473944
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 111896,
    "benefits": 0,
    "other": 0,
    "total": 111896
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 29757,
    "benefits": 0,
    "other": 9844,
    "total": 39601
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 19047396,
    "benefits": 3641742,
    "other": 5234091,
    "total": 27923229
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 19047396,
    "benefits": 3641742,
    "other": 5234091,
    "total": 27923229
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 1648829,
    "total": 1648829
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 1648829,
    "total": 1648829
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 443038,
    "total": 443038
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 443038,
    "total": 443038
   },
   {
    "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": 22622242,
    "benefits": 5105367,
    "other": 10176245,
    "total": 37903854
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 922493,
    "benefits": 1476274,
    "other": 775920,
    "total": 3174687
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 922493,
    "benefits": 1476274,
    "other": 775920,
    "total": 3174687
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1205351,
    "benefits": 0,
    "other": 534614,
    "total": 1739965
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 510760,
    "benefits": 0,
    "other": 218466,
    "total": 729226
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 694591,
    "benefits": 0,
    "other": 308577,
    "total": 1003168
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 7571,
    "total": 7571
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 833607,
    "benefits": 0,
    "other": 1491804,
    "total": 2325411
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 747805,
    "benefits": 0,
    "other": 343504,
    "total": 1091309
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 494651,
    "total": 494651
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 85802,
    "benefits": 0,
    "other": 7746,
    "total": 93548
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 645903,
    "total": 645903
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 205419,
    "benefits": 0,
    "other": 8961,
    "total": 214380
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 8000,
    "total": 8000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 205419,
    "benefits": 0,
    "other": 961,
    "total": 206380
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 423932,
    "benefits": 0,
    "other": 180236,
    "total": 604168
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 308524,
    "benefits": 0,
    "other": 174126,
    "total": 482650
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 83924,
    "benefits": 0,
    "other": 473,
    "total": 84397
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 31484,
    "benefits": 0,
    "other": 5637,
    "total": 37121
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 19314976,
    "benefits": 3958889,
    "other": 4934770,
    "total": 28208635
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 19314976,
    "benefits": 3958889,
    "other": 4934770,
    "total": 28208635
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 1596670,
    "total": 1596670
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 1596670,
    "total": 1596670
   },
   {
    "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": 22905778,
    "benefits": 5435163,
    "other": 9522975,
    "total": 37863916
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 952446,
    "benefits": 1431670,
    "other": 816187,
    "total": 3200303
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 952446,
    "benefits": 1431670,
    "other": 816187,
    "total": 3200303
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1323676,
    "benefits": 0,
    "other": 540254,
    "total": 1863930
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 511253,
    "benefits": 0,
    "other": 217422,
    "total": 728675
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 812423,
    "benefits": 0,
    "other": 312593,
    "total": 1125016
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 10239,
    "total": 10239
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 860932,
    "benefits": 0,
    "other": 1452226,
    "total": 2313158
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 774414,
    "benefits": 0,
    "other": 191473,
    "total": 965887
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 593050,
    "total": 593050
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 86518,
    "benefits": 0,
    "other": 12193,
    "total": 98711
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 655510,
    "total": 655510
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 200964,
    "benefits": 0,
    "other": 9200,
    "total": 210164
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 8000,
    "total": 8000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 115716,
    "benefits": 0,
    "other": 1200,
    "total": 116916
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 85248,
    "benefits": 0,
    "other": 0,
    "total": 85248
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 473602,
    "benefits": 0,
    "other": 186221,
    "total": 659823
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 315530,
    "benefits": 0,
    "other": 178634,
    "total": 494164
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 126464,
    "benefits": 0,
    "other": 1070,
    "total": 127534
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 31608,
    "benefits": 0,
    "other": 6517,
    "total": 38125
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 20083442,
    "benefits": 4003045,
    "other": 4612689,
    "total": 28699176
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 20083442,
    "benefits": 4003045,
    "other": 4612689,
    "total": 28699176
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 1557188,
    "total": 1557188
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1557188,
    "total": 1557188
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 230182,
    "total": 230182
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 230182,
    "total": 230182
   },
   {
    "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": 23895062,
    "benefits": 5434715,
    "other": 9404147,
    "total": 38733924
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1020733,
    "benefits": 1452778,
    "other": 808689,
    "total": 3282200
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1020733,
    "benefits": 1452778,
    "other": 808689,
    "total": 3282200
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1348187,
    "benefits": 0,
    "other": 581105,
    "total": 1929292
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 515707,
    "benefits": 0,
    "other": 199829,
    "total": 715536
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 832480,
    "benefits": 0,
    "other": 364524,
    "total": 1197004
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 16752,
    "total": 16752
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 844367,
    "benefits": 0,
    "other": 1584066,
    "total": 2428433
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 772245,
    "benefits": 0,
    "other": 212999,
    "total": 985244
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 72122,
    "benefits": 0,
    "other": 637857,
    "total": 709979
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 7209,
    "total": 7209
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 726001,
    "total": 726001
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 219009,
    "benefits": 0,
    "other": 2814,
    "total": 221823
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 123387,
    "benefits": 0,
    "other": 2814,
    "total": 126201
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 95622,
    "benefits": 0,
    "other": 0,
    "total": 95622
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 516563,
    "benefits": 0,
    "other": 196610,
    "total": 713173
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 347082,
    "benefits": 0,
    "other": 184348,
    "total": 531430
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 129773,
    "benefits": 0,
    "other": 170,
    "total": 129943
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 39708,
    "benefits": 0,
    "other": 12092,
    "total": 51800
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 20885831,
    "benefits": 4227360,
    "other": 5055362,
    "total": 30168553
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 20885831,
    "benefits": 4227360,
    "other": 5055362,
    "total": 30168553
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 1737838,
    "total": 1737838
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1737838,
    "total": 1737838
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 53893,
    "total": 53893
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 53893,
    "total": 53893
   },
   {
    "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": 24834690,
    "benefits": 5680138,
    "other": 10020377,
    "total": 40535205
   }
  ]
 }
}