{
 "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 Harwinton, including department detail.",
  "town_scope_note": "`function_totals` covers Harwinton 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 Harwinton: 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": "Harwinton",
 "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": 1222135,
    "benefits": 407378,
    "other": 0,
    "total": 1629513
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1222135,
    "benefits": 407378,
    "other": 0,
    "total": 1629513
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 675778,
    "benefits": 225259,
    "other": 0,
    "total": 901037
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 450519,
    "benefits": 150173,
    "other": 0,
    "total": 600692
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 225259,
    "benefits": 75086,
    "other": 0,
    "total": 300345
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1288392,
    "benefits": 429464,
    "other": 0,
    "total": 1717856
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1288392,
    "benefits": 429464,
    "other": 0,
    "total": 1717856
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 150096,
    "benefits": 50032,
    "other": 0,
    "total": 200128
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 150096,
    "benefits": 50032,
    "other": 0,
    "total": 200128
   },
   {
    "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": 428923,
    "benefits": 142975,
    "other": 0,
    "total": 571898
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 349181,
    "benefits": 116394,
    "other": 0,
    "total": 465575
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 58197,
    "benefits": 19399,
    "other": 0,
    "total": 77596
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 21545,
    "benefits": 7182,
    "other": 0,
    "total": 28727
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 13643626,
    "total": 13643626
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 13643626,
    "total": 13643626
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 202001,
    "total": 202001
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 202001,
    "total": 202001
   },
   {
    "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": 3765324,
    "benefits": 1255108,
    "other": 13845627,
    "total": 18866059
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 639332,
    "benefits": 179725,
    "other": 689302,
    "total": 1508359
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 639332,
    "benefits": 179725,
    "other": 689302,
    "total": 1508359
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 44701,
    "benefits": 7511,
    "other": 836289,
    "total": 888501
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 10716,
    "benefits": 3034,
    "other": 627217,
    "total": 640967
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 33985,
    "benefits": 4477,
    "other": 209072,
    "total": 247534
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 857312,
    "benefits": 454131,
    "other": 557017,
    "total": 1868460
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 857312,
    "benefits": 454131,
    "other": 557017,
    "total": 1868460
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 995,
    "benefits": 1245,
    "other": 226623,
    "total": 228863
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 995,
    "benefits": 1245,
    "other": 226623,
    "total": 228863
   },
   {
    "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": 227114,
    "benefits": 75197,
    "other": 310768,
    "total": 613079
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 166908,
    "benefits": 43394,
    "other": 268062,
    "total": 478364
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 59429,
    "benefits": 28201,
    "other": 38295,
    "total": 125925
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 777,
    "benefits": 3602,
    "other": 4411,
    "total": 8790
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 13643084,
    "total": 13643084
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 13643084,
    "total": 13643084
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 144978,
    "total": 144978
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 144978,
    "total": 144978
   },
   {
    "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": 1769454,
    "benefits": 717809,
    "other": 16408061,
    "total": 18895324
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 700799,
    "benefits": 216010,
    "other": 802582,
    "total": 1719391
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 700799,
    "benefits": 216010,
    "other": 802582,
    "total": 1719391
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 39645,
    "benefits": 4393,
    "other": 861178,
    "total": 905216
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 13631,
    "benefits": 1731,
    "other": 645884,
    "total": 661246
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 26014,
    "benefits": 2662,
    "other": 215294,
    "total": 243970
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 870673,
    "benefits": 447640,
    "other": 503497,
    "total": 1821810
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 870673,
    "benefits": 447640,
    "other": 503497,
    "total": 1821810
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 6720,
    "benefits": 1465,
    "other": 241457,
    "total": 249642
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 6720,
    "benefits": 1465,
    "other": 241457,
    "total": 249642
   },
   {
    "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": 115595,
    "benefits": 97414,
    "other": 329695,
    "total": 542704
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 16175,
    "benefits": 53662,
    "other": 279468,
    "total": 349305
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 99420,
    "benefits": 43752,
    "other": 50227,
    "total": 193399
   },
   {
    "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": 14047688,
    "total": 14047688
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 14047688,
    "total": 14047688
   },
   {
    "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": 360733,
    "total": 360733
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 360733,
    "total": 360733
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 5266,
    "total": 5266
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 5266,
    "total": 5266
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1733432,
    "benefits": 766922,
    "other": 17152096,
    "total": 19652450
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 695861,
    "benefits": 219433,
    "other": 1416644,
    "total": 2331938
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 695861,
    "benefits": 219433,
    "other": 1416644,
    "total": 2331938
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 258584,
    "benefits": 50833,
    "other": 393904,
    "total": 703321
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 244544,
    "benefits": 48909,
    "other": 32605,
    "total": 326058
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 14040,
    "benefits": 1924,
    "other": 361299,
    "total": 377263
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 821001,
    "benefits": 438866,
    "other": 635317,
    "total": 1895184
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 821001,
    "benefits": 438866,
    "other": 635317,
    "total": 1895184
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 14166,
    "benefits": 3267,
    "other": 256172,
    "total": 273605
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 14166,
    "benefits": 3267,
    "other": 256172,
    "total": 273605
   },
   {
    "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": 260346,
    "benefits": 131660,
    "other": 131874,
    "total": 523880
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 164543,
    "benefits": 87773,
    "other": 96989,
    "total": 349305
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 95803,
    "benefits": 43887,
    "other": 34885,
    "total": 174575
   },
   {
    "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": 14076582,
    "total": 14076582
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 14076582,
    "total": 14076582
   },
   {
    "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": 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": 2049958,
    "benefits": 844059,
    "other": 16910493,
    "total": 19804510
   }
  ]
 }
}