{
 "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 New Haven, including department detail.",
  "town_scope_note": "`function_totals` covers New Haven 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 New Haven: 2021, 2023.",
  "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": "New Haven",
 "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": 9449361,
    "benefits": 34547,
    "other": 9487605,
    "total": 18971513
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 9449361,
    "benefits": 34547,
    "other": 9487605,
    "total": 18971513
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 74404321,
    "benefits": 2094400,
    "other": 4351292,
    "total": 80850013
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 36741823,
    "benefits": 323260,
    "other": 1793087,
    "total": 38858170
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 32173049,
    "benefits": 1759937,
    "other": 2212025,
    "total": 36145011
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 5489449,
    "benefits": 11203,
    "other": 346180,
    "total": 5846832
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 7099422,
    "benefits": 47943,
    "other": 8029362,
    "total": 15176727
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 704254,
    "benefits": 0,
    "other": 2241505,
    "total": 2945759
   },
   {
    "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": 6395168,
    "benefits": 47943,
    "other": 5787857,
    "total": 12230968
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 6143516,
    "benefits": 20750,
    "other": 3456464,
    "total": 9620730
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 3616434,
    "benefits": 20750,
    "other": 167018,
    "total": 3804202
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 419899,
    "benefits": 0,
    "other": 303192,
    "total": 723091
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 2107183,
    "benefits": 0,
    "other": 2986254,
    "total": 5093437
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 7422013,
    "benefits": 15480,
    "other": 1057419,
    "total": 8494912
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 3125298,
    "benefits": 0,
    "other": 754171,
    "total": 3879469
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 4296715,
    "benefits": 15480,
    "other": 303248,
    "total": 4615443
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 116361428,
    "benefits": 1526134,
    "other": 122094388,
    "total": 239981950
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 116361428,
    "benefits": 1526134,
    "other": 122094388,
    "total": 239981950
   },
   {
    "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": 52335987,
    "total": 52335987
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 52335987,
    "total": 52335987
   },
   {
    "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": 3774324,
    "benefits": 85201628,
    "other": 90628919,
    "total": 179604871
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 3774324,
    "benefits": 85201628,
    "other": 90628919,
    "total": 179604871
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 224654385,
    "benefits": 88940882,
    "other": 291441436,
    "total": 605036703
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 9187699,
    "benefits": 163,
    "other": 8503597,
    "total": 17691459
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 9187699,
    "benefits": 163,
    "other": 8503597,
    "total": 17691459
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 80539454,
    "benefits": 2157748,
    "other": 4643132,
    "total": 87340334
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 40913946,
    "benefits": 341671,
    "other": 2063824,
    "total": 43319441
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 34232280,
    "benefits": 1794838,
    "other": 1903961,
    "total": 37931079
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 5393228,
    "benefits": 21239,
    "other": 675347,
    "total": 6089814
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 10554418,
    "benefits": 66997,
    "other": 9109166,
    "total": 19730581
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 724377,
    "benefits": 106,
    "other": 2557802,
    "total": 3282285
   },
   {
    "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": 9830041,
    "benefits": 66891,
    "other": 6551364,
    "total": 16448296
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 5779661,
    "benefits": 9587,
    "other": 4426831,
    "total": 10216079
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 2434352,
    "benefits": 6337,
    "other": 243247,
    "total": 2683936
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 1423645,
    "benefits": 0,
    "other": 1425931,
    "total": 2849576
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 1921664,
    "benefits": 3250,
    "other": 2757653,
    "total": 4682567
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 3006888,
    "benefits": 53,
    "other": 879913,
    "total": 3886854
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 3006888,
    "benefits": 0,
    "other": 879913,
    "total": 3886801
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 53,
    "other": 0,
    "total": 53
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 110748768,
    "benefits": 1479092,
    "other": 125385628,
    "total": 237613488
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 110748768,
    "benefits": 1479092,
    "other": 125385628,
    "total": 237613488
   },
   {
    "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": 61852371,
    "total": 61852371
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 61852371,
    "total": 61852371
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1562853,
    "total": 1562853
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1562853,
    "total": 1562853
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 2112170,
    "benefits": 119222129,
    "other": 89294144,
    "total": 210628443
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 2112170,
    "benefits": 119222129,
    "other": 89294144,
    "total": 210628443
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 221929058,
    "benefits": 122935769,
    "other": 305657635,
    "total": 650522462
   }
  ]
 }
}