{
 "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 Milford, including department detail.",
  "town_scope_note": "`function_totals` covers Milford 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 Milford: 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": "Milford",
 "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": 5305193,
    "benefits": 18692801,
    "other": 2114621,
    "total": 26112615
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5305193,
    "benefits": 18692801,
    "other": 2114621,
    "total": 26112615
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 22871515,
    "benefits": 7103563,
    "other": 2442152,
    "total": 32417230
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 11379648,
    "benefits": 2668088,
    "other": 1258240,
    "total": 15305976
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 11256389,
    "benefits": 4435475,
    "other": 992423,
    "total": 16684287
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 235478,
    "benefits": 0,
    "other": 191489,
    "total": 426967
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 7157546,
    "benefits": 25923,
    "other": 6593404,
    "total": 13776873
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2259473,
    "benefits": 16184,
    "other": 269704,
    "total": 2545361
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 2451476,
    "benefits": 195,
    "other": 1652728,
    "total": 4104399
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2446597,
    "benefits": 9544,
    "other": 4670972,
    "total": 7127113
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 764318,
    "benefits": 0,
    "other": 1951961,
    "total": 2716279
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 764318,
    "benefits": 0,
    "other": 496002,
    "total": 1260320
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 1370659,
    "total": 1370659
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 85300,
    "total": 85300
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1528956,
    "benefits": 515,
    "other": 438280,
    "total": 1967751
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 851493,
    "benefits": 515,
    "other": 199924,
    "total": 1051932
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 677463,
    "benefits": 0,
    "other": 87256,
    "total": 764719
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 151100,
    "total": 151100
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 68577479,
    "benefits": 27615918,
    "other": 38161855,
    "total": 134355252
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 68577479,
    "benefits": 27615918,
    "other": 38161855,
    "total": 134355252
   },
   {
    "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": 17563000,
    "total": 17563000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 17563000,
    "total": 17563000
   },
   {
    "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": 106205007,
    "benefits": 53438720,
    "other": 69265273,
    "total": 228909000
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 5927609,
    "benefits": 18285279,
    "other": 2405192,
    "total": 26618080
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5927609,
    "benefits": 18285279,
    "other": 2405192,
    "total": 26618080
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 22728106,
    "benefits": 7820953,
    "other": 2403266,
    "total": 32952325
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 11426187,
    "benefits": 3219723,
    "other": 1272115,
    "total": 15918025
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 11094073,
    "benefits": 4601230,
    "other": 908978,
    "total": 16604281
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 207846,
    "benefits": 0,
    "other": 222173,
    "total": 430019
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 6278200,
    "benefits": 6171,
    "other": 7706228,
    "total": 13990599
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2140814,
    "benefits": 1847,
    "other": 558839,
    "total": 2701500
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 1604071,
    "benefits": 738,
    "other": 2536593,
    "total": 4141402
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2533315,
    "benefits": 3586,
    "other": 4610796,
    "total": 7147697
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 804794,
    "benefits": 173,
    "other": 1952240,
    "total": 2757207
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 804794,
    "benefits": 173,
    "other": 489147,
    "total": 1294114
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 1372793,
    "total": 1372793
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 90300,
    "total": 90300
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1489958,
    "benefits": 463,
    "other": 481293,
    "total": 1971714
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 889998,
    "benefits": 463,
    "other": 223366,
    "total": 1113827
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 599960,
    "benefits": 0,
    "other": 101777,
    "total": 701737
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 156150,
    "total": 156150
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 70473344,
    "benefits": 25284194,
    "other": 37493537,
    "total": 133251075
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 70473344,
    "benefits": 25284194,
    "other": 37493537,
    "total": 133251075
   },
   {
    "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": 16868000,
    "total": 16868000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 16868000,
    "total": 16868000
   },
   {
    "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": 107702011,
    "benefits": 51397233,
    "other": 69309756,
    "total": 228409000
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 5170506,
    "benefits": 19448764,
    "other": 2530251,
    "total": 27149521
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5170506,
    "benefits": 19448764,
    "other": 2530251,
    "total": 27149521
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 24669178,
    "benefits": 9955835,
    "other": 2325526,
    "total": 36950539
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 11875667,
    "benefits": 4206011,
    "other": 1141665,
    "total": 17223343
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 12543110,
    "benefits": 5749824,
    "other": 968763,
    "total": 19261697
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 250401,
    "benefits": 0,
    "other": 215098,
    "total": 465499
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 5987633,
    "benefits": 8866,
    "other": 7817994,
    "total": 13814493
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2175626,
    "benefits": 6089,
    "other": 503855,
    "total": 2685570
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 1462790,
    "benefits": 1623,
    "other": 2726275,
    "total": 4190688
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2349217,
    "benefits": 1154,
    "other": 4587864,
    "total": 6938235
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 812105,
    "benefits": 0,
    "other": 1958003,
    "total": 2770108
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 812105,
    "benefits": 0,
    "other": 490232,
    "total": 1302337
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 1377471,
    "total": 1377471
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 90300,
    "total": 90300
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1553475,
    "benefits": 27,
    "other": 508828,
    "total": 2062330
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 952938,
    "benefits": 27,
    "other": 216550,
    "total": 1169515
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 600537,
    "benefits": 0,
    "other": 131228,
    "total": 731765
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 161050,
    "total": 161050
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 72302818,
    "benefits": 23244408,
    "other": 39368783,
    "total": 134916009
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 72302818,
    "benefits": 23244408,
    "other": 39368783,
    "total": 134916009
   },
   {
    "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": 17764000,
    "total": 17764000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 17764000,
    "total": 17764000
   },
   {
    "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": 110495715,
    "benefits": 52657900,
    "other": 72273385,
    "total": 235427000
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4554377,
    "benefits": 23931409,
    "other": 3592918,
    "total": 32078704
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4554377,
    "benefits": 23931409,
    "other": 3592918,
    "total": 32078704
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 26390874,
    "benefits": 11591406,
    "other": 2564168,
    "total": 40546448
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 13744599,
    "benefits": 4848460,
    "other": 1242778,
    "total": 19835837
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 12374940,
    "benefits": 6742946,
    "other": 1109675,
    "total": 20227561
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 271335,
    "benefits": 0,
    "other": 211715,
    "total": 483050
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 7078871,
    "benefits": 30100,
    "other": 7941163,
    "total": 15050134
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2680168,
    "benefits": 19413,
    "other": 396772,
    "total": 3096353
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 1621950,
    "benefits": 6357,
    "other": 2772979,
    "total": 4401286
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2776753,
    "benefits": 4330,
    "other": 4771412,
    "total": 7552495
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 1032860,
    "benefits": 53,
    "other": 1951961,
    "total": 2984874
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 1032860,
    "benefits": 53,
    "other": 480571,
    "total": 1513484
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 1381390,
    "total": 1381390
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 90000,
    "total": 90000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1735593,
    "benefits": 636,
    "other": 517255,
    "total": 2253484
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1026912,
    "benefits": 636,
    "other": 225753,
    "total": 1253301
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 708681,
    "benefits": 0,
    "other": 125239,
    "total": 833920
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 166263,
    "total": 166263
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 73703424,
    "benefits": 28262835,
    "other": 42176097,
    "total": 144142356
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 73703424,
    "benefits": 28262835,
    "other": 42176097,
    "total": 144142356
   },
   {
    "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": 19628000,
    "total": 19628000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 19628000,
    "total": 19628000
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1257000,
    "total": 1257000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1257000,
    "total": 1257000
   },
   {
    "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": 114495999,
    "benefits": 63816439,
    "other": 79628562,
    "total": 257941000
   }
  ]
 }
}