{
 "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 Windham, including department detail.",
  "town_scope_note": "`function_totals` covers Windham 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 Windham: 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": "Windham",
 "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": 2230514,
    "benefits": 0,
    "other": 1015646,
    "total": 3246160
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2230514,
    "benefits": 0,
    "other": 1015646,
    "total": 3246160
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6714225,
    "benefits": 3625141,
    "other": 1644977,
    "total": 11984343
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4004519,
    "benefits": 2402312,
    "other": 539596,
    "total": 6946427
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 1866773,
    "benefits": 907127,
    "other": 517566,
    "total": 3291466
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 842933,
    "benefits": 315702,
    "other": 587815,
    "total": 1746450
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1690649,
    "benefits": 0,
    "other": 1708089,
    "total": 3398738
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 706258,
    "benefits": 0,
    "other": 282524,
    "total": 988782
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 119352,
    "benefits": 0,
    "other": 1161620,
    "total": 1280972
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 865039,
    "benefits": 0,
    "other": 263945,
    "total": 1128984
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 402758,
    "benefits": 0,
    "other": 166854,
    "total": 569612
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 115284,
    "total": 115284
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 402758,
    "benefits": 0,
    "other": 51570,
    "total": 454328
   },
   {
    "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": 736399,
    "benefits": 0,
    "other": 167985,
    "total": 904384
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 445019,
    "benefits": 0,
    "other": 92595,
    "total": 537614
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 291380,
    "benefits": 0,
    "other": 75390,
    "total": 366770
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 25594916,
    "benefits": 18091165,
    "other": 13110871,
    "total": 56796952
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 25594916,
    "benefits": 18091165,
    "other": 13110871,
    "total": 56796952
   },
   {
    "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": 2081209,
    "total": 2081209
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2081209,
    "total": 2081209
   },
   {
    "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": 2989354,
    "other": 146176,
    "total": 3135530
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 2989354,
    "other": 146176,
    "total": 3135530
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 37369461,
    "benefits": 24705660,
    "other": 20041807,
    "total": 82116928
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2156346,
    "benefits": 0,
    "other": 1134328,
    "total": 3290674
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2156346,
    "benefits": 0,
    "other": 1134328,
    "total": 3290674
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7014341,
    "benefits": 3756988,
    "other": 2017985,
    "total": 12789314
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4051771,
    "benefits": 2476155,
    "other": 814165,
    "total": 7342091
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 1859448,
    "benefits": 1020683,
    "other": 592754,
    "total": 3472885
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1103122,
    "benefits": 260150,
    "other": 611066,
    "total": 1974338
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1763823,
    "benefits": 0,
    "other": 2031828,
    "total": 3795651
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 263276,
    "total": 263276
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1467157,
    "total": 1467157
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1763823,
    "benefits": 0,
    "other": 301395,
    "total": 2065218
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 413403,
    "benefits": 0,
    "other": 166182,
    "total": 579585
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 115377,
    "total": 115377
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 364572,
    "benefits": 0,
    "other": 24295,
    "total": 388867
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 48831,
    "benefits": 0,
    "other": 26510,
    "total": 75341
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 691488,
    "benefits": 0,
    "other": 256341,
    "total": 947829
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 474326,
    "benefits": 0,
    "other": 94636,
    "total": 568962
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 217162,
    "benefits": 0,
    "other": 161705,
    "total": 378867
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 23954355,
    "benefits": 17995804,
    "other": 13078967,
    "total": 55029126
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 23954355,
    "benefits": 17995804,
    "other": 13078967,
    "total": 55029126
   },
   {
    "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": 2448245,
    "total": 2448245
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2448245,
    "total": 2448245
   },
   {
    "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": 3050127,
    "other": 146802,
    "total": 3196929
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 3050127,
    "other": 146802,
    "total": 3196929
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 35993756,
    "benefits": 24802919,
    "other": 21280678,
    "total": 82077353
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2421017,
    "benefits": 0,
    "other": 1150320,
    "total": 3571337
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2421017,
    "benefits": 0,
    "other": 1150320,
    "total": 3571337
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7387255,
    "benefits": 3905525,
    "other": 2002373,
    "total": 13295153
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4254084,
    "benefits": 2665447,
    "other": 698122,
    "total": 7617653
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 1988596,
    "benefits": 953787,
    "other": 200520,
    "total": 3142903
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1144575,
    "benefits": 286291,
    "other": 1103731,
    "total": 2534597
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1799324,
    "benefits": 0,
    "other": 1755145,
    "total": 3554469
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 217002,
    "total": 217002
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1447377,
    "total": 1447377
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1799324,
    "benefits": 0,
    "other": 90766,
    "total": 1890090
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 363315,
    "benefits": 0,
    "other": 170976,
    "total": 534291
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 114700,
    "total": 114700
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 311397,
    "benefits": 0,
    "other": 29576,
    "total": 340973
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 51918,
    "benefits": 0,
    "other": 26700,
    "total": 78618
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 830785,
    "benefits": 0,
    "other": 301603,
    "total": 1132388
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 541840,
    "benefits": 0,
    "other": 111800,
    "total": 653640
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 288945,
    "benefits": 0,
    "other": 189803,
    "total": 478748
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 25218942,
    "benefits": 17316925,
    "other": 12830338,
    "total": 55366205
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 25218942,
    "benefits": 17316925,
    "other": 12830338,
    "total": 55366205
   },
   {
    "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": 2593356,
    "total": 2593356
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 2593356,
    "total": 2593356
   },
   {
    "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": 3455256,
    "other": 177536,
    "total": 3632792
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 3455256,
    "other": 177536,
    "total": 3632792
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 38020638,
    "benefits": 24677706,
    "other": 20981647,
    "total": 83679991
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2589936,
    "benefits": 0,
    "other": 1433093,
    "total": 4023029
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2589936,
    "benefits": 0,
    "other": 1433093,
    "total": 4023029
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7671334,
    "benefits": 3692372,
    "other": 2008424,
    "total": 13372130
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4332081,
    "benefits": 2584508,
    "other": 701344,
    "total": 7617933
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 2086918,
    "benefits": 1042450,
    "other": 648976,
    "total": 3778344
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1252335,
    "benefits": 65414,
    "other": 658104,
    "total": 1975853
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1837486,
    "benefits": 0,
    "other": 2051396,
    "total": 3888882
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 6000,
    "total": 6000
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1566326,
    "total": 1566326
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1837486,
    "benefits": 0,
    "other": 479070,
    "total": 2316556
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 398439,
    "benefits": 0,
    "other": 170031,
    "total": 568470
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 114069,
    "total": 114069
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 350861,
    "benefits": 0,
    "other": 29518,
    "total": 380379
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 47578,
    "benefits": 0,
    "other": 26444,
    "total": 74022
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 948029,
    "benefits": 0,
    "other": 316976,
    "total": 1265005
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 548404,
    "benefits": 0,
    "other": 82588,
    "total": 630992
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 399625,
    "benefits": 0,
    "other": 234388,
    "total": 634013
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 56072646,
    "benefits": 0,
    "other": 0,
    "total": 56072646
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 56072646,
    "benefits": 0,
    "other": 0,
    "total": 56072646
   },
   {
    "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": 3113293,
    "total": 3113293
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 3113293,
    "total": 3113293
   },
   {
    "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": 3765579,
    "total": 3765579
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 3765579,
    "total": 3765579
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 69517870,
    "benefits": 3692372,
    "other": 12858792,
    "total": 86069034
   }
  ]
 }
}