{
 "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 Bethlehem, including department detail.",
  "town_scope_note": "`function_totals` covers Bethlehem 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 Bethlehem: 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": "Bethlehem",
 "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": 343811,
    "benefits": 101513,
    "other": 359957,
    "total": 805281
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 343811,
    "benefits": 101513,
    "other": 359957,
    "total": 805281
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 21301,
    "benefits": 54888,
    "other": 388274,
    "total": 464463
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 8248,
    "benefits": 0,
    "other": 182165,
    "total": 190413
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 13053,
    "benefits": 54888,
    "other": 143663,
    "total": 211604
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 62446,
    "total": 62446
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 271440,
    "benefits": 0,
    "other": 668979,
    "total": 940419
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 244828,
    "benefits": 0,
    "other": 336321,
    "total": 581149
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 26612,
    "benefits": 0,
    "other": 332658,
    "total": 359270
   },
   {
    "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": 71187,
    "benefits": 0,
    "other": 40075,
    "total": 111262
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 1336,
    "benefits": 0,
    "other": 3915,
    "total": 5251
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 69851,
    "benefits": 0,
    "other": 36160,
    "total": 106011
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 62091,
    "benefits": 0,
    "other": 67270,
    "total": 129361
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 25802,
    "benefits": 0,
    "other": 23354,
    "total": 49156
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 36289,
    "benefits": 0,
    "other": 43916,
    "total": 80205
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 8140223,
    "total": 8140223
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 8140223,
    "total": 8140223
   },
   {
    "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": 30157,
    "benefits": 0,
    "other": 41401,
    "total": 71558
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 30157,
    "benefits": 0,
    "other": 41401,
    "total": 71558
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 799987,
    "benefits": 156401,
    "other": 9706179,
    "total": 10662567
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 391105,
    "benefits": 124198,
    "other": 282949,
    "total": 798252
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 391105,
    "benefits": 124198,
    "other": 282949,
    "total": 798252
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 33903,
    "benefits": 71814,
    "other": 357656,
    "total": 463373
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3260,
    "benefits": 0,
    "other": 173075,
    "total": 176335
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 14367,
    "benefits": 0,
    "other": 134041,
    "total": 148408
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 16276,
    "benefits": 71814,
    "other": 50540,
    "total": 138630
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 280120,
    "benefits": 0,
    "other": 716255,
    "total": 996375
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 253854,
    "benefits": 0,
    "other": 291862,
    "total": 545716
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 26266,
    "benefits": 0,
    "other": 380823,
    "total": 407089
   },
   {
    "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": 43570,
    "total": 43570
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 65797,
    "benefits": 0,
    "other": 38035,
    "total": 103832
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 668,
    "benefits": 0,
    "other": 0,
    "total": 668
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 65129,
    "benefits": 0,
    "other": 38035,
    "total": 103164
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 45300,
    "benefits": 0,
    "other": 45807,
    "total": 91107
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 45300,
    "benefits": 0,
    "other": 34954,
    "total": 80254
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 10853,
    "total": 10853
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 8514420,
    "total": 8514420
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 8514420,
    "total": 8514420
   },
   {
    "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": 32071,
    "benefits": 0,
    "other": 27542,
    "total": 59613
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 32071,
    "benefits": 0,
    "other": 27542,
    "total": 59613
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 848296,
    "benefits": 196012,
    "other": 9982664,
    "total": 11026972
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 324232,
    "benefits": 0,
    "other": 335964,
    "total": 660196
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 324232,
    "benefits": 0,
    "other": 335964,
    "total": 660196
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 24842,
    "benefits": 110115,
    "other": 355688,
    "total": 490645
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5216,
    "benefits": 0,
    "other": 177101,
    "total": 182317
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 13444,
    "benefits": 110115,
    "other": 140698,
    "total": 264257
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 6182,
    "benefits": 0,
    "other": 37889,
    "total": 44071
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 300490,
    "benefits": 0,
    "other": 626376,
    "total": 926866
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 262535,
    "benefits": 0,
    "other": 263014,
    "total": 525549
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 29954,
    "benefits": 0,
    "other": 360019,
    "total": 389973
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 8001,
    "benefits": 0,
    "other": 3343,
    "total": 11344
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 65738,
    "benefits": 0,
    "other": 42060,
    "total": 107798
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 1364,
    "benefits": 0,
    "other": 0,
    "total": 1364
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 64374,
    "benefits": 0,
    "other": 42060,
    "total": 106434
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 62764,
    "benefits": 0,
    "other": 57835,
    "total": 120599
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 62764,
    "benefits": 0,
    "other": 57835,
    "total": 120599
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 9299358,
    "total": 9299358
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 9299358,
    "total": 9299358
   },
   {
    "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": 32218,
    "benefits": 213868,
    "other": 36970,
    "total": 283056
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 32218,
    "benefits": 213868,
    "other": 36970,
    "total": 283056
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 810284,
    "benefits": 323983,
    "other": 10754251,
    "total": 11888518
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 434714,
    "benefits": 180815,
    "other": 260145,
    "total": 875674
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 434714,
    "benefits": 180815,
    "other": 260145,
    "total": 875674
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 13847,
    "benefits": 0,
    "other": 346916,
    "total": 360763
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 172284,
    "total": 172284
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 13847,
    "benefits": 0,
    "other": 141150,
    "total": 154997
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 33482,
    "total": 33482
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 248254,
    "benefits": 0,
    "other": 556482,
    "total": 804736
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 215131,
    "benefits": 0,
    "other": 128615,
    "total": 343746
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 27591,
    "benefits": 0,
    "other": 348702,
    "total": 376293
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 5532,
    "benefits": 0,
    "other": 79165,
    "total": 84697
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 73552,
    "benefits": 0,
    "other": 39680,
    "total": 113232
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 500,
    "benefits": 0,
    "other": 0,
    "total": 500
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 73052,
    "benefits": 0,
    "other": 39680,
    "total": 112732
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 68682,
    "benefits": 0,
    "other": 68384,
    "total": 137066
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 68682,
    "benefits": 0,
    "other": 68384,
    "total": 137066
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 9206327,
    "total": 9206327
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 9206327,
    "total": 9206327
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 42590,
    "total": 42590
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 42590,
    "total": 42590
   },
   {
    "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": 34594,
    "benefits": 0,
    "other": 57558,
    "total": 92152
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 34594,
    "benefits": 0,
    "other": 57558,
    "total": 92152
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 873643,
    "benefits": 180815,
    "other": 10578082,
    "total": 11632540
   }
  ]
 }
}