{
 "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 New Britain, including department detail.",
  "town_scope_note": "`function_totals` covers New Britain 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 New Britain: 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": "New Britain",
 "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": 4165022,
    "benefits": 0,
    "other": 2187978,
    "total": 6353000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4165022,
    "benefits": 0,
    "other": 2187978,
    "total": 6353000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 30563335,
    "benefits": 8804795,
    "other": 5397870,
    "total": 44766000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 14933509,
    "benefits": 5087459,
    "other": 2791170,
    "total": 22812138
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 13394472,
    "benefits": 3717336,
    "other": 728192,
    "total": 17840000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 2235354,
    "benefits": 0,
    "other": 1878508,
    "total": 4113862
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 4993445,
    "benefits": 0,
    "other": 7340555,
    "total": 12334000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1992950,
    "benefits": 0,
    "other": 2015050,
    "total": 4008000
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 233357,
    "benefits": 0,
    "other": 3903643,
    "total": 4137000
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2767138,
    "benefits": 0,
    "other": 1421862,
    "total": 4189000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 1383533,
    "benefits": 0,
    "other": 866467,
    "total": 2250000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 853495,
    "benefits": 0,
    "other": 62931,
    "total": 916426
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 530038,
    "benefits": 0,
    "other": 387919,
    "total": 917957
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 415617,
    "total": 415617
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 2645754,
    "benefits": 0,
    "other": 4768246,
    "total": 7414000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 3125000,
    "total": 3125000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 2645754,
    "benefits": 0,
    "other": 1194579,
    "total": 3840333
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 448667,
    "total": 448667
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 150164000,
    "total": 150164000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 150164000,
    "total": 150164000
   },
   {
    "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": 24210000,
    "total": 24210000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 24210000,
    "total": 24210000
   },
   {
    "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": 43751089,
    "benefits": 8804795,
    "other": 194935116,
    "total": 247491000
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4981826,
    "benefits": 9694585,
    "other": 9498568,
    "total": 24174979
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4981826,
    "benefits": 9694585,
    "other": 9498568,
    "total": 24174979
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 30708572,
    "benefits": 12292789,
    "other": 4805085,
    "total": 47806446
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 14877576,
    "benefits": 7006039,
    "other": 3087522,
    "total": 24971137
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 14121612,
    "benefits": 5286750,
    "other": 700713,
    "total": 20109075
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1709384,
    "benefits": 0,
    "other": 1016850,
    "total": 2726234
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 5158644,
    "benefits": 0,
    "other": 9080286,
    "total": 14238930
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2059264,
    "benefits": 0,
    "other": 3413066,
    "total": 5472330
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 274796,
    "benefits": 0,
    "other": 4277795,
    "total": 4552591
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2824584,
    "benefits": 0,
    "other": 1389425,
    "total": 4214009
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 1290439,
    "benefits": 0,
    "other": 122519,
    "total": 1412958
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 794981,
    "benefits": 0,
    "other": 48871,
    "total": 843852
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 495458,
    "benefits": 0,
    "other": 73648,
    "total": 569106
   },
   {
    "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": 2596574,
    "benefits": 0,
    "other": 4748113,
    "total": 7344687
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 3025000,
    "total": 3025000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 2596574,
    "benefits": 0,
    "other": 1215520,
    "total": 3812094
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 507593,
    "total": 507593
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 150169000,
    "total": 150169000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 150169000,
    "total": 150169000
   },
   {
    "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": 17666000,
    "total": 17666000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 17666000,
    "total": 17666000
   },
   {
    "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": 44736055,
    "benefits": 21987374,
    "other": 196089571,
    "total": 262813000
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 5477761,
    "benefits": 12159403,
    "other": 6863404,
    "total": 24500568
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5477761,
    "benefits": 12159403,
    "other": 6863404,
    "total": 24500568
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 34009728,
    "benefits": 13917761,
    "other": 5400514,
    "total": 53328003
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 16356521,
    "benefits": 7851982,
    "other": 3594865,
    "total": 27803368
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 15798843,
    "benefits": 6065779,
    "other": 942406,
    "total": 22807028
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1854364,
    "benefits": 0,
    "other": 863243,
    "total": 2717607
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 5429199,
    "benefits": 0,
    "other": 9680554,
    "total": 15109753
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2092450,
    "benefits": 0,
    "other": 3720312,
    "total": 5812762
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 341235,
    "benefits": 0,
    "other": 4539306,
    "total": 4880541
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2995514,
    "benefits": 0,
    "other": 1420936,
    "total": 4416450
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 1355676,
    "benefits": 0,
    "other": 140306,
    "total": 1495982
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 828218,
    "benefits": 0,
    "other": 54018,
    "total": 882236
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 527458,
    "benefits": 0,
    "other": 86288,
    "total": 613746
   },
   {
    "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": 3016082,
    "benefits": 0,
    "other": 5098612,
    "total": 8114694
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 3105226,
    "total": 3105226
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 3016082,
    "benefits": 0,
    "other": 1521743,
    "total": 4537825
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 471643,
    "total": 471643
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 156843000,
    "total": 156843000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 156843000,
    "total": 156843000
   },
   {
    "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": 21973000,
    "total": 21973000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 21973000,
    "total": 21973000
   },
   {
    "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": 49288446,
    "benefits": 26077164,
    "other": 205999390,
    "total": 281365000
   }
  ]
 }
}