{
 "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 Cornwall, including department detail.",
  "town_scope_note": "`function_totals` covers Cornwall 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 Cornwall: 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": "Cornwall",
 "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": 284872,
    "benefits": 317484,
    "other": 244661,
    "total": 847017
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 284872,
    "benefits": 317484,
    "other": 244661,
    "total": 847017
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 163600,
    "total": 163600
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 56457,
    "total": 56457
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 107143,
    "total": 107143
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 302603,
    "benefits": 0,
    "other": 366057,
    "total": 668660
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 232963,
    "benefits": 0,
    "other": 271685,
    "total": 504648
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 69640,
    "benefits": 0,
    "other": 94372,
    "total": 164012
   },
   {
    "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": 30726,
    "benefits": 0,
    "other": 23689,
    "total": 54415
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 8558,
    "total": 8558
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 30726,
    "benefits": 0,
    "other": 669,
    "total": 31395
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 14462,
    "total": 14462
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 50919,
    "benefits": 0,
    "other": 24057,
    "total": 74976
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 23546,
    "benefits": 0,
    "other": 21366,
    "total": 44912
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 27373,
    "benefits": 0,
    "other": 2691,
    "total": 30064
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1517413,
    "benefits": 430909,
    "other": 2473947,
    "total": 4422269
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1517413,
    "benefits": 430909,
    "other": 989504,
    "total": 2937826
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 1484443,
    "total": 1484443
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 354215,
    "total": 354215
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 354215,
    "total": 354215
   },
   {
    "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": 155856,
    "total": 155856
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 155856,
    "total": 155856
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2186533,
    "benefits": 748393,
    "other": 3806082,
    "total": 6741008
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 303412,
    "benefits": 103899,
    "other": 476185,
    "total": 883496
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 303412,
    "benefits": 103899,
    "other": 476185,
    "total": 883496
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 26930,
    "other": 121172,
    "total": 148102
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 26930,
    "other": 121172,
    "total": 148102
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 343253,
    "benefits": 158564,
    "other": 202182,
    "total": 703999
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 267346,
    "benefits": 91752,
    "other": 152171,
    "total": 511269
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 75907,
    "benefits": 66812,
    "other": 50011,
    "total": 192730
   },
   {
    "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": 31648,
    "benefits": 4419,
    "other": 17696,
    "total": 53763
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 7497,
    "total": 7497
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 31648,
    "benefits": 4419,
    "other": 4605,
    "total": 40672
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 5594,
    "total": 5594
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 58257,
    "benefits": 1694,
    "other": 15469,
    "total": 75420
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 24252,
    "benefits": 1694,
    "other": 12786,
    "total": 38732
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 34005,
    "benefits": 0,
    "other": 2683,
    "total": 36688
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1540255,
    "benefits": 459047,
    "other": 2477525,
    "total": 4476827
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1540255,
    "benefits": 459047,
    "other": 1112711,
    "total": 3112013
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 1364814,
    "total": 1364814
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 352352,
    "total": 352352
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 352352,
    "total": 352352
   },
   {
    "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": 153738,
    "total": 153738
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 153738,
    "total": 153738
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2276825,
    "benefits": 754553,
    "other": 3816319,
    "total": 6847697
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 269865,
    "benefits": 123628,
    "other": 473387,
    "total": 866880
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 269865,
    "benefits": 123628,
    "other": 473387,
    "total": 866880
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 25540,
    "other": 128001,
    "total": 153541
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 25540,
    "other": 50915,
    "total": 76455
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 77086,
    "total": 77086
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 344208,
    "benefits": 157686,
    "other": 225472,
    "total": 727366
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 269240,
    "benefits": 123342,
    "other": 146329,
    "total": 538911
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 74968,
    "benefits": 34344,
    "other": 79143,
    "total": 188455
   },
   {
    "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": 32597,
    "benefits": 4775,
    "other": 20285,
    "total": 57657
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 7464,
    "total": 7464
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 31438,
    "benefits": 4606,
    "other": 12821,
    "total": 48865
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 1159,
    "benefits": 169,
    "other": 0,
    "total": 1328
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 47935,
    "benefits": 5416,
    "other": 105767,
    "total": 159118
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 60000,
    "total": 60000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 24980,
    "benefits": 3660,
    "other": 45767,
    "total": 74407
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 22955,
    "benefits": 1756,
    "other": 0,
    "total": 24711
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1522178,
    "benefits": 422219,
    "other": 2328673,
    "total": 4273070
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1522178,
    "benefits": 422219,
    "other": 884250,
    "total": 2828647
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 1444423,
    "total": 1444423
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 350466,
    "total": 350466
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 350466,
    "total": 350466
   },
   {
    "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": 94216,
    "total": 94216
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 94216,
    "total": 94216
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2216783,
    "benefits": 739264,
    "other": 3726267,
    "total": 6682314
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 225257,
    "benefits": 349415,
    "other": 357432,
    "total": 932104
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 225257,
    "benefits": 349415,
    "other": 357432,
    "total": 932104
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 4394,
    "benefits": 34333,
    "other": 215685,
    "total": 254412
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 4394,
    "benefits": 34333,
    "other": 86200,
    "total": 124927
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 129485,
    "total": 129485
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 361623,
    "benefits": 0,
    "other": 400424,
    "total": 762047
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 280087,
    "benefits": 0,
    "other": 277356,
    "total": 557443
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 81536,
    "benefits": 0,
    "other": 123068,
    "total": 204604
   },
   {
    "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": 33575,
    "benefits": 0,
    "other": 25983,
    "total": 59558
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 8582,
    "total": 8582
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 33575,
    "benefits": 0,
    "other": 0,
    "total": 33575
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 17401,
    "total": 17401
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 68659,
    "benefits": 0,
    "other": 32289,
    "total": 100948
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 68659,
    "benefits": 0,
    "other": 32289,
    "total": 100948
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1575473,
    "benefits": 450571,
    "other": 2402836,
    "total": 4428880
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1575473,
    "benefits": 450571,
    "other": 952622,
    "total": 2978666
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 1450214,
    "total": 1450214
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 343423,
    "total": 343423
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 343423,
    "total": 343423
   },
   {
    "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": 169889,
    "total": 169889
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 169889,
    "total": 169889
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2268981,
    "benefits": 834319,
    "other": 3947961,
    "total": 7051261
   }
  ]
 }
}