{
 "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 Bethel, including department detail.",
  "town_scope_note": "`function_totals` covers Bethel 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 Bethel: 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": "Bethel",
 "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": 1747561,
    "benefits": 5805699,
    "other": 11920395,
    "total": 19473655
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1747561,
    "benefits": 5805699,
    "other": 11920395,
    "total": 19473655
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 4703211,
    "benefits": 0,
    "other": 787394,
    "total": 5490605
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4326272,
    "benefits": 0,
    "other": 429704,
    "total": 4755976
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 319578,
    "total": 319578
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 376939,
    "benefits": 0,
    "other": 38112,
    "total": 415051
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1699451,
    "benefits": 0,
    "other": 2093852,
    "total": 3793303
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 816956,
    "benefits": 0,
    "other": 1071979,
    "total": 1888935
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 125373,
    "benefits": 0,
    "other": 71542,
    "total": 196915
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 757122,
    "benefits": 0,
    "other": 950331,
    "total": 1707453
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 291687,
    "benefits": 0,
    "other": 94222,
    "total": 385909
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 229009,
    "benefits": 0,
    "other": 70415,
    "total": 299424
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 62678,
    "benefits": 0,
    "other": 23807,
    "total": 86485
   },
   {
    "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": 1382497,
    "benefits": 0,
    "other": 1004870,
    "total": 2387367
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 584100,
    "benefits": 0,
    "other": 290799,
    "total": 874899
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 798397,
    "benefits": 0,
    "other": 714071,
    "total": 1512468
   },
   {
    "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": 46415473,
    "total": 46415473
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 46415473,
    "total": 46415473
   },
   {
    "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": 4569133,
    "total": 4569133
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 4569133,
    "total": 4569133
   },
   {
    "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": 9824407,
    "benefits": 5805699,
    "other": 66885339,
    "total": 82515445
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1773680,
    "benefits": 5736536,
    "other": 5956395,
    "total": 13466611
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1773680,
    "benefits": 5736536,
    "other": 5956395,
    "total": 13466611
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 4936374,
    "benefits": 0,
    "other": 744104,
    "total": 5680478
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4540291,
    "benefits": 0,
    "other": 393194,
    "total": 4933485
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 304570,
    "total": 304570
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 396083,
    "benefits": 0,
    "other": 46340,
    "total": 442423
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2592455,
    "benefits": 206132,
    "other": 4342485,
    "total": 7141072
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 931369,
    "benefits": 0,
    "other": 993628,
    "total": 1924997
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 135324,
    "benefits": 0,
    "other": 63367,
    "total": 198691
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 289239,
    "benefits": 206132,
    "other": 2028964,
    "total": 2524335
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1236523,
    "benefits": 0,
    "other": 1256526,
    "total": 2493049
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 486332,
    "benefits": 0,
    "other": 1044020,
    "total": 1530352
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 427763,
    "benefits": 0,
    "other": 77350,
    "total": 505113
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 58569,
    "benefits": 0,
    "other": 21265,
    "total": 79834
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 945405,
    "total": 945405
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1345628,
    "benefits": 0,
    "other": 771821,
    "total": 2117449
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 574436,
    "benefits": 0,
    "other": 241216,
    "total": 815652
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 771192,
    "benefits": 0,
    "other": 530605,
    "total": 1301797
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 32597479,
    "benefits": 8504986,
    "other": 6867342,
    "total": 47969807
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 32597479,
    "benefits": 8504986,
    "other": 6867342,
    "total": 47969807
   },
   {
    "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": 4873413,
    "total": 4873413
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 4873413,
    "total": 4873413
   },
   {
    "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": 2746514,
    "total": 2746514
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 2746514,
    "total": 2746514
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 43731948,
    "benefits": 14447654,
    "other": 27346094,
    "total": 85525696
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2081476,
    "benefits": 5677276,
    "other": 10476035,
    "total": 18234787
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2081476,
    "benefits": 5677276,
    "other": 10476035,
    "total": 18234787
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 5113249,
    "benefits": 0,
    "other": 806116,
    "total": 5919365
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4725873,
    "benefits": 0,
    "other": 441629,
    "total": 5167502
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 328106,
    "total": 328106
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 387376,
    "benefits": 0,
    "other": 36381,
    "total": 423757
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2355813,
    "benefits": 213316,
    "other": 4620322,
    "total": 7189451
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 900876,
    "benefits": 0,
    "other": 1749314,
    "total": 2650190
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 131196,
    "benefits": 0,
    "other": 54931,
    "total": 186127
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 523622,
    "benefits": 213316,
    "other": 1798344,
    "total": 2535282
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 800119,
    "benefits": 0,
    "other": 1017733,
    "total": 1817852
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 435338,
    "benefits": 0,
    "other": 80068,
    "total": 515406
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 375409,
    "benefits": 0,
    "other": 58813,
    "total": 434222
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 59929,
    "benefits": 0,
    "other": 21255,
    "total": 81184
   },
   {
    "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": 1596091,
    "benefits": 0,
    "other": 856892,
    "total": 2452983
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 615316,
    "benefits": 0,
    "other": 209841,
    "total": 825157
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 980775,
    "benefits": 0,
    "other": 647051,
    "total": 1627826
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 33282547,
    "benefits": 8750189,
    "other": 7308641,
    "total": 49341377
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 33282547,
    "benefits": 8750189,
    "other": 7308641,
    "total": 49341377
   },
   {
    "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": 6712738,
    "total": 6712738
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 6712738,
    "total": 6712738
   },
   {
    "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": 44864514,
    "benefits": 14640781,
    "other": 30860812,
    "total": 90366107
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1830689,
    "benefits": 5922916,
    "other": 12246596,
    "total": 20000201
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1830689,
    "benefits": 5922916,
    "other": 12246596,
    "total": 20000201
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 5418468,
    "benefits": 0,
    "other": 870594,
    "total": 6289062
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4980939,
    "benefits": 0,
    "other": 490429,
    "total": 5471368
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 437529,
    "benefits": 0,
    "other": 380165,
    "total": 817694
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2317505,
    "benefits": 201613,
    "other": 4707654,
    "total": 7226772
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 909255,
    "benefits": 0,
    "other": 1315574,
    "total": 2224829
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 140171,
    "benefits": 0,
    "other": 21299,
    "total": 161470
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 321487,
    "benefits": 201613,
    "other": 2321753,
    "total": 2844853
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 946592,
    "benefits": 0,
    "other": 1049028,
    "total": 1995620
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 443356,
    "benefits": 0,
    "other": 81105,
    "total": 524461
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 372644,
    "benefits": 0,
    "other": 59698,
    "total": 432342
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 70712,
    "benefits": 0,
    "other": 21407,
    "total": 92119
   },
   {
    "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": 1767583,
    "benefits": 0,
    "other": 1059118,
    "total": 2826701
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 668525,
    "benefits": 0,
    "other": 206406,
    "total": 874931
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1099058,
    "benefits": 0,
    "other": 852712,
    "total": 1951770
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 34241369,
    "benefits": 9181635,
    "other": 7741827,
    "total": 51164831
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 34241369,
    "benefits": 9181635,
    "other": 7741827,
    "total": 51164831
   },
   {
    "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": 5464869,
    "total": 5464869
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5464869,
    "total": 5464869
   },
   {
    "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": 46018970,
    "benefits": 15306164,
    "other": 32171763,
    "total": 93496897
   }
  ]
 }
}