{
 "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 Bristol, including department detail.",
  "town_scope_note": "`function_totals` covers Bristol 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 Bristol: 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": "Bristol",
 "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": 4686295,
    "benefits": 0,
    "other": 1721809,
    "total": 6408104
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4686295,
    "benefits": 0,
    "other": 1721809,
    "total": 6408104
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 25181080,
    "benefits": 0,
    "other": 1388189,
    "total": 26569269
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 16327084,
    "benefits": 0,
    "other": 944030,
    "total": 17271114
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 8270508,
    "benefits": 0,
    "other": 420786,
    "total": 8691294
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 583488,
    "benefits": 0,
    "other": 23373,
    "total": 606861
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 5302854,
    "benefits": 0,
    "other": 7971616,
    "total": 13274470
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1802193,
    "benefits": 0,
    "other": 4533759,
    "total": 6335952
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 897199,
    "benefits": 0,
    "other": 115005,
    "total": 1012204
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2603462,
    "benefits": 0,
    "other": 3322852,
    "total": 5926314
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 178857,
    "benefits": 0,
    "other": 6247372,
    "total": 6426229
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 3216455,
    "total": 3216455
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 43627,
    "benefits": 0,
    "other": 54328,
    "total": 97955
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 135230,
    "benefits": 0,
    "other": 2976589,
    "total": 3111819
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 3620827,
    "benefits": 0,
    "other": 1319128,
    "total": 4939955
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1709307,
    "benefits": 0,
    "other": 600959,
    "total": 2310266
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1911520,
    "benefits": 0,
    "other": 718169,
    "total": 2629689
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 68587789,
    "benefits": 18264426,
    "other": 32481958,
    "total": 119334173
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 68587789,
    "benefits": 18264426,
    "other": 32481958,
    "total": 119334173
   },
   {
    "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": 143226,
    "total": 143226
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 143226,
    "total": 143226
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 33829843,
    "other": 1319986,
    "total": 35149829
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 33829843,
    "other": 1319986,
    "total": 35149829
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 107557702,
    "benefits": 52094269,
    "other": 52593284,
    "total": 212245255
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4576977,
    "benefits": 1977289,
    "other": 1491597,
    "total": 8045863
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4576977,
    "benefits": 1977289,
    "other": 1491597,
    "total": 8045863
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 26609081,
    "benefits": 6942419,
    "other": 1540757,
    "total": 35092257
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 17117842,
    "benefits": 4466115,
    "other": 989059,
    "total": 22573016
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 8908934,
    "benefits": 2324378,
    "other": 531580,
    "total": 11764892
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 582305,
    "benefits": 151926,
    "other": 20118,
    "total": 754349
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 5814833,
    "benefits": 2188741,
    "other": 4769036,
    "total": 12772610
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1900963,
    "benefits": 715535,
    "other": 151617,
    "total": 2768115
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 1031609,
    "benefits": 388304,
    "other": 71669,
    "total": 1491582
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2882261,
    "benefits": 1084902,
    "other": 4545750,
    "total": 8512913
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 93526,
    "benefits": 35206,
    "other": 6399121,
    "total": 6527853
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 3416455,
    "total": 3416455
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 93526,
    "benefits": 35206,
    "other": 2982666,
    "total": 3111398
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 4301957,
    "benefits": 1285224,
    "other": 1562263,
    "total": 7149444
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1743156,
    "benefits": 600929,
    "other": 612190,
    "total": 2956275
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 2558801,
    "benefits": 684295,
    "other": 950073,
    "total": 4193169
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 67839202,
    "benefits": 41783202,
    "other": 32422293,
    "total": 142044697
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 67839202,
    "benefits": 41783202,
    "other": 32422293,
    "total": 142044697
   },
   {
    "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": 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": 109235576,
    "benefits": 54212081,
    "other": 48185067,
    "total": 211632724
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4933530,
    "benefits": 1760205,
    "other": 1655188,
    "total": 8348923
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4933530,
    "benefits": 1760205,
    "other": 1655188,
    "total": 8348923
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 27248330,
    "benefits": 6803495,
    "other": 1711614,
    "total": 35763439
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 17532972,
    "benefits": 4377717,
    "other": 1137981,
    "total": 23048670
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 9074331,
    "benefits": 2265723,
    "other": 554251,
    "total": 11894305
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 641027,
    "benefits": 160055,
    "other": 19382,
    "total": 820464
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 6061838,
    "benefits": 2928894,
    "other": 2672584,
    "total": 11663316
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2058934,
    "benefits": 994814,
    "other": 179331,
    "total": 3233079
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 1081721,
    "benefits": 522654,
    "other": 117065,
    "total": 1721440
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2921183,
    "benefits": 1411426,
    "other": 2376188,
    "total": 6708797
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 99577,
    "benefits": 37215,
    "other": 6766312,
    "total": 6903104
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 3632135,
    "total": 3632135
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 99577,
    "benefits": 37215,
    "other": 3134177,
    "total": 3270969
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 4589272,
    "benefits": 1344281,
    "other": 1500844,
    "total": 7434397
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1770879,
    "benefits": 604014,
    "other": 569395,
    "total": 2944288
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 2818393,
    "benefits": 740267,
    "other": 931449,
    "total": 4490109
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 69848345,
    "benefits": 42332309,
    "other": 37001382,
    "total": 149182036
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 69848345,
    "benefits": 42332309,
    "other": 37001382,
    "total": 149182036
   },
   {
    "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": 1376142,
    "total": 1376142
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1376142,
    "total": 1376142
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1015976,
    "total": 1015976
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1015976,
    "total": 1015976
   },
   {
    "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": 112780892,
    "benefits": 55206399,
    "other": 53700042,
    "total": 221687333
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 5115049,
    "benefits": 1456191,
    "other": 1771989,
    "total": 8343229
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5115049,
    "benefits": 1456191,
    "other": 1771989,
    "total": 8343229
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 27007431,
    "benefits": 4405108,
    "other": 2461383,
    "total": 33873922
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 17625267,
    "benefits": 2874809,
    "other": 1443216,
    "total": 21943292
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 8693715,
    "benefits": 1418008,
    "other": 631149,
    "total": 10742872
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 688449,
    "benefits": 112291,
    "other": 387018,
    "total": 1187758
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 5894427,
    "benefits": 1857040,
    "other": 4658929,
    "total": 12410396
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1987570,
    "benefits": 626184,
    "other": 219594,
    "total": 2833348
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 1084848,
    "benefits": 341782,
    "other": 120113,
    "total": 1546743
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2822009,
    "benefits": 889074,
    "other": 4319222,
    "total": 8030305
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 83686,
    "benefits": 22109,
    "other": 7435296,
    "total": 7541091
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 3882135,
    "total": 3882135
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 83686,
    "benefits": 22109,
    "other": 3553161,
    "total": 3658956
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 4693673,
    "benefits": 1253850,
    "other": 1900232,
    "total": 7847755
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1809216,
    "benefits": 569906,
    "other": 582078,
    "total": 2961200
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 2884457,
    "benefits": 683944,
    "other": 1318154,
    "total": 4886555
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 71467501,
    "benefits": 42427418,
    "other": 41539770,
    "total": 155434689
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 71467501,
    "benefits": 42427418,
    "other": 41539770,
    "total": 155434689
   },
   {
    "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": 3859615,
    "total": 3859615
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 3859615,
    "total": 3859615
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 4549492,
    "total": 4549492
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 4549492,
    "total": 4549492
   },
   {
    "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": 114261767,
    "benefits": 51421716,
    "other": 68176706,
    "total": 233860189
   }
  ]
 }
}