{
 "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 Bloomfield, including department detail.",
  "town_scope_note": "`function_totals` covers Bloomfield 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 Bloomfield: 2020.",
  "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": "Bloomfield",
 "years": [
  "2020",
  "2021",
  "2022",
  "2023"
 ],
 "fiscal_years": [
  "19-20",
  "20-21",
  "21-22",
  "22-23"
 ],
 "target_departments": {
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3261027,
    "benefits": 1288414,
    "other": 1291995,
    "total": 5841436
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3261027,
    "benefits": 1288414,
    "other": 1291995,
    "total": 5841436
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6206411,
    "benefits": 2541315,
    "other": 1004673,
    "total": 9752399
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6206411,
    "benefits": 2541315,
    "other": 1004673,
    "total": 9752399
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2354058,
    "benefits": 1157537,
    "other": 1657795,
    "total": 5169390
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2354058,
    "benefits": 1157537,
    "other": 1657795,
    "total": 5169390
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 1191900,
    "benefits": 454568,
    "other": 492225,
    "total": 2138693
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 322227,
    "total": 322227
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 547658,
    "benefits": 216438,
    "other": 79839,
    "total": 843935
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 644242,
    "benefits": 238130,
    "other": 90159,
    "total": 972531
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1876409,
    "benefits": 612285,
    "other": 448907,
    "total": 2937601
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1343640,
    "benefits": 465308,
    "other": 297673,
    "total": 2106621
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 532769,
    "benefits": 146977,
    "other": 151234,
    "total": 830980
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 22079586,
    "benefits": 10302047,
    "other": 17758757,
    "total": 50140390
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 22079586,
    "benefits": 10302047,
    "other": 17758757,
    "total": 50140390
   },
   {
    "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": 9446816,
    "total": 9446816
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 9446816,
    "total": 9446816
   },
   {
    "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": 668991,
    "benefits": 91925,
    "other": 13585227,
    "total": 14346143
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 668991,
    "benefits": 91925,
    "other": 13585227,
    "total": 14346143
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 37638382,
    "benefits": 16448091,
    "other": 45686395,
    "total": 99772868
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3519062,
    "benefits": 1263062,
    "other": 3382630,
    "total": 8164754
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3519062,
    "benefits": 1263062,
    "other": 3382630,
    "total": 8164754
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6350818,
    "benefits": 2346782,
    "other": 1363446,
    "total": 10061046
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6350818,
    "benefits": 2346782,
    "other": 1363446,
    "total": 10061046
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2493534,
    "benefits": 1196466,
    "other": 1838552,
    "total": 5528552
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2493534,
    "benefits": 1196466,
    "other": 1838552,
    "total": 5528552
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 1252265,
    "benefits": 462633,
    "other": 515644,
    "total": 2230542
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 288682,
    "total": 288682
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 558646,
    "benefits": 218329,
    "other": 102367,
    "total": 879342
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 693619,
    "benefits": 244304,
    "other": 124595,
    "total": 1062518
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 2056621,
    "benefits": 614965,
    "other": 553695,
    "total": 3225281
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1386423,
    "benefits": 456614,
    "other": 311474,
    "total": 2154511
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 670198,
    "benefits": 158351,
    "other": 242221,
    "total": 1070770
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 24651649,
    "benefits": 0,
    "other": 29313742,
    "total": 53965391
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 24651649,
    "benefits": 0,
    "other": 29313742,
    "total": 53965391
   },
   {
    "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": 7106610,
    "total": 7106610
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 7106610,
    "total": 7106610
   },
   {
    "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": 426282,
    "benefits": 67169,
    "other": 13514274,
    "total": 14007725
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 426282,
    "benefits": 67169,
    "other": 13514274,
    "total": 14007725
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 40750231,
    "benefits": 5951077,
    "other": 57588593,
    "total": 104289901
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4031256,
    "benefits": 1448429,
    "other": 15996225,
    "total": 21475910
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4031256,
    "benefits": 1448429,
    "other": 15996225,
    "total": 21475910
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6645344,
    "benefits": 2486919,
    "other": 1457494,
    "total": 10589757
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6645344,
    "benefits": 2486919,
    "other": 1457494,
    "total": 10589757
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2407077,
    "benefits": 1168626,
    "other": 1945937,
    "total": 5521640
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2407077,
    "benefits": 1168626,
    "other": 1945937,
    "total": 5521640
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 1342168,
    "benefits": 501315,
    "other": 577215,
    "total": 2420698
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 293150,
    "total": 293150
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 590762,
    "benefits": 235993,
    "other": 144257,
    "total": 971012
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 751406,
    "benefits": 265322,
    "other": 139808,
    "total": 1156536
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 2229589,
    "benefits": 665156,
    "other": 494216,
    "total": 3388961
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1498503,
    "benefits": 492469,
    "other": 310483,
    "total": 2301455
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 731086,
    "benefits": 172687,
    "other": 183733,
    "total": 1087506
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 27380743,
    "benefits": 28621497,
    "other": 0,
    "total": 56002240
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 27380743,
    "benefits": 28621497,
    "other": 0,
    "total": 56002240
   },
   {
    "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": 6807435,
    "total": 6807435
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 6807435,
    "total": 6807435
   },
   {
    "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": 44036177,
    "benefits": 34891942,
    "other": 27278522,
    "total": 106206641
   }
  ]
 }
}