{
 "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 Torrington, including department detail.",
  "town_scope_note": "`function_totals` covers Torrington 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 Torrington: 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": "Torrington",
 "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": 2760489,
    "benefits": 189869,
    "other": 2221239,
    "total": 5171597
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2760489,
    "benefits": 189869,
    "other": 2221239,
    "total": 5171597
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 13763491,
    "benefits": 228800,
    "other": 3569375,
    "total": 17561666
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 7319617,
    "benefits": 123680,
    "other": 1136140,
    "total": 8579437
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 6013721,
    "benefits": 74410,
    "other": 2299328,
    "total": 8387459
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 430153,
    "benefits": 30710,
    "other": 133907,
    "total": 594770
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2594707,
    "benefits": 186797,
    "other": 4216370,
    "total": 6997874
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1851180,
    "benefits": 132162,
    "other": 2624413,
    "total": 4607755
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1284170,
    "total": 1284170
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 176942,
    "total": 176942
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 743527,
    "benefits": 54635,
    "other": 130845,
    "total": 929007
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3134,
    "benefits": 255,
    "other": 2913749,
    "total": 2917138
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 3134,
    "benefits": 255,
    "other": 2913749,
    "total": 2917138
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 272307,
    "benefits": 19042,
    "other": 63598,
    "total": 354947
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 272307,
    "benefits": 19042,
    "other": 63598,
    "total": 354947
   },
   {
    "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": 9383221,
    "other": 73861603,
    "total": 83244824
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 9383221,
    "other": 73861603,
    "total": 83244824
   },
   {
    "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": 3643421,
    "total": 3643421
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 3643421,
    "total": 3643421
   },
   {
    "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": 15716575,
    "other": 2240,
    "total": 15718815
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 15716575,
    "other": 2240,
    "total": 15718815
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 19394128,
    "benefits": 25724559,
    "other": 90491595,
    "total": 135610282
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2657929,
    "benefits": 187027,
    "other": 3136416,
    "total": 5981372
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2657929,
    "benefits": 187027,
    "other": 3136416,
    "total": 5981372
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 12731816,
    "benefits": 217946,
    "other": 4855105,
    "total": 17804867
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 7890850,
    "benefits": 150110,
    "other": 1463865,
    "total": 9504825
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 4840966,
    "benefits": 67836,
    "other": 585437,
    "total": 5494239
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 2805803,
    "total": 2805803
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2795063,
    "benefits": 197907,
    "other": 4279557,
    "total": 7272527
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2795063,
    "benefits": 197907,
    "other": 2654661,
    "total": 5647631
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1446484,
    "total": 1446484
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 178412,
    "total": 178412
   },
   {
    "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": 1045,
    "benefits": 85,
    "other": 2947522,
    "total": 2948652
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 1045,
    "benefits": 85,
    "other": 2947522,
    "total": 2948652
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 199007,
    "benefits": 13574,
    "other": 100466,
    "total": 313047
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 199007,
    "benefits": 13574,
    "other": 100466,
    "total": 313047
   },
   {
    "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": 8624321,
    "other": 75549292,
    "total": 84173613
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 8624321,
    "other": 75549292,
    "total": 84173613
   },
   {
    "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": 3609186,
    "total": 3609186
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 3609186,
    "total": 3609186
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 398179,
    "total": 398179
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 398179,
    "total": 398179
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 16761656,
    "other": 1308276,
    "total": 18069932
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 16761656,
    "other": 1308276,
    "total": 18069932
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 18384860,
    "benefits": 26002516,
    "other": 96183999,
    "total": 140571375
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2601724,
    "benefits": 195027,
    "other": 1833477,
    "total": 4630228
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2601724,
    "benefits": 195027,
    "other": 1833477,
    "total": 4630228
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 13411554,
    "benefits": 218519,
    "other": 4005348,
    "total": 17635421
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 7999623,
    "benefits": 147469,
    "other": 1657384,
    "total": 9804476
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 5015812,
    "benefits": 70660,
    "other": 965796,
    "total": 6052268
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 396119,
    "benefits": 390,
    "other": 1382168,
    "total": 1778677
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2739070,
    "benefits": 192444,
    "other": 5259936,
    "total": 8191450
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2739070,
    "benefits": 192444,
    "other": 5259936,
    "total": 8191450
   },
   {
    "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": 3045875,
    "total": 3045875
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 3045875,
    "total": 3045875
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 289234,
    "benefits": 17962,
    "other": 93383,
    "total": 400579
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 289234,
    "benefits": 17962,
    "other": 93383,
    "total": 400579
   },
   {
    "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": 12189420,
    "other": 64187649,
    "total": 76377069
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 12189420,
    "other": 64187649,
    "total": 76377069
   },
   {
    "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": 4498633,
    "total": 4498633
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 4498633,
    "total": 4498633
   },
   {
    "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": 15271142,
    "other": 9072648,
    "total": 24343790
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 15271142,
    "other": 9072648,
    "total": 24343790
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 19041582,
    "benefits": 28084514,
    "other": 91996949,
    "total": 139123045
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2702519,
    "benefits": 191069,
    "other": 3186902,
    "total": 6080490
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2702519,
    "benefits": 191069,
    "other": 3186902,
    "total": 6080490
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 13985912,
    "benefits": 224784,
    "other": 4606483,
    "total": 18817179
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 8239429,
    "benefits": 150222,
    "other": 1995931,
    "total": 10385582
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 5312874,
    "benefits": 74292,
    "other": 1188652,
    "total": 6575818
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 433609,
    "benefits": 270,
    "other": 1421900,
    "total": 1855779
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3083561,
    "benefits": 204530,
    "other": 6266815,
    "total": 9554906
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 3083561,
    "benefits": 204530,
    "other": 6266815,
    "total": 9554906
   },
   {
    "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": 784,
    "benefits": 57,
    "other": 3183642,
    "total": 3184483
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 784,
    "benefits": 57,
    "other": 3183642,
    "total": 3184483
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 332623,
    "benefits": 24189,
    "other": 140280,
    "total": 497092
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 332623,
    "benefits": 24189,
    "other": 140280,
    "total": 497092
   },
   {
    "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": 13629854,
    "other": 64410915,
    "total": 78040769
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 13629854,
    "other": 64410915,
    "total": 78040769
   },
   {
    "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": 5168549,
    "total": 5168549
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5168549,
    "total": 5168549
   },
   {
    "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": 14280852,
    "other": 11534808,
    "total": 25815660
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 14280852,
    "other": 11534808,
    "total": 25815660
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 20105399,
    "benefits": 28555335,
    "other": 98498394,
    "total": 147159128
   }
  ]
 }
}