{
 "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 East Haven, including department detail.",
  "town_scope_note": "`function_totals` covers East 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 East Haven: 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": "East Haven",
 "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": 2863847,
    "benefits": 0,
    "other": 173821,
    "total": 3037668
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2863847,
    "benefits": 0,
    "other": 173821,
    "total": 3037668
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 13069659,
    "benefits": 0,
    "other": 2365419,
    "total": 15435078
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6282202,
    "benefits": 0,
    "other": 997505,
    "total": 7279707
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 5631168,
    "benefits": 0,
    "other": 1211352,
    "total": 6842520
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1156289,
    "benefits": 0,
    "other": 156562,
    "total": 1312851
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2160965,
    "benefits": 0,
    "other": 3470853,
    "total": 5631818
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1888395,
    "benefits": 0,
    "other": 592614,
    "total": 2481009
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 2450403,
    "total": 2450403
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 272570,
    "benefits": 0,
    "other": 427836,
    "total": 700406
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 48290,
    "benefits": 0,
    "other": 483156,
    "total": 531446
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 347812,
    "total": 347812
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 48290,
    "benefits": 0,
    "other": 5506,
    "total": 53796
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 129838,
    "total": 129838
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1196446,
    "benefits": 0,
    "other": 631631,
    "total": 1828077
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 522361,
    "benefits": 0,
    "other": 343063,
    "total": 865424
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 387101,
    "benefits": 0,
    "other": 146613,
    "total": 533714
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 286984,
    "benefits": 0,
    "other": 141955,
    "total": 428939
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 26150582,
    "benefits": 8758963,
    "other": 19307577,
    "total": 54217122
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 26150582,
    "benefits": 8758963,
    "other": 19307577,
    "total": 54217122
   },
   {
    "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": 1821432,
    "total": 1821432
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1821432,
    "total": 1821432
   },
   {
    "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": 12229804,
    "other": 3899540,
    "total": 16129344
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 12229804,
    "other": 3899540,
    "total": 16129344
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 45489789,
    "benefits": 20988767,
    "other": 32153429,
    "total": 98631985
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3104190,
    "benefits": 0,
    "other": 1936669,
    "total": 5040859
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3104190,
    "benefits": 0,
    "other": 1936669,
    "total": 5040859
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 13423188,
    "benefits": 0,
    "other": 3079965,
    "total": 16503153
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6723927,
    "benefits": 0,
    "other": 1188806,
    "total": 7912733
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 5571211,
    "benefits": 0,
    "other": 1606767,
    "total": 7177978
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1128050,
    "benefits": 0,
    "other": 284392,
    "total": 1412442
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2488455,
    "benefits": 0,
    "other": 3624707,
    "total": 6113162
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2011194,
    "benefits": 0,
    "other": 379713,
    "total": 2390907
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 63478,
    "benefits": 0,
    "other": 2753511,
    "total": 2816989
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 413783,
    "benefits": 0,
    "other": 491483,
    "total": 905266
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 42349,
    "benefits": 0,
    "other": 498465,
    "total": 540814
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 356543,
    "total": 356543
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 40219,
    "benefits": 0,
    "other": 9108,
    "total": 49327
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 2130,
    "benefits": 0,
    "other": 132814,
    "total": 134944
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1079995,
    "benefits": 0,
    "other": 917891,
    "total": 1997886
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 537930,
    "benefits": 0,
    "other": 320787,
    "total": 858717
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 226652,
    "benefits": 0,
    "other": 467995,
    "total": 694647
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 315413,
    "benefits": 0,
    "other": 129109,
    "total": 444522
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 27512181,
    "benefits": 14608857,
    "other": 13567884,
    "total": 55688922
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 27512181,
    "benefits": 14608857,
    "other": 13567884,
    "total": 55688922
   },
   {
    "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": 4032970,
    "total": 4032970
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 4032970,
    "total": 4032970
   },
   {
    "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": 12836274,
    "other": 3157000,
    "total": 15993274
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 12836274,
    "other": 3157000,
    "total": 15993274
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 47650358,
    "benefits": 27445131,
    "other": 30815551,
    "total": 105911040
   }
  ]
 }
}