{
 "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 Canterbury, including department detail.",
  "town_scope_note": "`function_totals` covers Canterbury 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 Canterbury: 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": "Canterbury",
 "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": 356715,
    "benefits": 367630,
    "other": 316084,
    "total": 1040429
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 356715,
    "benefits": 367630,
    "other": 316084,
    "total": 1040429
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 124196,
    "benefits": 0,
    "other": 234810,
    "total": 359006
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4415,
    "benefits": 0,
    "other": 0,
    "total": 4415
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 5817,
    "benefits": 0,
    "other": 197198,
    "total": 203015
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 113964,
    "benefits": 0,
    "other": 37612,
    "total": 151576
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 278717,
    "benefits": 0,
    "other": 483175,
    "total": 761892
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 278717,
    "benefits": 0,
    "other": 303251,
    "total": 581968
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 179924,
    "total": 179924
   },
   {
    "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": 7742,
    "benefits": 0,
    "other": 60042,
    "total": 67784
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 7742,
    "benefits": 0,
    "other": 60042,
    "total": 67784
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 5194169,
    "benefits": 1588279,
    "other": 5915608,
    "total": 12698056
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 5194169,
    "benefits": 1588279,
    "other": 5915608,
    "total": 12698056
   },
   {
    "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": 61531,
    "total": 61531
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 61531,
    "total": 61531
   },
   {
    "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": 5961539,
    "benefits": 1955909,
    "other": 7071250,
    "total": 14988698
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 363274,
    "benefits": 385800,
    "other": 283607,
    "total": 1032681
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 363274,
    "benefits": 385800,
    "other": 283607,
    "total": 1032681
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 10817,
    "benefits": 0,
    "other": 301852,
    "total": 312669
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5000,
    "benefits": 0,
    "other": 0,
    "total": 5000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 5817,
    "benefits": 0,
    "other": 163500,
    "total": 169317
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 138352,
    "total": 138352
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 295731,
    "benefits": 0,
    "other": 588932,
    "total": 884663
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 295731,
    "benefits": 0,
    "other": 387872,
    "total": 683603
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 201060,
    "total": 201060
   },
   {
    "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": 8026,
    "benefits": 0,
    "other": 58195,
    "total": 66221
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 8026,
    "benefits": 0,
    "other": 58195,
    "total": 66221
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 12562792,
    "total": 12562792
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 12562792,
    "total": 12562792
   },
   {
    "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": 57612,
    "total": 57612
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 57612,
    "total": 57612
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 190000,
    "total": 190000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 190000,
    "total": 190000
   },
   {
    "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": 677848,
    "benefits": 385800,
    "other": 14042990,
    "total": 15106638
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 0,
    "benefits": 0,
    "other": 1134100,
    "total": 1134100
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 0,
    "benefits": 0,
    "other": 1134100,
    "total": 1134100
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 389769,
    "total": 389769
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 389769,
    "total": 389769
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 0,
    "benefits": 0,
    "other": 887471,
    "total": 887471
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 887471,
    "total": 887471
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 80276,
    "total": 80276
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 80276,
    "total": 80276
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 12354487,
    "total": 12354487
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 12354487,
    "total": 12354487
   },
   {
    "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": 56306,
    "total": 56306
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 56306,
    "total": 56306
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 14902409,
    "total": 14902409
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 0,
    "benefits": 0,
    "other": 1276162,
    "total": 1276162
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 0,
    "benefits": 0,
    "other": 1276162,
    "total": 1276162
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 490674,
    "total": 490674
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 490674,
    "total": 490674
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 0,
    "benefits": 0,
    "other": 1025579,
    "total": 1025579
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 1025579,
    "total": 1025579
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 81551,
    "total": 81551
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 81551,
    "total": 81551
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 155546,
    "total": 155546
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 155546,
    "total": 155546
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 12982841,
    "total": 12982841
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 12982841,
    "total": 12982841
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 16012353,
    "total": 16012353
   }
  ]
 }
}