{
 "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 Winchester, including department detail.",
  "town_scope_note": "`function_totals` covers Winchester 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 Winchester: 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": "Winchester",
 "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": 1409547,
    "benefits": 725820,
    "other": 1929910,
    "total": 4065277
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1409547,
    "benefits": 725820,
    "other": 1929910,
    "total": 4065277
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2258981,
    "benefits": 994870,
    "other": 724807,
    "total": 3978658
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1942295,
    "benefits": 907689,
    "other": 179180,
    "total": 3029164
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 77887,
    "benefits": 30448,
    "other": 231369,
    "total": 339704
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 238799,
    "benefits": 56733,
    "other": 314258,
    "total": 609790
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1048750,
    "benefits": 339090,
    "other": 1012180,
    "total": 2400020
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1020080,
    "benefits": 337223,
    "other": 744833,
    "total": 2102136
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 202950,
    "total": 202950
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 28670,
    "benefits": 1867,
    "other": 64397,
    "total": 94934
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 347259,
    "total": 347259
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 134919,
    "total": 134919
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 29940,
    "total": 29940
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 182400,
    "total": 182400
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 170783,
    "benefits": 13024,
    "other": 341800,
    "total": 525607
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 222702,
    "total": 222702
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 170783,
    "benefits": 13024,
    "other": 119098,
    "total": 302905
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 6494444,
    "benefits": 1799757,
    "other": 13033205,
    "total": 21327406
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 6494444,
    "benefits": 1799757,
    "other": 13033205,
    "total": 21327406
   },
   {
    "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": 495817,
    "total": 495817
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 495817,
    "total": 495817
   },
   {
    "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": 11382505,
    "benefits": 3872561,
    "other": 17884978,
    "total": 33140044
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1421182,
    "benefits": 715969,
    "other": 2166787,
    "total": 4303938
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1421182,
    "benefits": 715969,
    "other": 2166787,
    "total": 4303938
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2268977,
    "benefits": 1047987,
    "other": 842597,
    "total": 4159561
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2041717,
    "benefits": 954665,
    "other": 296260,
    "total": 3292642
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 106306,
    "benefits": 47504,
    "other": 232112,
    "total": 385922
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 120954,
    "benefits": 45818,
    "other": 314225,
    "total": 480997
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 765791,
    "benefits": 312849,
    "other": 1335641,
    "total": 2414281
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 765791,
    "benefits": 312849,
    "other": 1132691,
    "total": 2211331
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 202950,
    "total": 202950
   },
   {
    "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": 29940,
    "benefits": 182550,
    "other": 133477,
    "total": 345967
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 133477,
    "total": 133477
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 29940,
    "benefits": 182550,
    "other": 0,
    "total": 212490
   },
   {
    "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": 163151,
    "benefits": 12497,
    "other": 367411,
    "total": 543059
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 229383,
    "total": 229383
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 163151,
    "benefits": 12497,
    "other": 138028,
    "total": 313676
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 6745574,
    "benefits": 1883530,
    "other": 12483811,
    "total": 21112915
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 6745574,
    "benefits": 1883530,
    "other": 12483811,
    "total": 21112915
   },
   {
    "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": 478933,
    "total": 478933
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 478933,
    "total": 478933
   },
   {
    "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": 11394615,
    "benefits": 4155382,
    "other": 17808657,
    "total": 33358654
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1629331,
    "benefits": 784713,
    "other": 2348565,
    "total": 4762609
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1629331,
    "benefits": 784713,
    "other": 2348565,
    "total": 4762609
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2333904,
    "benefits": 1056889,
    "other": 812974,
    "total": 4203767
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2119259,
    "benefits": 962115,
    "other": 214819,
    "total": 3296193
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 132439,
    "benefits": 56959,
    "other": 232306,
    "total": 421704
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 82206,
    "benefits": 37815,
    "other": 365849,
    "total": 485870
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1150536,
    "benefits": 341281,
    "other": 1055523,
    "total": 2547340
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1150536,
    "benefits": 341281,
    "other": 846485,
    "total": 2338302
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 209038,
    "total": 209038
   },
   {
    "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": 339834,
    "total": 339834
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 127494,
    "total": 127494
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 29940,
    "total": 29940
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 182400,
    "total": 182400
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 157452,
    "benefits": 12091,
    "other": 365172,
    "total": 534715
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 233971,
    "total": 233971
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 157452,
    "benefits": 12091,
    "other": 131201,
    "total": 300744
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 6836366,
    "benefits": 2092525,
    "other": 12959409,
    "total": 21888300
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 6836366,
    "benefits": 2092525,
    "other": 12959409,
    "total": 21888300
   },
   {
    "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": 462049,
    "total": 462049
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 462049,
    "total": 462049
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 12107589,
    "benefits": 4287499,
    "other": 18343526,
    "total": 34738614
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1577841,
    "benefits": 876064,
    "other": 2406011,
    "total": 4859916
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1577841,
    "benefits": 876064,
    "other": 2406011,
    "total": 4859916
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2224179,
    "benefits": 1034457,
    "other": 1049161,
    "total": 4307797
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1997043,
    "benefits": 943447,
    "other": 260613,
    "total": 3201103
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 142236,
    "benefits": 56505,
    "other": 216911,
    "total": 415652
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 84900,
    "benefits": 34505,
    "other": 571637,
    "total": 691042
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1099426,
    "benefits": 301485,
    "other": 1094598,
    "total": 2495509
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1099426,
    "benefits": 301485,
    "other": 879410,
    "total": 2280321
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 215188,
    "total": 215188
   },
   {
    "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": 149512,
    "total": 149512
   },
   {
    "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": 30539,
    "total": 30539
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 118973,
    "total": 118973
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 155739,
    "benefits": 12192,
    "other": 409813,
    "total": 577744
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 240990,
    "total": 240990
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 155739,
    "benefits": 12192,
    "other": 168823,
    "total": 336754
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 6964757,
    "benefits": 1983242,
    "other": 13072774,
    "total": 22020773
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 6964757,
    "benefits": 1983242,
    "other": 13072774,
    "total": 22020773
   },
   {
    "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": 526746,
    "total": 526746
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 526746,
    "total": 526746
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 568443,
    "total": 568443
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 568443,
    "total": 568443
   },
   {
    "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": 12021942,
    "benefits": 4207440,
    "other": 19277058,
    "total": 35506440
   }
  ]
 }
}