{
 "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 Stonington, including department detail.",
  "town_scope_note": "`function_totals` covers Stonington 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 Stonington: 2020.",
  "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": "Stonington",
 "years": [
  "2020",
  "2021",
  "2022",
  "2023"
 ],
 "fiscal_years": [
  "19-20",
  "20-21",
  "21-22",
  "22-23"
 ],
 "target_departments": {
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2181671,
    "benefits": 816806,
    "other": 1688838,
    "total": 4687315
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2181671,
    "benefits": 816806,
    "other": 1688838,
    "total": 4687315
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 4372036,
    "benefits": 1950310,
    "other": 713606,
    "total": 7035952
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4372036,
    "benefits": 1950310,
    "other": 556239,
    "total": 6878585
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 157367,
    "total": 157367
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2814345,
    "benefits": 1275860,
    "other": 3774017,
    "total": 7864222
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1712328,
    "benefits": 745879,
    "other": 835470,
    "total": 3293677
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 560075,
    "benefits": 260080,
    "other": 2210027,
    "total": 3030182
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 83169,
    "benefits": 72870,
    "other": 20023,
    "total": 176062
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 458773,
    "benefits": 197031,
    "other": 708497,
    "total": 1364301
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 393183,
    "benefits": 166331,
    "other": 208244,
    "total": 767758
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 147774,
    "total": 147774
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 393183,
    "benefits": 166331,
    "other": 60470,
    "total": 619984
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 114147,
    "benefits": 52443,
    "other": 828613,
    "total": 995203
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 446500,
    "total": 446500
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 114147,
    "benefits": 52443,
    "other": 23913,
    "total": 190503
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 358200,
    "total": 358200
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 22786212,
    "benefits": 10767516,
    "other": 7799661,
    "total": 41353389
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 22786212,
    "benefits": 10767516,
    "other": 7799661,
    "total": 41353389
   },
   {
    "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": 8066702,
    "total": 8066702
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 8066702,
    "total": 8066702
   },
   {
    "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": 267828,
    "total": 267828
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 267828,
    "total": 267828
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 32661594,
    "benefits": 15029266,
    "other": 23347509,
    "total": 71038369
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2244828,
    "benefits": 0,
    "other": 5435120,
    "total": 7679948
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2244828,
    "benefits": 0,
    "other": 5435120,
    "total": 7679948
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 4806715,
    "benefits": 0,
    "other": 1659149,
    "total": 6465864
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4806715,
    "benefits": 0,
    "other": 1659149,
    "total": 6465864
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2864877,
    "benefits": 0,
    "other": 4240665,
    "total": 7105542
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1704980,
    "benefits": 0,
    "other": 1141052,
    "total": 2846032
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 572495,
    "benefits": 0,
    "other": 2234232,
    "total": 2806727
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 87878,
    "benefits": 0,
    "other": 14562,
    "total": 102440
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 499524,
    "benefits": 0,
    "other": 850819,
    "total": 1350343
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 448883,
    "benefits": 0,
    "other": 94739,
    "total": 543622
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 448883,
    "benefits": 0,
    "other": 94739,
    "total": 543622
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 119849,
    "benefits": 0,
    "other": 849311,
    "total": 969160
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 446500,
    "total": 446500
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 119849,
    "benefits": 0,
    "other": 24316,
    "total": 144165
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 378495,
    "total": 378495
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 23552076,
    "benefits": 10903731,
    "other": 9439599,
    "total": 43895406
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 23552076,
    "benefits": 10903731,
    "other": 9439599,
    "total": 43895406
   },
   {
    "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": 7571383,
    "total": 7571383
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 7571383,
    "total": 7571383
   },
   {
    "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": 251583,
    "total": 251583
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 251583,
    "total": 251583
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 34037228,
    "benefits": 10903731,
    "other": 29541549,
    "total": 74482508
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2267402,
    "benefits": 908762,
    "other": 813921,
    "total": 3990085
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2267402,
    "benefits": 908762,
    "other": 813921,
    "total": 3990085
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 4938662,
    "benefits": 2207535,
    "other": 1877117,
    "total": 9023314
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4938662,
    "benefits": 2207535,
    "other": 1877117,
    "total": 9023314
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2838286,
    "benefits": 1358168,
    "other": 4461669,
    "total": 8658123
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1665790,
    "benefits": 783060,
    "other": 1106444,
    "total": 3555294
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 609828,
    "benefits": 275570,
    "other": 2569484,
    "total": 3454882
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 81205,
    "benefits": 80452,
    "other": 14031,
    "total": 175688
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 481463,
    "benefits": 219086,
    "other": 771710,
    "total": 1472259
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 474056,
    "benefits": 189529,
    "other": 464573,
    "total": 1128158
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 474056,
    "benefits": 189529,
    "other": 464573,
    "total": 1128158
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 126114,
    "benefits": 60058,
    "other": 476459,
    "total": 662631
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 449000,
    "total": 449000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 126114,
    "benefits": 60058,
    "other": 27459,
    "total": 213631
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 24303209,
    "benefits": 11809934,
    "other": 8759264,
    "total": 44872407
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 24303209,
    "benefits": 11809934,
    "other": 8759264,
    "total": 44872407
   },
   {
    "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": 7725155,
    "total": 7725155
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 7725155,
    "total": 7725155
   },
   {
    "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": 208084,
    "total": 208084
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 208084,
    "total": 208084
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 34947729,
    "benefits": 16533986,
    "other": 24786242,
    "total": 76267957
   }
  ]
 }
}