{
 "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 Willington, including department detail.",
  "town_scope_note": "`function_totals` covers Willington 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 Willington: 2020, 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": "Willington",
 "years": [
  "2020",
  "2021",
  "2022",
  "2023"
 ],
 "fiscal_years": [
  "19-20",
  "20-21",
  "21-22",
  "22-23"
 ],
 "target_departments": {
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 651721,
    "benefits": 0,
    "other": 534794,
    "total": 1186515
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 651721,
    "benefits": 0,
    "other": 534794,
    "total": 1186515
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 22983,
    "benefits": 0,
    "other": 126317,
    "total": 149300
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 22983,
    "benefits": 0,
    "other": 37423,
    "total": 60406
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 88894,
    "total": 88894
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 464527,
    "benefits": 0,
    "other": 923273,
    "total": 1387800
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 410401,
    "benefits": 0,
    "other": 723413,
    "total": 1133814
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 54126,
    "benefits": 0,
    "other": 197860,
    "total": 251986
   },
   {
    "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": 2000,
    "total": 2000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 39630,
    "total": 39630
   },
   {
    "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": 39630,
    "total": 39630
   },
   {
    "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": 125258,
    "benefits": 9789,
    "other": 68857,
    "total": 203904
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 125258,
    "benefits": 9789,
    "other": 68857,
    "total": 203904
   },
   {
    "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": 5265635,
    "benefits": 2481013,
    "other": 6629126,
    "total": 14375774
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 5265635,
    "benefits": 2481013,
    "other": 2249226,
    "total": 9995874
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 4379900,
    "total": 4379900
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 320639,
    "total": 320639
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 320639,
    "total": 320639
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 362584,
    "total": 362584
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 362584,
    "total": 362584
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 380930,
    "other": 59431,
    "total": 440361
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 380930,
    "other": 59431,
    "total": 440361
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 6530124,
    "benefits": 2871732,
    "other": 9064651,
    "total": 18466507
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 694691,
    "benefits": 0,
    "other": 602095,
    "total": 1296786
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 694691,
    "benefits": 0,
    "other": 602095,
    "total": 1296786
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 22982,
    "benefits": 0,
    "other": 122674,
    "total": 145656
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 22982,
    "benefits": 0,
    "other": 35310,
    "total": 58292
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 87364,
    "total": 87364
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 454133,
    "benefits": 0,
    "other": 999822,
    "total": 1453955
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 389710,
    "benefits": 0,
    "other": 794531,
    "total": 1184241
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 64423,
    "benefits": 0,
    "other": 203291,
    "total": 267714
   },
   {
    "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": 2000,
    "total": 2000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 39356,
    "total": 39356
   },
   {
    "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": 39356,
    "total": 39356
   },
   {
    "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": 133910,
    "benefits": 12532,
    "other": 138491,
    "total": 284933
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 133910,
    "benefits": 12532,
    "other": 138491,
    "total": 284933
   },
   {
    "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": 5097354,
    "benefits": 2696678,
    "other": 7042092,
    "total": 14836124
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 5097354,
    "benefits": 2696678,
    "other": 2582464,
    "total": 10376496
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 4459628,
    "total": 4459628
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 283577,
    "total": 283577
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 283577,
    "total": 283577
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 70041,
    "total": 70041
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 70041,
    "total": 70041
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 380744,
    "other": 57042,
    "total": 437786
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 380744,
    "other": 57042,
    "total": 437786
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 6403070,
    "benefits": 3089954,
    "other": 9355190,
    "total": 18848214
   }
  ]
 }
}