{
 "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 Lebanon, including department detail.",
  "town_scope_note": "`function_totals` covers Lebanon 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 Lebanon: 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": "Lebanon",
 "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": 690923,
    "benefits": 290361,
    "other": 498040,
    "total": 1479324
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 690923,
    "benefits": 290361,
    "other": 498040,
    "total": 1479324
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 152237,
    "benefits": 16413,
    "other": 423772,
    "total": 592422
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 133338,
    "benefits": 14967,
    "other": 212003,
    "total": 360308
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 18899,
    "benefits": 1446,
    "other": 211769,
    "total": 232114
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 603232,
    "benefits": 302790,
    "other": 678614,
    "total": 1584636
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 561868,
    "benefits": 299626,
    "other": 532127,
    "total": 1393621
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 41364,
    "benefits": 3164,
    "other": 146487,
    "total": 191015
   },
   {
    "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": 57910,
    "benefits": 9868,
    "other": 140526,
    "total": 208304
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 57910,
    "benefits": 9868,
    "other": 140526,
    "total": 208304
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 1205,
    "total": 1205
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 1205,
    "total": 1205
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 10865283,
    "benefits": 3463513,
    "other": 4933717,
    "total": 19262513
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 10865283,
    "benefits": 3463513,
    "other": 4933717,
    "total": 19262513
   },
   {
    "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": 401660,
    "total": 401660
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 401660,
    "total": 401660
   },
   {
    "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": 12369585,
    "benefits": 4082945,
    "other": 7077534,
    "total": 23530064
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 678086,
    "benefits": 317052,
    "other": 482702,
    "total": 1477840
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 678086,
    "benefits": 317052,
    "other": 482702,
    "total": 1477840
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 193102,
    "benefits": 38742,
    "other": 415837,
    "total": 647681
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 120210,
    "benefits": 19567,
    "other": 177084,
    "total": 316861
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 200000,
    "total": 200000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 72892,
    "benefits": 19175,
    "other": 38753,
    "total": 130820
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 641808,
    "benefits": 324204,
    "other": 663996,
    "total": 1630008
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 497928,
    "benefits": 313196,
    "other": 202996,
    "total": 1014120
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 50634,
    "benefits": 3874,
    "other": 149592,
    "total": 204100
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 93246,
    "benefits": 7134,
    "other": 311408,
    "total": 411788
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 66902,
    "benefits": 19946,
    "other": 133499,
    "total": 220347
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 31724,
    "benefits": 7199,
    "other": 506,
    "total": 39429
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 35178,
    "benefits": 12747,
    "other": 132993,
    "total": 180918
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 544,
    "total": 544
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 544,
    "total": 544
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 11421150,
    "benefits": 3290159,
    "other": 10373746,
    "total": 25085055
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 11421150,
    "benefits": 3290159,
    "other": 10373746,
    "total": 25085055
   },
   {
    "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": 387220,
    "total": 387220
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 387220,
    "total": 387220
   },
   {
    "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": 13001048,
    "benefits": 3990103,
    "other": 12457544,
    "total": 29448695
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 759562,
    "benefits": 343593,
    "other": 685437,
    "total": 1788592
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 759562,
    "benefits": 343593,
    "other": 685437,
    "total": 1788592
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 187021,
    "benefits": 18382,
    "other": 424175,
    "total": 629578
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 169118,
    "benefits": 17012,
    "other": 185787,
    "total": 371917
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 229418,
    "total": 229418
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 17903,
    "benefits": 1370,
    "other": 8970,
    "total": 28243
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 696558,
    "benefits": 338386,
    "other": 490783,
    "total": 1525727
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 597125,
    "benefits": 330780,
    "other": 216903,
    "total": 1144808
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 56187,
    "benefits": 4298,
    "other": 145445,
    "total": 205930
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 776,
    "benefits": 59,
    "other": 117,
    "total": 952
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 42470,
    "benefits": 3249,
    "other": 128318,
    "total": 174037
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 31445,
    "benefits": 3626,
    "other": 99195,
    "total": 134266
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 49865,
    "total": 49865
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 31445,
    "benefits": 3626,
    "other": 676,
    "total": 35747
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 48654,
    "total": 48654
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 169468,
    "total": 169468
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 169468,
    "total": 169468
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 11419105,
    "benefits": 3746230,
    "other": 7498020,
    "total": 22663355
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 11419105,
    "benefits": 3746230,
    "other": 7498020,
    "total": 22663355
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 13093691,
    "benefits": 4450217,
    "other": 9367078,
    "total": 26910986
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 721085,
    "benefits": 654507,
    "other": 543012,
    "total": 1918604
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 721085,
    "benefits": 654507,
    "other": 543012,
    "total": 1918604
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 207616,
    "benefits": 0,
    "other": 559562,
    "total": 767178
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 190883,
    "benefits": 0,
    "other": 202522,
    "total": 393405
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 275853,
    "total": 275853
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 16733,
    "benefits": 0,
    "other": 81187,
    "total": 97920
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 712113,
    "benefits": 101071,
    "other": 684541,
    "total": 1497725
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 581633,
    "benefits": 101071,
    "other": 408562,
    "total": 1091266
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 59565,
    "benefits": 0,
    "other": 147684,
    "total": 207249
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 70915,
    "benefits": 0,
    "other": 128295,
    "total": 199210
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 37692,
    "benefits": 0,
    "other": 55632,
    "total": 93324
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 49865,
    "total": 49865
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 37692,
    "benefits": 0,
    "other": 5767,
    "total": 43459
   },
   {
    "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": 83642,
    "benefits": 3676,
    "other": 105533,
    "total": 192851
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 48048,
    "benefits": 3676,
    "other": 57362,
    "total": 109086
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 35594,
    "benefits": 0,
    "other": 48171,
    "total": 83765
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 11671091,
    "benefits": 6865972,
    "other": 5029621,
    "total": 23566684
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 11671091,
    "benefits": 6865972,
    "other": 5029621,
    "total": 23566684
   },
   {
    "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": 481859,
    "total": 481859
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 481859,
    "total": 481859
   },
   {
    "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": 13433239,
    "benefits": 7625226,
    "other": 7459760,
    "total": 28518225
   }
  ]
 }
}