{
 "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 Chester, including department detail.",
  "town_scope_note": "`function_totals` covers Chester 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 Chester: 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": "Chester",
 "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": 494312,
    "benefits": 0,
    "other": 195496,
    "total": 689808
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 494312,
    "benefits": 0,
    "other": 195496,
    "total": 689808
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 347929,
    "benefits": 0,
    "other": 640635,
    "total": 988564
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 156829,
    "benefits": 0,
    "other": 223955,
    "total": 380784
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 191100,
    "benefits": 0,
    "other": 197724,
    "total": 388824
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 218956,
    "total": 218956
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 226113,
    "benefits": 0,
    "other": 546563,
    "total": 772676
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 226113,
    "benefits": 0,
    "other": 229155,
    "total": 455268
   },
   {
    "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": 317408,
    "total": 317408
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 42633,
    "benefits": 0,
    "other": 106279,
    "total": 148912
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 57770,
    "total": 57770
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 42633,
    "benefits": 0,
    "other": 48509,
    "total": 91142
   },
   {
    "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": 222953,
    "benefits": 0,
    "other": 54370,
    "total": 277323
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 101718,
    "benefits": 0,
    "other": 30185,
    "total": 131903
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 121235,
    "benefits": 0,
    "other": 24185,
    "total": 145420
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 3060212,
    "benefits": 1544454,
    "other": 5446973,
    "total": 10051639
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 3060212,
    "benefits": 1544454,
    "other": 589730,
    "total": 5194396
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 4857243,
    "total": 4857243
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 83387,
    "total": 83387
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 83387,
    "total": 83387
   },
   {
    "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": 645192,
    "other": 105949,
    "total": 751141
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 645192,
    "other": 105949,
    "total": 751141
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 4394152,
    "benefits": 2189646,
    "other": 7179652,
    "total": 13763450
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 483471,
    "benefits": 0,
    "other": 233281,
    "total": 716752
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 483471,
    "benefits": 0,
    "other": 233281,
    "total": 716752
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 349228,
    "benefits": 0,
    "other": 590667,
    "total": 939895
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 160475,
    "benefits": 0,
    "other": 171633,
    "total": 332108
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 175946,
    "benefits": 0,
    "other": 219525,
    "total": 395471
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 12807,
    "benefits": 0,
    "other": 199509,
    "total": 212316
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 247210,
    "benefits": 0,
    "other": 612547,
    "total": 859757
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 247210,
    "benefits": 0,
    "other": 297302,
    "total": 544512
   },
   {
    "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": 315245,
    "total": 315245
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 43635,
    "benefits": 0,
    "other": 107914,
    "total": 151549
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 59908,
    "total": 59908
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 43635,
    "benefits": 0,
    "other": 48006,
    "total": 91641
   },
   {
    "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": 207064,
    "benefits": 0,
    "other": 51941,
    "total": 259005
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 105225,
    "benefits": 0,
    "other": 34197,
    "total": 139422
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 101839,
    "benefits": 0,
    "other": 17744,
    "total": 119583
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 3062460,
    "benefits": 1496775,
    "other": 5803034,
    "total": 10362269
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 3062460,
    "benefits": 1496775,
    "other": 694949,
    "total": 5254184
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 5108085,
    "total": 5108085
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 85983,
    "total": 85983
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 85983,
    "total": 85983
   },
   {
    "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": 672833,
    "other": 110514,
    "total": 783347
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 672833,
    "other": 110514,
    "total": 783347
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 4393068,
    "benefits": 2169608,
    "other": 7595881,
    "total": 14158557
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 499038,
    "benefits": 0,
    "other": 250366,
    "total": 749404
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 499038,
    "benefits": 0,
    "other": 250366,
    "total": 749404
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 273078,
    "benefits": 0,
    "other": 693742,
    "total": 966820
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 81260,
    "benefits": 0,
    "other": 283230,
    "total": 364490
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 176903,
    "benefits": 0,
    "other": 213308,
    "total": 390211
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 14915,
    "benefits": 0,
    "other": 197204,
    "total": 212119
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 249243,
    "benefits": 0,
    "other": 735676,
    "total": 984919
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 77711,
    "total": 77711
   },
   {
    "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": 249243,
    "benefits": 0,
    "other": 657965,
    "total": 907208
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 44838,
    "benefits": 0,
    "other": 113732,
    "total": 158570
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 63757,
    "total": 63757
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 44838,
    "benefits": 0,
    "other": 49975,
    "total": 94813
   },
   {
    "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": 210152,
    "benefits": 0,
    "other": 49840,
    "total": 259992
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 111800,
    "benefits": 0,
    "other": 36448,
    "total": 148248
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 98352,
    "benefits": 0,
    "other": 13392,
    "total": 111744
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 3174223,
    "benefits": 1528699,
    "other": 5875515,
    "total": 10578437
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 3174223,
    "benefits": 1528699,
    "other": 748217,
    "total": 5451139
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 5127298,
    "total": 5127298
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 82008,
    "total": 82008
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 82008,
    "total": 82008
   },
   {
    "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": 662147,
    "other": 110691,
    "total": 772838
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 662147,
    "other": 110691,
    "total": 772838
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 4450572,
    "benefits": 2190846,
    "other": 7911570,
    "total": 14552988
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 533256,
    "benefits": 0,
    "other": 326226,
    "total": 859482
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 533256,
    "benefits": 0,
    "other": 326226,
    "total": 859482
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 387325,
    "benefits": 0,
    "other": 645998,
    "total": 1033323
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 139522,
    "benefits": 0,
    "other": 199676,
    "total": 339198
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 231904,
    "benefits": 0,
    "other": 239019,
    "total": 470923
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 15899,
    "benefits": 0,
    "other": 207303,
    "total": 223202
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 311298,
    "benefits": 0,
    "other": 524402,
    "total": 835700
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 311298,
    "benefits": 0,
    "other": 229656,
    "total": 540954
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 154309,
    "total": 154309
   },
   {
    "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": 140437,
    "total": 140437
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 46967,
    "benefits": 0,
    "other": 108827,
    "total": 155794
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 63757,
    "total": 63757
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 46967,
    "benefits": 0,
    "other": 45070,
    "total": 92037
   },
   {
    "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": 242590,
    "benefits": 0,
    "other": 54777,
    "total": 297367
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 118346,
    "benefits": 0,
    "other": 36516,
    "total": 154862
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 124244,
    "benefits": 0,
    "other": 18261,
    "total": 142505
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 3406763,
    "benefits": 1575264,
    "other": 5579518,
    "total": 10561545
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 3406763,
    "benefits": 1575264,
    "other": 797559,
    "total": 5779586
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 4781959,
    "total": 4781959
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 75235,
    "total": 75235
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 75235,
    "total": 75235
   },
   {
    "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": 697864,
    "other": 389436,
    "total": 1087300
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 697864,
    "other": 389436,
    "total": 1087300
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 4928199,
    "benefits": 2273128,
    "other": 7704419,
    "total": 14905746
   }
  ]
 }
}