{
 "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 Ellington, including department detail.",
  "town_scope_note": "`function_totals` covers Ellington 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 Ellington: 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": "Ellington",
 "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": 0,
    "benefits": 0,
    "other": 2334308,
    "total": 2334308
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 0,
    "benefits": 0,
    "other": 2334308,
    "total": 2334308
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 3124346,
    "total": 3124346
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 3124346,
    "total": 3124346
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 0,
    "benefits": 0,
    "other": 4666249,
    "total": 4666249
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 4666249,
    "total": 4666249
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 698630,
    "total": 698630
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 698630,
    "total": 698630
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 1112684,
    "total": 1112684
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 677084,
    "total": 677084
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 435600,
    "total": 435600
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 45076799,
    "total": 45076799
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 45076799,
    "total": 45076799
   },
   {
    "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": 2594096,
    "total": 2594096
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2594096,
    "total": 2594096
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 2841076,
    "total": 2841076
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 2841076,
    "total": 2841076
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 3076672,
    "total": 3076672
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 3076672,
    "total": 3076672
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 0,
    "benefits": 0,
    "other": 65524860,
    "total": 65524860
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1345686,
    "benefits": 0,
    "other": 405487,
    "total": 1751173
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1345686,
    "benefits": 0,
    "other": 405487,
    "total": 1751173
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2199815,
    "benefits": 107296,
    "other": 931988,
    "total": 3239099
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1385030,
    "benefits": 0,
    "other": 29660,
    "total": 1414690
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 9476,
    "benefits": 107296,
    "other": 291083,
    "total": 407855
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 805309,
    "benefits": 0,
    "other": 611245,
    "total": 1416554
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1751874,
    "benefits": 0,
    "other": 3161995,
    "total": 4913869
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1751874,
    "benefits": 0,
    "other": 2347029,
    "total": 4098903
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 814966,
    "total": 814966
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 542394,
    "benefits": 0,
    "other": 169233,
    "total": 711627
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 542394,
    "benefits": 0,
    "other": 169233,
    "total": 711627
   },
   {
    "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": 825397,
    "benefits": 0,
    "other": 238806,
    "total": 1064203
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 520717,
    "benefits": 0,
    "other": 154860,
    "total": 675577
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 304680,
    "benefits": 0,
    "other": 83946,
    "total": 388626
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 25954011,
    "benefits": 6566949,
    "other": 13957464,
    "total": 46478424
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 25954011,
    "benefits": 6566949,
    "other": 13957464,
    "total": 46478424
   },
   {
    "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": 2828798,
    "total": 2828798
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2828798,
    "total": 2828798
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 2413735,
    "total": 2413735
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 2413735,
    "total": 2413735
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 7781,
    "benefits": 1867929,
    "other": 995686,
    "total": 2871396
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 7781,
    "benefits": 1867929,
    "other": 995686,
    "total": 2871396
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 32626958,
    "benefits": 8542174,
    "other": 25103192,
    "total": 66272324
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1344117,
    "benefits": 0,
    "other": 412016,
    "total": 1756133
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1344117,
    "benefits": 0,
    "other": 412016,
    "total": 1756133
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2212001,
    "benefits": 86968,
    "other": 785485,
    "total": 3084454
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1362761,
    "benefits": 0,
    "other": 32723,
    "total": 1395484
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 106228,
    "benefits": 86968,
    "other": 547611,
    "total": 740807
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 743012,
    "benefits": 0,
    "other": 205151,
    "total": 948163
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1871293,
    "benefits": 0,
    "other": 2981433,
    "total": 4852726
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1871293,
    "benefits": 0,
    "other": 2981433,
    "total": 4852726
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 599601,
    "benefits": 0,
    "other": 110483,
    "total": 710084
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 599601,
    "benefits": 0,
    "other": 110483,
    "total": 710084
   },
   {
    "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": 951601,
    "benefits": 0,
    "other": 257924,
    "total": 1209525
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 546859,
    "benefits": 0,
    "other": 157957,
    "total": 704816
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 404742,
    "benefits": 0,
    "other": 99967,
    "total": 504709
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 27109711,
    "benefits": 7050061,
    "other": 14336748,
    "total": 48496520
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 27109711,
    "benefits": 7050061,
    "other": 14336748,
    "total": 48496520
   },
   {
    "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": 2738273,
    "total": 2738273
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 2738273,
    "total": 2738273
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 2322557,
    "total": 2322557
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 2322557,
    "total": 2322557
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 2025794,
    "other": 2057274,
    "total": 4083068
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 2025794,
    "other": 2057274,
    "total": 4083068
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 34088324,
    "benefits": 9162823,
    "other": 26002193,
    "total": 69253340
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1452044,
    "benefits": 0,
    "other": 641371,
    "total": 2093415
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1452044,
    "benefits": 0,
    "other": 641371,
    "total": 2093415
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1364073,
    "benefits": 131280,
    "other": 1889902,
    "total": 3385255
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 567021,
    "benefits": 0,
    "other": 916360,
    "total": 1483381
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 3731,
    "benefits": 100561,
    "other": 247695,
    "total": 351987
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 793321,
    "benefits": 30719,
    "other": 725847,
    "total": 1549887
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1875939,
    "benefits": 0,
    "other": 3154346,
    "total": 5030285
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1875939,
    "benefits": 0,
    "other": 3154346,
    "total": 5030285
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 613680,
    "benefits": 0,
    "other": 184000,
    "total": 797680
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 613680,
    "benefits": 0,
    "other": 184000,
    "total": 797680
   },
   {
    "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": 1032570,
    "benefits": 0,
    "other": 327706,
    "total": 1360276
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 557721,
    "benefits": 0,
    "other": 173067,
    "total": 730788
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 474849,
    "benefits": 0,
    "other": 154639,
    "total": 629488
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 27920595,
    "benefits": 7528288,
    "other": 15379135,
    "total": 50828018
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 27920595,
    "benefits": 7528288,
    "other": 15379135,
    "total": 50828018
   },
   {
    "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": 2683529,
    "total": 2683529
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 2683529,
    "total": 2683529
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1585484,
    "total": 1585484
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1585484,
    "total": 1585484
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 2203352,
    "other": 1889536,
    "total": 4092888
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 2203352,
    "other": 1889536,
    "total": 4092888
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 34258901,
    "benefits": 9862920,
    "other": 27735009,
    "total": 71856830
   }
  ]
 }
}