{
 "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 Windsor, including department detail.",
  "town_scope_note": "`function_totals` covers Windsor 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 Windsor: 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": "Windsor",
 "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": 4508305,
    "benefits": 1858506,
    "other": 8089255,
    "total": 14456066
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4508305,
    "benefits": 1858506,
    "other": 8089255,
    "total": 14456066
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3504193,
    "benefits": 1444571,
    "other": 6287577,
    "total": 11236341
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3504193,
    "benefits": 1444571,
    "other": 6287577,
    "total": 11236341
   },
   {
    "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": 2120857,
    "benefits": 874303,
    "other": 3805454,
    "total": 6800614
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2120857,
    "benefits": 874303,
    "other": 3805454,
    "total": 6800614
   },
   {
    "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": 448855,
    "benefits": 185036,
    "other": 805380,
    "total": 1439271
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 287267,
    "benefits": 118423,
    "other": 515443,
    "total": 921133
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 161588,
    "benefits": 66613,
    "other": 289937,
    "total": 518138
   },
   {
    "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": 1401318,
    "benefits": 577680,
    "other": 2514387,
    "total": 4493385
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 770725,
    "benefits": 317724,
    "other": 1382913,
    "total": 2471362
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 630593,
    "benefits": 259956,
    "other": 1131474,
    "total": 2022023
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 50916617,
    "benefits": 13125135,
    "other": 21575564,
    "total": 85617316
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 50916617,
    "benefits": 13125135,
    "other": 21575564,
    "total": 85617316
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "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": 62900145,
    "benefits": 18065231,
    "other": 43077617,
    "total": 124042993
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4747687,
    "benefits": 2141579,
    "other": 8656034,
    "total": 15545300
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4747687,
    "benefits": 2141579,
    "other": 8656034,
    "total": 15545300
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3533723,
    "benefits": 1593986,
    "other": 6442722,
    "total": 11570431
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3533723,
    "benefits": 1593986,
    "other": 6442722,
    "total": 11570431
   },
   {
    "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": 2243551,
    "benefits": 1012017,
    "other": 4090466,
    "total": 7346034
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2243551,
    "benefits": 1012017,
    "other": 4090466,
    "total": 7346034
   },
   {
    "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": 316214,
    "benefits": 142637,
    "other": 576524,
    "total": 1035375
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 202377,
    "benefits": 91288,
    "other": 368975,
    "total": 662640
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 113837,
    "benefits": 51349,
    "other": 207549,
    "total": 372735
   },
   {
    "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": 1378153,
    "benefits": 621655,
    "other": 2512664,
    "total": 4512472
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 757984,
    "benefits": 341910,
    "other": 1381965,
    "total": 2481859
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 620169,
    "benefits": 279745,
    "other": 1130699,
    "total": 2030613
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 47975326,
    "benefits": 12366937,
    "other": 20329212,
    "total": 80671475
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 47975326,
    "benefits": 12366937,
    "other": 20329212,
    "total": 80671475
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "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": 60194654,
    "benefits": 17878811,
    "other": 42607622,
    "total": 120681087
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4731998,
    "benefits": 2236019,
    "other": 8823666,
    "total": 15791683
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4731998,
    "benefits": 2236019,
    "other": 8823666,
    "total": 15791683
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3545563,
    "benefits": 1675391,
    "other": 6611345,
    "total": 11832299
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3545563,
    "benefits": 1675391,
    "other": 6611345,
    "total": 11832299
   },
   {
    "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": 2175587,
    "benefits": 1028034,
    "other": 4056776,
    "total": 7260397
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2175587,
    "benefits": 1028034,
    "other": 4056776,
    "total": 7260397
   },
   {
    "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": 342914,
    "benefits": 162038,
    "other": 639425,
    "total": 1144377
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 161170,
    "benefits": 76158,
    "other": 300530,
    "total": 537858
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 181744,
    "benefits": 85880,
    "other": 338895,
    "total": 606519
   },
   {
    "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": 1464470,
    "benefits": 692008,
    "other": 2730769,
    "total": 4887247
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 527209,
    "benefits": 249123,
    "other": 983077,
    "total": 1759409
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 937261,
    "benefits": 442885,
    "other": 1747692,
    "total": 3127838
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 50304099,
    "benefits": 12967241,
    "other": 21316013,
    "total": 84587353
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 50304099,
    "benefits": 12967241,
    "other": 21316013,
    "total": 84587353
   },
   {
    "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": 62564631,
    "benefits": 18760731,
    "other": 44177994,
    "total": 125503356
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 8082129,
    "benefits": 4153496,
    "other": 4244822,
    "total": 16480447
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 8082129,
    "benefits": 4153496,
    "other": 4244822,
    "total": 16480447
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6399486,
    "benefits": 3288767,
    "other": 3361080,
    "total": 13049333
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6399486,
    "benefits": 3288767,
    "other": 3361080,
    "total": 13049333
   },
   {
    "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": 3836987,
    "benefits": 1971870,
    "other": 2015228,
    "total": 7824085
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 3836987,
    "benefits": 1971870,
    "other": 2015228,
    "total": 7824085
   },
   {
    "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": 633329,
    "benefits": 325475,
    "other": 332631,
    "total": 1291435
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 284998,
    "benefits": 146464,
    "other": 149684,
    "total": 581146
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 348331,
    "benefits": 179011,
    "other": 182947,
    "total": 710289
   },
   {
    "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": 2604937,
    "benefits": 1338706,
    "other": 1368140,
    "total": 5311783
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 911728,
    "benefits": 468547,
    "other": 478849,
    "total": 1859124
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1693209,
    "benefits": 870159,
    "other": 889291,
    "total": 3452659
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 51826017,
    "benefits": 13359557,
    "other": 21960915,
    "total": 87146489
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 51826017,
    "benefits": 13359557,
    "other": 21960915,
    "total": 87146489
   },
   {
    "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": 73382885,
    "benefits": 24437871,
    "other": 33282816,
    "total": 131103572
   }
  ]
 }
}