{
 "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 Wilton, including department detail.",
  "town_scope_note": "`function_totals` covers Wilton 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 Wilton: 2020, 2021.",
  "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": "Wilton",
 "years": [
  "2020",
  "2021",
  "2022",
  "2023"
 ],
 "fiscal_years": [
  "19-20",
  "20-21",
  "21-22",
  "22-23"
 ],
 "target_departments": {
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4200032,
    "benefits": 619323,
    "other": 1793185,
    "total": 6612540
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4200032,
    "benefits": 619323,
    "other": 1793185,
    "total": 6612540
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 10758476,
    "benefits": 1566376,
    "other": 2154949,
    "total": 14479801
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6610035,
    "benefits": 996019,
    "other": 765527,
    "total": 8371581
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 4148441,
    "benefits": 570357,
    "other": 635949,
    "total": 5354747
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 753473,
    "total": 753473
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1962696,
    "benefits": 424463,
    "other": 1154092,
    "total": 3541251
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1194631,
    "benefits": 282287,
    "other": 1123687,
    "total": 2600605
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 220893,
    "benefits": 47722,
    "other": 0,
    "total": 268615
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 69248,
    "benefits": 26150,
    "other": 0,
    "total": 95398
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 477924,
    "benefits": 68304,
    "other": 30405,
    "total": 576633
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 793746,
    "benefits": 186406,
    "other": 1078096,
    "total": 2058248
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 397567,
    "benefits": 73872,
    "other": 15866,
    "total": 487305
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 396179,
    "benefits": 112534,
    "other": 53179,
    "total": 561892
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 1009051,
    "total": 1009051
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1125535,
    "benefits": 331787,
    "other": 2893315,
    "total": 4350637
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 2722000,
    "total": 2722000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 851511,
    "benefits": 233700,
    "other": 123166,
    "total": 1208377
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 274024,
    "benefits": 98087,
    "other": 48149,
    "total": 420260
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 56342611,
    "benefits": 11260498,
    "other": 30648366,
    "total": 98251475
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 56342611,
    "benefits": 11260498,
    "other": 30648366,
    "total": 98251475
   },
   {
    "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": 9769522,
    "total": 9769522
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 9769522,
    "total": 9769522
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1041416,
    "total": 1041416
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1041416,
    "total": 1041416
   },
   {
    "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": 75183096,
    "benefits": 14388853,
    "other": 50532941,
    "total": 140104890
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2726865,
    "benefits": 630105,
    "other": 2862180,
    "total": 6219150
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2726865,
    "benefits": 630105,
    "other": 2862180,
    "total": 6219150
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 10927073,
    "benefits": 1692066,
    "other": 2174580,
    "total": 14793719
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6722119,
    "benefits": 1088649,
    "other": 634512,
    "total": 8445280
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 4204954,
    "benefits": 603417,
    "other": 534568,
    "total": 5342939
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 1005500,
    "total": 1005500
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2044852,
    "benefits": 502614,
    "other": 1272173,
    "total": 3819639
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1236347,
    "benefits": 305988,
    "other": 1207300,
    "total": 2749635
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 180177,
    "benefits": 52214,
    "other": 0,
    "total": 232391
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 67872,
    "benefits": 29124,
    "other": 0,
    "total": 96996
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 560456,
    "benefits": 115288,
    "other": 64873,
    "total": 740617
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 458712,
    "benefits": 80179,
    "other": 1498958,
    "total": 2037849
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 400622,
    "benefits": 53207,
    "other": 37923,
    "total": 491752
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 58090,
    "benefits": 26972,
    "other": 522013,
    "total": 607075
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 939022,
    "total": 939022
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1232728,
    "benefits": 367135,
    "other": 3398223,
    "total": 4998086
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 2894761,
    "total": 2894761
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 945625,
    "benefits": 259144,
    "other": 370437,
    "total": 1575206
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 287103,
    "benefits": 107991,
    "other": 133025,
    "total": 528119
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 57939182,
    "benefits": 11499277,
    "other": 33146535,
    "total": 102584994
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 57939182,
    "benefits": 11499277,
    "other": 33146535,
    "total": 102584994
   },
   {
    "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": 9758415,
    "total": 9758415
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 9758415,
    "total": 9758415
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 388443,
    "total": 388443
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 388443,
    "total": 388443
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 238560,
    "benefits": 29441,
    "other": 673799,
    "total": 941800
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 238560,
    "benefits": 29441,
    "other": 673799,
    "total": 941800
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 75567972,
    "benefits": 14800817,
    "other": 55173306,
    "total": 145542095
   }
  ]
 }
}