{
 "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 Waterford, including department detail.",
  "town_scope_note": "`function_totals` covers Waterford 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 Waterford: 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": "Waterford",
 "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": 2466733,
    "benefits": 8372712,
    "other": 3307415,
    "total": 14146860
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2466733,
    "benefits": 8372712,
    "other": 3307415,
    "total": 14146860
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 8026064,
    "benefits": 699970,
    "other": 1772590,
    "total": 10498624
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5327574,
    "benefits": 472303,
    "other": 506694,
    "total": 6306571
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 1754868,
    "benefits": 162339,
    "other": 1152255,
    "total": 3069462
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 943622,
    "benefits": 65328,
    "other": 113641,
    "total": 1122591
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2137383,
    "benefits": 166517,
    "other": 2013610,
    "total": 4317510
   },
   {
    "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": 2137383,
    "benefits": 166517,
    "other": 2013610,
    "total": 4317510
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 525408,
    "benefits": 36538,
    "other": 324159,
    "total": 886105
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 165912,
    "total": 165912
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 525408,
    "benefits": 36538,
    "other": 158247,
    "total": 720193
   },
   {
    "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": 1812715,
    "benefits": 132835,
    "other": 499518,
    "total": 2445068
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 822257,
    "benefits": 63781,
    "other": 120702,
    "total": 1006740
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 990458,
    "benefits": 69054,
    "other": 378816,
    "total": 1438328
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 30354697,
    "benefits": 14858729,
    "other": 11444634,
    "total": 56658060
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 30354697,
    "benefits": 14858729,
    "other": 11444634,
    "total": 56658060
   },
   {
    "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": 7500433,
    "total": 7500433
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 7500433,
    "total": 7500433
   },
   {
    "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": 45323000,
    "benefits": 24267301,
    "other": 26862359,
    "total": 96452660
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2528401,
    "benefits": 193423,
    "other": 11876237,
    "total": 14598061
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2528401,
    "benefits": 193423,
    "other": 11876237,
    "total": 14598061
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 8185903,
    "benefits": 682734,
    "other": 1914128,
    "total": 10782765
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5260997,
    "benefits": 468311,
    "other": 599220,
    "total": 6328528
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 2086871,
    "benefits": 151651,
    "other": 1193789,
    "total": 3432311
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 838035,
    "benefits": 62772,
    "other": 121119,
    "total": 1021926
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2118573,
    "benefits": 162503,
    "other": 2351554,
    "total": 4632630
   },
   {
    "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": 2118573,
    "benefits": 162503,
    "other": 2351554,
    "total": 4632630
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 515223,
    "benefits": 36538,
    "other": 288267,
    "total": 840028
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 165912,
    "total": 165912
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 515223,
    "benefits": 36538,
    "other": 122355,
    "total": 674116
   },
   {
    "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": 1744730,
    "benefits": 132835,
    "other": 508087,
    "total": 2385652
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 904040,
    "benefits": 63781,
    "other": 108442,
    "total": 1076263
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 840690,
    "benefits": 69054,
    "other": 399645,
    "total": 1309389
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 30685581,
    "benefits": 7877821,
    "other": 18340075,
    "total": 56903477
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 30685581,
    "benefits": 7877821,
    "other": 18340075,
    "total": 56903477
   },
   {
    "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": 7774937,
    "total": 7774937
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 7774937,
    "total": 7774937
   },
   {
    "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": 45778411,
    "benefits": 9085854,
    "other": 43053285,
    "total": 97917550
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 8230154,
    "benefits": 295466,
    "other": 11213885,
    "total": 19739505
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 8230154,
    "benefits": 295466,
    "other": 11213885,
    "total": 19739505
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 8140878,
    "benefits": 593398,
    "other": 1584406,
    "total": 10318682
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5246752,
    "benefits": 385882,
    "other": 478547,
    "total": 6111181
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 2043257,
    "benefits": 145772,
    "other": 1052153,
    "total": 3241182
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 850869,
    "benefits": 61744,
    "other": 53706,
    "total": 966319
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2283291,
    "benefits": 161835,
    "other": 2060550,
    "total": 4505676
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 833855,
    "benefits": 63790,
    "other": 424882,
    "total": 1322527
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 452517,
    "benefits": 34618,
    "other": 858090,
    "total": 1345225
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 996919,
    "benefits": 63427,
    "other": 777578,
    "total": 1837924
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 244343,
    "total": 244343
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 18225,
    "total": 18225
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 83836,
    "total": 83836
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 142282,
    "total": 142282
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 2341466,
    "benefits": 170961,
    "other": 444002,
    "total": 2956429
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 854953,
    "benefits": 62166,
    "other": 55110,
    "total": 972229
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1109145,
    "benefits": 81457,
    "other": 323897,
    "total": 1514499
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 377368,
    "benefits": 27338,
    "other": 64995,
    "total": 469701
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 50598702,
    "total": 50598702
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 50598702,
    "total": 50598702
   },
   {
    "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": 7934633,
    "total": 7934633
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 7934633,
    "total": 7934633
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 4184954,
    "total": 4184954
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 4184954,
    "total": 4184954
   },
   {
    "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": 20995789,
    "benefits": 1221660,
    "other": 78265475,
    "total": 100482924
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 10490038,
    "benefits": 19233338,
    "other": 0,
    "total": 29723376
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 10490038,
    "benefits": 19233338,
    "other": 0,
    "total": 29723376
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 8454995,
    "benefits": 623807,
    "other": 0,
    "total": 9078802
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5507157,
    "benefits": 413071,
    "other": 0,
    "total": 5920228
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 2129670,
    "benefits": 150110,
    "other": 0,
    "total": 2279780
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 818168,
    "benefits": 60626,
    "other": 0,
    "total": 878794
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2202870,
    "benefits": 156047,
    "other": 0,
    "total": 2358917
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 814093,
    "benefits": 62278,
    "other": 0,
    "total": 876371
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 428208,
    "benefits": 31993,
    "other": 0,
    "total": 460201
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 960569,
    "benefits": 61776,
    "other": 0,
    "total": 1022345
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 558017,
    "benefits": 42156,
    "other": 0,
    "total": 600173
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 558017,
    "benefits": 42156,
    "other": 0,
    "total": 600173
   },
   {
    "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": 1543574,
    "benefits": 111799,
    "other": 0,
    "total": 1655373
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 379724,
    "benefits": 28344,
    "other": 0,
    "total": 408068
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1163850,
    "benefits": 83455,
    "other": 0,
    "total": 1247305
   },
   {
    "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": 51804421,
    "total": 51804421
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 51804421,
    "total": 51804421
   },
   {
    "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": 7273649,
    "total": 7273649
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 7273649,
    "total": 7273649
   },
   {
    "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": 23249494,
    "benefits": 20167147,
    "other": 59078070,
    "total": 102494711
   }
  ]
 }
}