{
 "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 Wallingford, including department detail.",
  "town_scope_note": "`function_totals` covers Wallingford 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 Wallingford: 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": "Wallingford",
 "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": 4885000,
    "benefits": 16981000,
    "other": 5901000,
    "total": 27767000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4885000,
    "benefits": 16981000,
    "other": 5901000,
    "total": 27767000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 16036000,
    "benefits": 0,
    "other": 2493000,
    "total": 18529000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 8799000,
    "benefits": 0,
    "other": 1115000,
    "total": 9914000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 7096000,
    "benefits": 0,
    "other": 1348000,
    "total": 8444000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 141000,
    "benefits": 0,
    "other": 30000,
    "total": 171000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3372000,
    "benefits": 0,
    "other": 2642000,
    "total": 6014000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 3066000,
    "benefits": 0,
    "other": 2578000,
    "total": 5644000
   },
   {
    "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": 306000,
    "benefits": 0,
    "other": 64000,
    "total": 370000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 735000,
    "benefits": 0,
    "other": 1285000,
    "total": 2020000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 376000,
    "benefits": 0,
    "other": 23000,
    "total": 399000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 337000,
    "benefits": 0,
    "other": 1260000,
    "total": 1597000
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 22000,
    "benefits": 0,
    "other": 2000,
    "total": 24000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 634000,
    "benefits": 0,
    "other": 114000,
    "total": 748000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 634000,
    "benefits": 0,
    "other": 114000,
    "total": 748000
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 67719000,
    "benefits": 29628000,
    "other": 19923000,
    "total": 117270000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 67719000,
    "benefits": 29628000,
    "other": 19923000,
    "total": 117270000
   },
   {
    "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": 5624000,
    "total": 5624000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 5624000,
    "total": 5624000
   },
   {
    "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": 93381000,
    "benefits": 46609000,
    "other": 37982000,
    "total": 177972000
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 5258000,
    "benefits": 16568000,
    "other": 5813000,
    "total": 27639000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5258000,
    "benefits": 16568000,
    "other": 5813000,
    "total": 27639000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 16696000,
    "benefits": 0,
    "other": 2627000,
    "total": 19323000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 8818000,
    "benefits": 0,
    "other": 1479000,
    "total": 10297000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 7744000,
    "benefits": 0,
    "other": 1117000,
    "total": 8861000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 134000,
    "benefits": 0,
    "other": 31000,
    "total": 165000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3666000,
    "benefits": 0,
    "other": 2705000,
    "total": 6371000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 3278000,
    "benefits": 0,
    "other": 2652000,
    "total": 5930000
   },
   {
    "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": 388000,
    "benefits": 0,
    "other": 53000,
    "total": 441000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 756000,
    "benefits": 0,
    "other": 1269000,
    "total": 2025000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 422000,
    "benefits": 0,
    "other": 14000,
    "total": 436000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 310000,
    "benefits": 0,
    "other": 1254000,
    "total": 1564000
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 24000,
    "benefits": 0,
    "other": 1000,
    "total": 25000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 600000,
    "benefits": 0,
    "other": 109000,
    "total": 709000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 600000,
    "benefits": 0,
    "other": 109000,
    "total": 709000
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 69237000,
    "benefits": 29316000,
    "other": 21670000,
    "total": 120223000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 69237000,
    "benefits": 29316000,
    "other": 21670000,
    "total": 120223000
   },
   {
    "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": 5495000,
    "total": 5495000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 5495000,
    "total": 5495000
   },
   {
    "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": 96213000,
    "benefits": 45884000,
    "other": 39688000,
    "total": 181785000
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 5169000,
    "benefits": 16432000,
    "other": 5527000,
    "total": 27128000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5169000,
    "benefits": 16432000,
    "other": 5527000,
    "total": 27128000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 16468000,
    "benefits": 0,
    "other": 2839000,
    "total": 19307000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 8488000,
    "benefits": 0,
    "other": 1464000,
    "total": 9952000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 7847000,
    "benefits": 0,
    "other": 1339000,
    "total": 9186000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 133000,
    "benefits": 0,
    "other": 36000,
    "total": 169000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3496000,
    "benefits": 0,
    "other": 2576000,
    "total": 6072000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 3067000,
    "benefits": 0,
    "other": 2522000,
    "total": 5589000
   },
   {
    "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": 429000,
    "benefits": 0,
    "other": 54000,
    "total": 483000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 797000,
    "benefits": 0,
    "other": 1218000,
    "total": 2015000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 414000,
    "benefits": 0,
    "other": 28000,
    "total": 442000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 359000,
    "benefits": 0,
    "other": 1190000,
    "total": 1549000
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 24000,
    "benefits": 0,
    "other": 0,
    "total": 24000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 639000,
    "benefits": 0,
    "other": 234000,
    "total": 873000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 639000,
    "benefits": 0,
    "other": 234000,
    "total": 873000
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 71361000,
    "benefits": 29071000,
    "other": 22214000,
    "total": 122646000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 71361000,
    "benefits": 29071000,
    "other": 22214000,
    "total": 122646000
   },
   {
    "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": 5215000,
    "total": 5215000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5215000,
    "total": 5215000
   },
   {
    "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": 97930000,
    "benefits": 45503000,
    "other": 39823000,
    "total": 183256000
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 5071000,
    "benefits": 16792000,
    "other": 6021000,
    "total": 27884000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5071000,
    "benefits": 16792000,
    "other": 6021000,
    "total": 27884000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 17417000,
    "benefits": 0,
    "other": 3359000,
    "total": 20776000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 9099000,
    "benefits": 0,
    "other": 1805000,
    "total": 10904000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 8144000,
    "benefits": 0,
    "other": 1481000,
    "total": 9625000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 174000,
    "benefits": 0,
    "other": 73000,
    "total": 247000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3251000,
    "benefits": 0,
    "other": 3104000,
    "total": 6355000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2840000,
    "benefits": 0,
    "other": 3021000,
    "total": 5861000
   },
   {
    "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": 411000,
    "benefits": 0,
    "other": 83000,
    "total": 494000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 748000,
    "benefits": 0,
    "other": 1407000,
    "total": 2155000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 343000,
    "benefits": 0,
    "other": 38000,
    "total": 381000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 381000,
    "benefits": 0,
    "other": 1367000,
    "total": 1748000
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 24000,
    "benefits": 0,
    "other": 2000,
    "total": 26000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 700000,
    "benefits": 0,
    "other": 116000,
    "total": 816000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 700000,
    "benefits": 0,
    "other": 116000,
    "total": 816000
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 71976000,
    "benefits": 32547000,
    "other": 24827000,
    "total": 129350000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 71976000,
    "benefits": 32547000,
    "other": 24827000,
    "total": 129350000
   },
   {
    "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": 5454000,
    "total": 5454000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5454000,
    "total": 5454000
   },
   {
    "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": 99163000,
    "benefits": 49339000,
    "other": 44288000,
    "total": 192790000
   }
  ]
 }
}