{
 "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 Hartland, including department detail.",
  "town_scope_note": "`function_totals` covers Hartland 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 Hartland: 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": "Hartland",
 "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": 308336,
    "benefits": 41526,
    "other": 161303,
    "total": 511165
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 308336,
    "benefits": 41526,
    "other": 161303,
    "total": 511165
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 185999,
    "total": 185999
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 158718,
    "total": 158718
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 27281,
    "total": 27281
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 245258,
    "benefits": 41527,
    "other": 533408,
    "total": 820193
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 232603,
    "benefits": 41527,
    "other": 429481,
    "total": 703611
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 12655,
    "benefits": 0,
    "other": 103927,
    "total": 116582
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3420,
    "benefits": 0,
    "other": 28511,
    "total": 31931
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 12778,
    "total": 12778
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 3420,
    "benefits": 0,
    "other": 0,
    "total": 3420
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 15733,
    "total": 15733
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 42871,
    "total": 42871
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 12225,
    "total": 12225
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 25500,
    "total": 25500
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 5146,
    "total": 5146
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1897186,
    "benefits": 424975,
    "other": 3483890,
    "total": 5806051
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1897186,
    "benefits": 424975,
    "other": 3483890,
    "total": 5806051
   },
   {
    "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": 156129,
    "total": 156129
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 156129,
    "total": 156129
   },
   {
    "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": 2454200,
    "benefits": 508028,
    "other": 4592111,
    "total": 7554339
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 204066,
    "benefits": 51760,
    "other": 38185,
    "total": 294011
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 204066,
    "benefits": 51760,
    "other": 38185,
    "total": 294011
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 5892,
    "benefits": 451,
    "other": 237281,
    "total": 243624
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 5892,
    "benefits": 451,
    "other": 166377,
    "total": 172720
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 70904,
    "total": 70904
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 236870,
    "benefits": 55345,
    "other": 460250,
    "total": 752465
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 223960,
    "benefits": 54351,
    "other": 360092,
    "total": 638403
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 12910,
    "benefits": 994,
    "other": 100158,
    "total": 114062
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 2994,
    "benefits": 229,
    "other": 27821,
    "total": 31044
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 13780,
    "total": 13780
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 2994,
    "benefits": 229,
    "other": 3781,
    "total": 7004
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 10260,
    "total": 10260
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 40427,
    "total": 40427
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 12225,
    "total": 12225
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 25500,
    "total": 25500
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 2702,
    "total": 2702
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 2021136,
    "benefits": 419580,
    "other": 3213792,
    "total": 5654508
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 2021136,
    "benefits": 419580,
    "other": 3213792,
    "total": 5654508
   },
   {
    "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": 181100,
    "total": 181100
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 181100,
    "total": 181100
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 200979,
    "total": 200979
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 200979,
    "total": 200979
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2470958,
    "benefits": 527365,
    "other": 4399835,
    "total": 7398158
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 322390,
    "benefits": 70579,
    "other": 274335,
    "total": 667304
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 322390,
    "benefits": 70579,
    "other": 274335,
    "total": 667304
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6861,
    "benefits": 525,
    "other": 203521,
    "total": 210907
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 6070,
    "benefits": 464,
    "other": 176682,
    "total": 183216
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 791,
    "benefits": 61,
    "other": 26839,
    "total": 27691
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 282402,
    "benefits": 66393,
    "other": 369806,
    "total": 718601
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 268337,
    "benefits": 65317,
    "other": 269411,
    "total": 603065
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 14065,
    "benefits": 1076,
    "other": 100395,
    "total": 115536
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 5702,
    "benefits": 274,
    "other": 40637,
    "total": 46613
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 39745,
    "total": 39745
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 5702,
    "benefits": 274,
    "other": 892,
    "total": 6868
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 39629,
    "total": 39629
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 12225,
    "total": 12225
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 27404,
    "total": 27404
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1985031,
    "benefits": 417967,
    "other": 3225661,
    "total": 5628659
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1985031,
    "benefits": 417967,
    "other": 3225661,
    "total": 5628659
   },
   {
    "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": 58839,
    "total": 58839
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 58839,
    "total": 58839
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 13200,
    "benefits": 373,
    "other": 75749,
    "total": 89322
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 13200,
    "benefits": 373,
    "other": 75749,
    "total": 89322
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2615586,
    "benefits": 556111,
    "other": 4288177,
    "total": 7459874
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 346064,
    "benefits": 68519,
    "other": 390386,
    "total": 804969
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 346064,
    "benefits": 68519,
    "other": 390386,
    "total": 804969
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7917,
    "benefits": 589,
    "other": 211728,
    "total": 220234
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 6252,
    "benefits": 465,
    "other": 186219,
    "total": 192936
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1665,
    "benefits": 124,
    "other": 25509,
    "total": 27298
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 238882,
    "benefits": 70162,
    "other": 452895,
    "total": 761939
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 224655,
    "benefits": 69104,
    "other": 342046,
    "total": 635805
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 14227,
    "benefits": 1058,
    "other": 110849,
    "total": 126134
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3982,
    "benefits": 23498,
    "other": 15164,
    "total": 42644
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 14250,
    "total": 14250
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 3982,
    "benefits": 296,
    "other": 914,
    "total": 5192
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 23202,
    "other": 0,
    "total": 23202
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 41767,
    "total": 41767
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 12225,
    "total": 12225
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 25500,
    "total": 25500
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 4042,
    "total": 4042
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1976451,
    "benefits": 398235,
    "other": 3155135,
    "total": 5529821
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1976451,
    "benefits": 398235,
    "other": 3155135,
    "total": 5529821
   },
   {
    "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": 218088,
    "total": 218088
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 218088,
    "total": 218088
   },
   {
    "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": 2573296,
    "benefits": 561003,
    "other": 4485163,
    "total": 7619462
   }
  ]
 }
}