{
 "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 Thomaston, including department detail.",
  "town_scope_note": "`function_totals` covers Thomaston 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 Thomaston: 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": "Thomaston",
 "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": 670711,
    "benefits": 2321039,
    "other": 703846,
    "total": 3695596
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 670711,
    "benefits": 2321039,
    "other": 703846,
    "total": 3695596
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1336436,
    "benefits": 13163,
    "other": 453239,
    "total": 1802838
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1298150,
    "benefits": 13163,
    "other": 170044,
    "total": 1481357
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 24486,
    "benefits": 0,
    "other": 189633,
    "total": 214119
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 13800,
    "benefits": 0,
    "other": 93562,
    "total": 107362
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 518921,
    "benefits": 2062,
    "other": 1376853,
    "total": 1897836
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 518921,
    "benefits": 2062,
    "other": 715412,
    "total": 1236395
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 563762,
    "total": 563762
   },
   {
    "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": 97679,
    "total": 97679
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 33041,
    "benefits": 0,
    "other": 63382,
    "total": 96423
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 44419,
    "total": 44419
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 19573,
    "benefits": 0,
    "other": 546,
    "total": 20119
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 13468,
    "benefits": 0,
    "other": 18417,
    "total": 31885
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 346880,
    "benefits": 400,
    "other": 129535,
    "total": 476815
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 254696,
    "benefits": 0,
    "other": 97513,
    "total": 352209
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 92184,
    "benefits": 400,
    "other": 32022,
    "total": 124606
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 8381943,
    "benefits": 4755088,
    "other": 3971269,
    "total": 17108300
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 8381943,
    "benefits": 4755088,
    "other": 3971269,
    "total": 17108300
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "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": 123472,
    "benefits": 0,
    "other": 70057,
    "total": 193529
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 123472,
    "benefits": 0,
    "other": 70057,
    "total": 193529
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 11411404,
    "benefits": 7091752,
    "other": 6768181,
    "total": 25271337
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 803932,
    "benefits": 2245104,
    "other": 795044,
    "total": 3844080
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 803932,
    "benefits": 2245104,
    "other": 795044,
    "total": 3844080
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1472399,
    "benefits": 3000,
    "other": 465171,
    "total": 1940570
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1155593,
    "benefits": 3000,
    "other": 61679,
    "total": 1220272
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 27816,
    "benefits": 0,
    "other": 187101,
    "total": 214917
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 288990,
    "benefits": 0,
    "other": 216391,
    "total": 505381
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 547000,
    "benefits": 3641,
    "other": 1377656,
    "total": 1928297
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 547000,
    "benefits": 3641,
    "other": 573162,
    "total": 1123803
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 602832,
    "total": 602832
   },
   {
    "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": 201662,
    "total": 201662
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 34345,
    "benefits": 0,
    "other": 66937,
    "total": 101282
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 51809,
    "total": 51809
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 20632,
    "benefits": 0,
    "other": 762,
    "total": 21394
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 13713,
    "benefits": 0,
    "other": 14366,
    "total": 28079
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 345929,
    "benefits": 0,
    "other": 122694,
    "total": 468623
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 237671,
    "benefits": 0,
    "other": 92611,
    "total": 330282
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 108258,
    "benefits": 0,
    "other": 27583,
    "total": 135841
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 2500,
    "total": 2500
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 8788904,
    "benefits": 4494332,
    "other": 3540282,
    "total": 16823518
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 8788904,
    "benefits": 4494332,
    "other": 3540282,
    "total": 16823518
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "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": 11992509,
    "benefits": 6746077,
    "other": 6367784,
    "total": 25106370
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 833850,
    "benefits": 2296224,
    "other": 822639,
    "total": 3952713
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 833850,
    "benefits": 2296224,
    "other": 822639,
    "total": 3952713
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1446953,
    "benefits": 15070,
    "other": 510026,
    "total": 1972049
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1128553,
    "benefits": 15070,
    "other": 91549,
    "total": 1235172
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 28900,
    "benefits": 0,
    "other": 199573,
    "total": 228473
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 289500,
    "benefits": 0,
    "other": 218904,
    "total": 508404
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 567259,
    "benefits": 7203,
    "other": 1438895,
    "total": 2013357
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 567259,
    "benefits": 7203,
    "other": 594558,
    "total": 1169020
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 636515,
    "total": 636515
   },
   {
    "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": 207822,
    "total": 207822
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 34105,
    "benefits": 0,
    "other": 66666,
    "total": 100771
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 45792,
    "total": 45792
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 20215,
    "benefits": 0,
    "other": 793,
    "total": 21008
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 13890,
    "benefits": 0,
    "other": 20081,
    "total": 33971
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 345843,
    "benefits": 0,
    "other": 127880,
    "total": 473723
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 237715,
    "benefits": 0,
    "other": 86908,
    "total": 324623
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 108128,
    "benefits": 0,
    "other": 37645,
    "total": 145773
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 3327,
    "total": 3327
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 8692885,
    "benefits": 4398475,
    "other": 4051830,
    "total": 17143190
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 8692885,
    "benefits": 4398475,
    "other": 4051830,
    "total": 17143190
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 11920895,
    "benefits": 6716972,
    "other": 7017936,
    "total": 25655803
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 923653,
    "benefits": 2487592,
    "other": 913662,
    "total": 4324907
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 923653,
    "benefits": 2487592,
    "other": 913662,
    "total": 4324907
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1644757,
    "benefits": 28256,
    "other": 554279,
    "total": 2227292
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1279759,
    "benefits": 28256,
    "other": 88133,
    "total": 1396148
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 31319,
    "benefits": 0,
    "other": 211888,
    "total": 243207
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 333679,
    "benefits": 0,
    "other": 254258,
    "total": 587937
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 598259,
    "benefits": 5211,
    "other": 1527159,
    "total": 2130629
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 598259,
    "benefits": 5211,
    "other": 657979,
    "total": 1261449
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 651152,
    "total": 651152
   },
   {
    "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": 218028,
    "total": 218028
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 33129,
    "benefits": 0,
    "other": 68020,
    "total": 101149
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 45194,
    "total": 45194
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 20537,
    "benefits": 0,
    "other": 674,
    "total": 21211
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 12592,
    "benefits": 0,
    "other": 22152,
    "total": 34744
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 285964,
    "benefits": 0,
    "other": 137534,
    "total": 423498
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 220216,
    "benefits": 0,
    "other": 94061,
    "total": 314277
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 65748,
    "benefits": 0,
    "other": 40973,
    "total": 106721
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 2500,
    "total": 2500
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9303001,
    "benefits": 3331265,
    "other": 5393008,
    "total": 18027274
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9303001,
    "benefits": 3331265,
    "other": 5393008,
    "total": 18027274
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 12788763,
    "benefits": 5852324,
    "other": 8593662,
    "total": 27234749
   }
  ]
 }
}