{
 "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 West Hartford, including department detail.",
  "town_scope_note": "`function_totals` covers West Hartford 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 West Hartford: 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": "West Hartford",
 "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": 5093217,
    "benefits": 367117,
    "other": 1790347,
    "total": 7250681
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5093217,
    "benefits": 367117,
    "other": 1790347,
    "total": 7250681
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 27389773,
    "benefits": 546381,
    "other": 2335569,
    "total": 30271723
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 13320280,
    "benefits": 232408,
    "other": 658402,
    "total": 14211090
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 11224009,
    "benefits": 194097,
    "other": 985035,
    "total": 12403141
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 2845484,
    "benefits": 119876,
    "other": 692132,
    "total": 3657492
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 6248200,
    "benefits": 537773,
    "other": 6672873,
    "total": 13458846
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 4243644,
    "benefits": 394348,
    "other": 1289178,
    "total": 5927170
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 59174,
    "benefits": 2764,
    "other": 3836462,
    "total": 3898400
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1945382,
    "benefits": 140661,
    "other": 1547233,
    "total": 3633276
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 721010,
    "benefits": 50032,
    "other": 597791,
    "total": 1368833
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 455634,
    "benefits": 31507,
    "other": 509844,
    "total": 996985
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 265376,
    "benefits": 18525,
    "other": 87947,
    "total": 371848
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 3511672,
    "benefits": 216295,
    "other": 885950,
    "total": 4613917
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 2331179,
    "benefits": 165148,
    "other": 594573,
    "total": 3090900
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 410439,
    "benefits": 14805,
    "other": 62692,
    "total": 487936
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 770054,
    "benefits": 36342,
    "other": 228685,
    "total": 1035081
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 110012873,
    "benefits": 64648325,
    "other": 19913802,
    "total": 194575000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 110012873,
    "benefits": 64648325,
    "other": 19913802,
    "total": 194575000
   },
   {
    "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": 152976745,
    "benefits": 66365923,
    "other": 32196332,
    "total": 251539000
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 6004000,
    "benefits": 390000,
    "other": 2300000,
    "total": 8694000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 6004000,
    "benefits": 390000,
    "other": 2300000,
    "total": 8694000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 29154000,
    "benefits": 2513000,
    "other": 695000,
    "total": 32362000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 14057000,
    "benefits": 899000,
    "other": 225000,
    "total": 15181000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 12124000,
    "benefits": 1391000,
    "other": 172000,
    "total": 13687000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 2973000,
    "benefits": 223000,
    "other": 298000,
    "total": 3494000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 6304000,
    "benefits": 522000,
    "other": 8817000,
    "total": 15643000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 4070000,
    "benefits": 369000,
    "other": 2426000,
    "total": 6865000
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 110000,
    "benefits": 4000,
    "other": 4397000,
    "total": 4511000
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2124000,
    "benefits": 149000,
    "other": 1994000,
    "total": 4267000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 819000,
    "benefits": 55000,
    "other": 828000,
    "total": 1702000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 538000,
    "benefits": 36000,
    "other": 721000,
    "total": 1295000
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 281000,
    "benefits": 19000,
    "other": 107000,
    "total": 407000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 3593000,
    "benefits": 209000,
    "other": 1130000,
    "total": 4932000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 2364000,
    "benefits": 155500,
    "other": 622000,
    "total": 3141500
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 399000,
    "benefits": 15500,
    "other": 250000,
    "total": 664500
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 830000,
    "benefits": 38000,
    "other": 258000,
    "total": 1126000
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 112737000,
    "benefits": 35262000,
    "other": 58036000,
    "total": 206035000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 112737000,
    "benefits": 35262000,
    "other": 58036000,
    "total": 206035000
   },
   {
    "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": 352710000,
    "total": 352710000
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 352710000,
    "total": 352710000
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 158611000,
    "benefits": 38951000,
    "other": 424516000,
    "total": 622078000
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 6608538,
    "benefits": 446071,
    "other": 2012783,
    "total": 9067392
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 6608538,
    "benefits": 446071,
    "other": 2012783,
    "total": 9067392
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 29797179,
    "benefits": 561707,
    "other": 3194364,
    "total": 33553250
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 14571891,
    "benefits": 237822,
    "other": 1036251,
    "total": 15845964
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 11929662,
    "benefits": 187195,
    "other": 1411380,
    "total": 13528237
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 3295626,
    "benefits": 136690,
    "other": 746733,
    "total": 4179049
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 6560959,
    "benefits": 562736,
    "other": 9455781,
    "total": 16579476
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 4184327,
    "benefits": 395387,
    "other": 1970178,
    "total": 6549892
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 62801,
    "benefits": 913,
    "other": 5073998,
    "total": 5137712
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2313831,
    "benefits": 166436,
    "other": 2411605,
    "total": 4891872
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 910913,
    "benefits": 61563,
    "other": 1578564,
    "total": 2551040
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 870219,
    "total": 870219
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 622999,
    "benefits": 42460,
    "other": 576774,
    "total": 1242233
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 287914,
    "benefits": 19103,
    "other": 131571,
    "total": 438588
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 3988517,
    "benefits": 239020,
    "other": 1141570,
    "total": 5369107
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 2573126,
    "benefits": 179200,
    "other": 635113,
    "total": 3387439
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 487888,
    "benefits": 17128,
    "other": 115315,
    "total": 620331
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 927503,
    "benefits": 42692,
    "other": 391142,
    "total": 1361337
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 117070639,
    "benefits": 32316556,
    "other": 63925805,
    "total": 213313000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 117070639,
    "benefits": 32316556,
    "other": 63925805,
    "total": 213313000
   },
   {
    "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": 36340735,
    "total": 36340735
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 36340735,
    "total": 36340735
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 164936745,
    "benefits": 34187653,
    "other": 117649602,
    "total": 316774000
   }
  ]
 }
}