{
 "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 Shelton, including department detail.",
  "town_scope_note": "`function_totals` covers Shelton 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 Shelton: 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": "Shelton",
 "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": 3368263,
    "benefits": 0,
    "other": 6766076,
    "total": 10134339
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3368263,
    "benefits": 0,
    "other": 6766076,
    "total": 10134339
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 5796942,
    "benefits": 0,
    "other": 2046524,
    "total": 7843466
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5509424,
    "benefits": 0,
    "other": 709101,
    "total": 6218525
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 287518,
    "benefits": 0,
    "other": 660431,
    "total": 947949
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 676992,
    "total": 676992
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2032016,
    "benefits": 0,
    "other": 3771288,
    "total": 5803304
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1886826,
    "benefits": 0,
    "other": 766871,
    "total": 2653697
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 145190,
    "benefits": 0,
    "other": 2430273,
    "total": 2575463
   },
   {
    "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": 574144,
    "total": 574144
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 293569,
    "total": 293569
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 293569,
    "total": 293569
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 2161610,
    "benefits": 0,
    "other": 1094520,
    "total": 3256130
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 781654,
    "benefits": 0,
    "other": 215893,
    "total": 997547
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 985143,
    "benefits": 0,
    "other": 420120,
    "total": 1405263
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 394813,
    "benefits": 0,
    "other": 458507,
    "total": 853320
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 49297661,
    "benefits": 14789298,
    "other": 20198499,
    "total": 84285458
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 49297661,
    "benefits": 14789298,
    "other": 20198499,
    "total": 84285458
   },
   {
    "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": 9731940,
    "total": 9731940
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 9731940,
    "total": 9731940
   },
   {
    "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": 999411,
    "benefits": 4307472,
    "other": 3395043,
    "total": 8701926
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 999411,
    "benefits": 4307472,
    "other": 3395043,
    "total": 8701926
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 63655903,
    "benefits": 19096770,
    "other": 47297459,
    "total": 130050132
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2961091,
    "benefits": 1018742,
    "other": 4434146,
    "total": 8413979
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2961091,
    "benefits": 1018742,
    "other": 4434146,
    "total": 8413979
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 5926146,
    "benefits": 3243346,
    "other": 1516358,
    "total": 10685850
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5107216,
    "benefits": 2961600,
    "other": 800949,
    "total": 8869765
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 561556,
    "benefits": 193199,
    "other": 570150,
    "total": 1324905
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 257374,
    "benefits": 88547,
    "other": 145259,
    "total": 491180
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2756999,
    "benefits": 948525,
    "other": 3662378,
    "total": 7367902
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2127035,
    "benefits": 731791,
    "other": 877775,
    "total": 3736601
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 155208,
    "benefits": 53398,
    "other": 2625262,
    "total": 2833868
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 474756,
    "benefits": 163336,
    "other": 159341,
    "total": 797433
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 293158,
    "total": 293158
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 293158,
    "total": 293158
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 2009349,
    "benefits": 691301,
    "other": 871173,
    "total": 3571823
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 656691,
    "benefits": 225929,
    "other": 234324,
    "total": 1116944
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 980212,
    "benefits": 337235,
    "other": 252280,
    "total": 1569727
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 372446,
    "benefits": 128137,
    "other": 384569,
    "total": 885152
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 47390462,
    "benefits": 38180740,
    "other": 12664690,
    "total": 98235892
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 47390462,
    "benefits": 38180740,
    "other": 12664690,
    "total": 98235892
   },
   {
    "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": 8187488,
    "total": 8187488
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 8187488,
    "total": 8187488
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 513358,
    "total": 513358
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 513358,
    "total": 513358
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 1005068,
    "benefits": 345786,
    "other": 2943491,
    "total": 4294345
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 1005068,
    "benefits": 345786,
    "other": 2943491,
    "total": 4294345
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 62049115,
    "benefits": 44428440,
    "other": 35086240,
    "total": 141563795
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3216720,
    "benefits": 1142596,
    "other": 6872106,
    "total": 11231422
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3216720,
    "benefits": 1142596,
    "other": 6872106,
    "total": 11231422
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6823671,
    "benefits": 2423804,
    "other": 1432437,
    "total": 10679912
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5908808,
    "benefits": 2098840,
    "other": 742669,
    "total": 8750317
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 624228,
    "benefits": 221729,
    "other": 536712,
    "total": 1382669
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 290635,
    "benefits": 103235,
    "other": 153056,
    "total": 546926
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2986310,
    "benefits": 1060754,
    "other": 3703119,
    "total": 7750183
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2189512,
    "benefits": 777727,
    "other": 1021258,
    "total": 3988497
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 189575,
    "benefits": 67338,
    "other": 2464899,
    "total": 2721812
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 607223,
    "benefits": 215689,
    "other": 216962,
    "total": 1039874
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 295024,
    "total": 295024
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 295024,
    "total": 295024
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 2454108,
    "benefits": 871712,
    "other": 1315515,
    "total": 4641335
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 850754,
    "benefits": 302192,
    "other": 241411,
    "total": 1394357
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1150648,
    "benefits": 408716,
    "other": 579219,
    "total": 2138583
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 452706,
    "benefits": 160804,
    "other": 494885,
    "total": 1108395
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 47863926,
    "benefits": 18952938,
    "other": 16386751,
    "total": 83203615
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 47863926,
    "benefits": 18952938,
    "other": 16386751,
    "total": 83203615
   },
   {
    "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": 6304016,
    "total": 6304016
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 6304016,
    "total": 6304016
   },
   {
    "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": 795689,
    "benefits": 282633,
    "other": 3398459,
    "total": 4476781
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 795689,
    "benefits": 282633,
    "other": 3398459,
    "total": 4476781
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 64140424,
    "benefits": 24734437,
    "other": 39707427,
    "total": 128582288
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3375623,
    "benefits": 1011304,
    "other": 8528521,
    "total": 12915448
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3375623,
    "benefits": 1011304,
    "other": 8528521,
    "total": 12915448
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6919602,
    "benefits": 2073045,
    "other": 1689791,
    "total": 10682438
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5995648,
    "benefits": 1796237,
    "other": 872781,
    "total": 8664666
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 609065,
    "benefits": 182470,
    "other": 656191,
    "total": 1447726
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 314889,
    "benefits": 94338,
    "other": 160819,
    "total": 570046
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2987261,
    "benefits": 894954,
    "other": 3881980,
    "total": 7764195
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2162459,
    "benefits": 647852,
    "other": 1147488,
    "total": 3957799
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 190969,
    "benefits": 57212,
    "other": 2549112,
    "total": 2797293
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 633833,
    "benefits": 189890,
    "other": 185380,
    "total": 1009103
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 292439,
    "total": 292439
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 292439,
    "total": 292439
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 2669173,
    "benefits": 799658,
    "other": 1173427,
    "total": 4642258
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 941134,
    "benefits": 281954,
    "other": 243469,
    "total": 1466557
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1281447,
    "benefits": 383909,
    "other": 430538,
    "total": 2095894
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 446592,
    "benefits": 133795,
    "other": 499420,
    "total": 1079807
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 49314213,
    "benefits": 14596859,
    "other": 32093291,
    "total": 96004363
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 49314213,
    "benefits": 14596859,
    "other": 32093291,
    "total": 96004363
   },
   {
    "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": 6398058,
    "total": 6398058
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 6398058,
    "total": 6398058
   },
   {
    "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": 942001,
    "benefits": 282214,
    "other": 3169627,
    "total": 4393842
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 942001,
    "benefits": 282214,
    "other": 3169627,
    "total": 4393842
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 66207873,
    "benefits": 19658034,
    "other": 57227134,
    "total": 143093041
   }
  ]
 }
}