{
 "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 Chaplin, including department detail.",
  "town_scope_note": "`function_totals` covers Chaplin 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 Chaplin: 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": "Chaplin",
 "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": 357351,
    "benefits": 25994,
    "other": 297843,
    "total": 681188
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 357351,
    "benefits": 25994,
    "other": 297843,
    "total": 681188
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 10916,
    "benefits": 27748,
    "other": 254124,
    "total": 292788
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 180880,
    "total": 180880
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 26913,
    "other": 73244,
    "total": 100157
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 10916,
    "benefits": 835,
    "other": 0,
    "total": 11751
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 196479,
    "benefits": 15031,
    "other": 356999,
    "total": 568509
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 192125,
    "benefits": 14698,
    "other": 137053,
    "total": 343876
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 4354,
    "benefits": 333,
    "other": 219946,
    "total": 224633
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 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": 39768,
    "benefits": 3042,
    "other": 46670,
    "total": 89480
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 39294,
    "benefits": 3006,
    "other": 34216,
    "total": 76516
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 474,
    "benefits": 36,
    "other": 12454,
    "total": 12964
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 2058885,
    "benefits": 590850,
    "other": 3364290,
    "total": 6014025
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 2058885,
    "benefits": 590850,
    "other": 985661,
    "total": 3635396
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 2378629,
    "total": 2378629
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 9007,
    "total": 9007
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 9007,
    "total": 9007
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 512745,
    "total": 512745
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 512745,
    "total": 512745
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 413600,
    "total": 413600
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 413600,
    "total": 413600
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2663399,
    "benefits": 662665,
    "other": 5255278,
    "total": 8581342
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 404659,
    "benefits": 30931,
    "other": 334095,
    "total": 769685
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 404659,
    "benefits": 30931,
    "other": 334095,
    "total": 769685
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 39440,
    "benefits": 2210,
    "other": 317359,
    "total": 359009
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 177255,
    "total": 177255
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 24990,
    "benefits": 1105,
    "other": 80506,
    "total": 106601
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 14450,
    "benefits": 1105,
    "other": 59598,
    "total": 75153
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 204984,
    "benefits": 15239,
    "other": 389765,
    "total": 609988
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 198712,
    "benefits": 14759,
    "other": 147298,
    "total": 360769
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 4669,
    "benefits": 357,
    "other": 229297,
    "total": 234323
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1603,
    "benefits": 123,
    "other": 13170,
    "total": 14896
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 2052,
    "benefits": 157,
    "other": 28353,
    "total": 30562
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 12825,
    "total": 12825
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 2052,
    "benefits": 157,
    "other": 15528,
    "total": 17737
   },
   {
    "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": 46557,
    "benefits": 3403,
    "other": 74787,
    "total": 124747
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 46487,
    "benefits": 3398,
    "other": 58973,
    "total": 108858
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 15707,
    "total": 15707
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 70,
    "benefits": 5,
    "other": 107,
    "total": 182
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 2056332,
    "benefits": 512163,
    "other": 3808661,
    "total": 6377156
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 2056332,
    "benefits": 512163,
    "other": 1226967,
    "total": 3795462
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 2581694,
    "total": 2581694
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 9369,
    "total": 9369
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 9369,
    "total": 9369
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 797694,
    "total": 797694
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 797694,
    "total": 797694
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 392164,
    "total": 392164
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 392164,
    "total": 392164
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2754024,
    "benefits": 564103,
    "other": 6152247,
    "total": 9470374
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 433374,
    "benefits": 33153,
    "other": 530798,
    "total": 997325
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 433374,
    "benefits": 33153,
    "other": 530798,
    "total": 997325
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 38563,
    "benefits": 2950,
    "other": 246798,
    "total": 288311
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 181919,
    "total": 181919
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 24986,
    "benefits": 1911,
    "other": 64879,
    "total": 91776
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 13577,
    "benefits": 1039,
    "other": 0,
    "total": 14616
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 198479,
    "benefits": 15184,
    "other": 367779,
    "total": 581442
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 192235,
    "benefits": 14706,
    "other": 143956,
    "total": 350897
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 4641,
    "benefits": 355,
    "other": 223823,
    "total": 228819
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1603,
    "benefits": 123,
    "other": 0,
    "total": 1726
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 2132,
    "benefits": 163,
    "other": 29991,
    "total": 32286
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 12729,
    "total": 12729
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 2132,
    "benefits": 163,
    "other": 17262,
    "total": 19557
   },
   {
    "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": 43686,
    "benefits": 3342,
    "other": 62247,
    "total": 109275
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 43524,
    "benefits": 3330,
    "other": 46876,
    "total": 93730
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 15243,
    "total": 15243
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 162,
    "benefits": 12,
    "other": 128,
    "total": 302
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 2064748,
    "benefits": 401860,
    "other": 4148113,
    "total": 6614721
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 2064748,
    "benefits": 401860,
    "other": 1362717,
    "total": 3829325
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 2785396,
    "total": 2785396
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 13741,
    "total": 13741
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 13741,
    "total": 13741
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 2620,
    "total": 2620
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 2620,
    "total": 2620
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 338910,
    "total": 338910
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 338910,
    "total": 338910
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2780982,
    "benefits": 456652,
    "other": 5740997,
    "total": 8978631
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 379996,
    "benefits": 29070,
    "other": 663354,
    "total": 1072420
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 379996,
    "benefits": 29070,
    "other": 663354,
    "total": 1072420
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 40030,
    "benefits": 3063,
    "other": 306605,
    "total": 349698
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 163108,
    "total": 163108
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 24700,
    "benefits": 1890,
    "other": 82609,
    "total": 109199
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 15330,
    "benefits": 1173,
    "other": 60888,
    "total": 77391
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 177801,
    "benefits": 13602,
    "other": 416938,
    "total": 608341
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 171492,
    "benefits": 13119,
    "other": 166054,
    "total": 350665
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 4575,
    "benefits": 350,
    "other": 250884,
    "total": 255809
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1734,
    "benefits": 133,
    "other": 0,
    "total": 1867
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 2177,
    "benefits": 167,
    "other": 12172,
    "total": 14516
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 12172,
    "total": 12172
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 2177,
    "benefits": 167,
    "other": 0,
    "total": 2344
   },
   {
    "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": 47530,
    "benefits": 3636,
    "other": 60557,
    "total": 111723
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 47160,
    "benefits": 3608,
    "other": 44128,
    "total": 94896
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 83,
    "benefits": 6,
    "other": 16117,
    "total": 16206
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 287,
    "benefits": 22,
    "other": 312,
    "total": 621
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 2031358,
    "benefits": 468143,
    "other": 4353170,
    "total": 6852671
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 2031358,
    "benefits": 468143,
    "other": 1258676,
    "total": 3758177
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 3094494,
    "total": 3094494
   },
   {
    "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": 292206,
    "total": 292206
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 292206,
    "total": 292206
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 575276,
    "total": 575276
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 575276,
    "total": 575276
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2678892,
    "benefits": 517681,
    "other": 6680278,
    "total": 9876851
   }
  ]
 }
}