{
 "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 Bolton, including department detail.",
  "town_scope_note": "`function_totals` covers Bolton 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 Bolton: 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": "Bolton",
 "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": 1017545,
    "benefits": 370577,
    "other": 621672,
    "total": 2009794
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1017545,
    "benefits": 370577,
    "other": 621672,
    "total": 2009794
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 54157,
    "benefits": 19751,
    "other": 536401,
    "total": 610309
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 382450,
    "total": 382450
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 40004,
    "benefits": 14570,
    "other": 150029,
    "total": 204603
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 14153,
    "benefits": 5181,
    "other": 3922,
    "total": 23256
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 767551,
    "benefits": 279511,
    "other": 1322124,
    "total": 2369186
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 366342,
    "benefits": 133401,
    "other": 549784,
    "total": 1049527
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 2835,
    "benefits": 1052,
    "other": 485459,
    "total": 489346
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 398374,
    "benefits": 145058,
    "other": 286881,
    "total": 830313
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 132841,
    "benefits": 48407,
    "other": 48666,
    "total": 229914
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 27285,
    "total": 27285
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 132841,
    "benefits": 48407,
    "other": 21381,
    "total": 202629
   },
   {
    "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": 217403,
    "benefits": 91226,
    "other": 57873,
    "total": 366502
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 216338,
    "benefits": 78762,
    "other": 57461,
    "total": 352561
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 12061,
    "other": 0,
    "total": 12061
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 1065,
    "benefits": 403,
    "other": 412,
    "total": 1880
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9379428,
    "benefits": 5465628,
    "other": 2237700,
    "total": 17082756
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9379428,
    "benefits": 5465628,
    "other": 2237700,
    "total": 17082756
   },
   {
    "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": 611570,
    "total": 611570
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 611570,
    "total": 611570
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 38494,
    "total": 38494
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 38494,
    "total": 38494
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 170000,
    "total": 170000
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 170000,
    "total": 170000
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 11568925,
    "benefits": 6275100,
    "other": 5644500,
    "total": 23488525
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 869575,
    "benefits": 316194,
    "other": 603089,
    "total": 1788858
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 869575,
    "benefits": 316194,
    "other": 603089,
    "total": 1788858
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 74255,
    "benefits": 27036,
    "other": 542668,
    "total": 643959
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 359533,
    "total": 359533
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 58618,
    "benefits": 21336,
    "other": 179886,
    "total": 259840
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 15637,
    "benefits": 5700,
    "other": 3249,
    "total": 24586
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 821982,
    "benefits": 298939,
    "other": 1398175,
    "total": 2519096
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 375558,
    "benefits": 136568,
    "other": 580590,
    "total": 1092716
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 3081,
    "benefits": 1155,
    "other": 531225,
    "total": 535461
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 443343,
    "benefits": 161216,
    "other": 286360,
    "total": 890919
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 123512,
    "benefits": 44906,
    "other": 61618,
    "total": 230036
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 28166,
    "total": 28166
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 123512,
    "benefits": 44906,
    "other": 33452,
    "total": 201870
   },
   {
    "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": 228756,
    "benefits": 83189,
    "other": 57618,
    "total": 369563
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 227753,
    "benefits": 82803,
    "other": 57154,
    "total": 367710
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 1003,
    "benefits": 386,
    "other": 464,
    "total": 1853
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9425060,
    "benefits": 2415964,
    "other": 4549453,
    "total": 16390477
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9425060,
    "benefits": 2415964,
    "other": 4549453,
    "total": 16390477
   },
   {
    "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": 681542,
    "total": 681542
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 681542,
    "total": 681542
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 62283,
    "total": 62283
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 62283,
    "total": 62283
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 180000,
    "total": 180000
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 180000,
    "total": 180000
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 11543140,
    "benefits": 3186228,
    "other": 8136446,
    "total": 22865814
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 982877,
    "benefits": 371052,
    "other": 673273,
    "total": 2027202
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 982877,
    "benefits": 371052,
    "other": 673273,
    "total": 2027202
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 71878,
    "benefits": 27165,
    "other": 475287,
    "total": 574330
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 279481,
    "total": 279481
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 71878,
    "benefits": 27165,
    "other": 192806,
    "total": 291849
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 3000,
    "total": 3000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 831419,
    "benefits": 313838,
    "other": 1494659,
    "total": 2639916
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 396473,
    "benefits": 149661,
    "other": 605285,
    "total": 1151419
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 3471,
    "benefits": 1273,
    "other": 595151,
    "total": 599895
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 431475,
    "benefits": 162904,
    "other": 294223,
    "total": 888602
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 122613,
    "benefits": 46265,
    "other": 50257,
    "total": 219135
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 28015,
    "total": 28015
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 122613,
    "benefits": 46265,
    "other": 22242,
    "total": 191120
   },
   {
    "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": 239967,
    "benefits": 90577,
    "other": 58496,
    "total": 389040
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 238704,
    "benefits": 90068,
    "other": 57887,
    "total": 386659
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 1263,
    "benefits": 509,
    "other": 609,
    "total": 2381
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9648117,
    "benefits": 2594209,
    "other": 4918609,
    "total": 17160935
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9648117,
    "benefits": 2594209,
    "other": 4918609,
    "total": 17160935
   },
   {
    "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": 855821,
    "total": 855821
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 855821,
    "total": 855821
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 17630,
    "total": 17630
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 17630,
    "total": 17630
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 185000,
    "total": 185000
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 185000,
    "total": 185000
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 11896871,
    "benefits": 3443106,
    "other": 8729032,
    "total": 24069009
   }
  ]
 }
}