{
 "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 East Windsor, including department detail.",
  "town_scope_note": "`function_totals` covers East Windsor 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 East Windsor: 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": "East Windsor",
 "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": 1043265,
    "benefits": 0,
    "other": 1026513,
    "total": 2069778
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1043265,
    "benefits": 0,
    "other": 1026513,
    "total": 2069778
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3595241,
    "benefits": 43915,
    "other": 401807,
    "total": 4040963
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3190785,
    "benefits": 0,
    "other": 163053,
    "total": 3353838
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 228833,
    "benefits": 43915,
    "other": 178172,
    "total": 450920
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 175623,
    "benefits": 0,
    "other": 60582,
    "total": 236205
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 864737,
    "benefits": 0,
    "other": 2380196,
    "total": 3244933
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 864737,
    "benefits": 0,
    "other": 545904,
    "total": 1410641
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 944929,
    "total": 944929
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 889363,
    "total": 889363
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 297327,
    "benefits": 0,
    "other": 14998,
    "total": 312325
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 297327,
    "benefits": 0,
    "other": 14998,
    "total": 312325
   },
   {
    "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": 201214,
    "benefits": 0,
    "other": 342745,
    "total": 543959
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 283360,
    "total": 283360
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 201214,
    "benefits": 0,
    "other": 59385,
    "total": 260599
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 15396963,
    "benefits": 6464651,
    "other": 4682646,
    "total": 26544260
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 15396963,
    "benefits": 6464651,
    "other": 4682646,
    "total": 26544260
   },
   {
    "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": 1079205,
    "total": 1079205
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 1079205,
    "total": 1079205
   },
   {
    "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": 151259,
    "benefits": 2927109,
    "other": 2063,
    "total": 3080431
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 151259,
    "benefits": 2927109,
    "other": 2063,
    "total": 3080431
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 21550006,
    "benefits": 9435675,
    "other": 9930173,
    "total": 40915854
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1016127,
    "benefits": 0,
    "other": 1078354,
    "total": 2094481
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1016127,
    "benefits": 0,
    "other": 1078354,
    "total": 2094481
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3823179,
    "benefits": 29958,
    "other": 410507,
    "total": 4263644
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3391728,
    "benefits": 0,
    "other": 162909,
    "total": 3554637
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 252747,
    "benefits": 29958,
    "other": 186187,
    "total": 468892
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 178704,
    "benefits": 0,
    "other": 61411,
    "total": 240115
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 936225,
    "benefits": 0,
    "other": 2185159,
    "total": 3121384
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 936225,
    "benefits": 0,
    "other": 1194758,
    "total": 2130983
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 990401,
    "total": 990401
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 336841,
    "benefits": 0,
    "other": 10117,
    "total": 346958
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 113342,
    "benefits": 0,
    "other": 1904,
    "total": 115246
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 223499,
    "benefits": 0,
    "other": 8213,
    "total": 231712
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 193443,
    "benefits": 0,
    "other": 344819,
    "total": 538262
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 287500,
    "total": 287500
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 193443,
    "benefits": 0,
    "other": 57319,
    "total": 250762
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 15678205,
    "benefits": 6461145,
    "other": 4730507,
    "total": 26869857
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 15678205,
    "benefits": 6461145,
    "other": 4730507,
    "total": 26869857
   },
   {
    "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": 2723309,
    "total": 2723309
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2723309,
    "total": 2723309
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 479219,
    "total": 479219
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 479219,
    "total": 479219
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 175977,
    "benefits": 2786474,
    "other": 3069,
    "total": 2965520
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 175977,
    "benefits": 2786474,
    "other": 3069,
    "total": 2965520
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 22159997,
    "benefits": 9277577,
    "other": 11965060,
    "total": 43402634
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1055930,
    "benefits": 0,
    "other": 1048256,
    "total": 2104186
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1055930,
    "benefits": 0,
    "other": 1048256,
    "total": 2104186
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3616395,
    "benefits": 0,
    "other": 262946,
    "total": 3879341
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3464260,
    "benefits": 0,
    "other": 190306,
    "total": 3654566
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 152135,
    "benefits": 0,
    "other": 72640,
    "total": 224775
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 964825,
    "benefits": 0,
    "other": 2725669,
    "total": 3690494
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 964825,
    "benefits": 0,
    "other": 1659423,
    "total": 2624248
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1066246,
    "total": 1066246
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 339421,
    "benefits": 0,
    "other": 57420,
    "total": 396841
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 120053,
    "benefits": 0,
    "other": 45477,
    "total": 165530
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 219368,
    "benefits": 0,
    "other": 11943,
    "total": 231311
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 223518,
    "benefits": 0,
    "other": 367347,
    "total": 590865
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 305500,
    "total": 305500
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 223518,
    "benefits": 0,
    "other": 61847,
    "total": 285365
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 16648192,
    "benefits": 5050254,
    "other": 7227650,
    "total": 28926096
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 16648192,
    "benefits": 5050254,
    "other": 7227650,
    "total": 28926096
   },
   {
    "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": 473944,
    "total": 473944
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 473944,
    "total": 473944
   },
   {
    "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": 201638,
    "benefits": 0,
    "other": 2811894,
    "total": 3013532
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 201638,
    "benefits": 0,
    "other": 2811894,
    "total": 3013532
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 23049919,
    "benefits": 5050254,
    "other": 14975126,
    "total": 43075299
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1148152,
    "benefits": 0,
    "other": 1246924,
    "total": 2395076
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1148152,
    "benefits": 0,
    "other": 1246924,
    "total": 2395076
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3634967,
    "benefits": 0,
    "other": 421121,
    "total": 4056088
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3450110,
    "benefits": 0,
    "other": 332155,
    "total": 3782265
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 184857,
    "benefits": 0,
    "other": 88966,
    "total": 273823
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 970549,
    "benefits": 0,
    "other": 2831657,
    "total": 3802206
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 970549,
    "benefits": 0,
    "other": 1693808,
    "total": 2664357
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1137849,
    "total": 1137849
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 336517,
    "benefits": 0,
    "other": 137445,
    "total": 473962
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 130220,
    "benefits": 0,
    "other": 126989,
    "total": 257209
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 206297,
    "benefits": 0,
    "other": 10456,
    "total": 216753
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 253778,
    "benefits": 0,
    "other": 408583,
    "total": 662361
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 324750,
    "total": 324750
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 253778,
    "benefits": 0,
    "other": 83833,
    "total": 337611
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 16768093,
    "benefits": 6562719,
    "other": 6437080,
    "total": 29767892
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 16768093,
    "benefits": 6562719,
    "other": 6437080,
    "total": 29767892
   },
   {
    "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": 465278,
    "total": 465278
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 465278,
    "total": 465278
   },
   {
    "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": 217053,
    "benefits": 3022159,
    "other": 0,
    "total": 3239212
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 217053,
    "benefits": 3022159,
    "other": 0,
    "total": 3239212
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 23329109,
    "benefits": 9584878,
    "other": 11948088,
    "total": 44862075
   }
  ]
 }
}