{
 "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 Litchfield, including department detail.",
  "town_scope_note": "`function_totals` covers Litchfield 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 Litchfield: 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": "Litchfield",
 "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": 1005154,
    "benefits": 448805,
    "other": 106021,
    "total": 1559980
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1005154,
    "benefits": 448805,
    "other": 106021,
    "total": 1559980
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 385389,
    "benefits": 0,
    "other": 630225,
    "total": 1015614
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 296111,
    "benefits": 0,
    "other": 12755,
    "total": 308866
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 54993,
    "benefits": 0,
    "other": 395632,
    "total": 450625
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 34285,
    "benefits": 0,
    "other": 221838,
    "total": 256123
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1899338,
    "benefits": 724992,
    "other": 416151,
    "total": 3040481
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1377473,
    "benefits": 724992,
    "other": 416151,
    "total": 2518616
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 521865,
    "benefits": 0,
    "other": 0,
    "total": 521865
   },
   {
    "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": 26258,
    "benefits": 0,
    "other": 23243,
    "total": 49501
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 26258,
    "benefits": 0,
    "other": 23243,
    "total": 49501
   },
   {
    "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": 111492,
    "benefits": 0,
    "other": 1087222,
    "total": 1198714
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 390738,
    "total": 390738
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 111492,
    "benefits": 0,
    "other": 572548,
    "total": 684040
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 123936,
    "total": 123936
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 11365244,
    "benefits": 3559653,
    "other": 7101411,
    "total": 22026308
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 11365244,
    "benefits": 3559653,
    "other": 7101411,
    "total": 22026308
   },
   {
    "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": 4211057,
    "total": 4211057
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 4211057,
    "total": 4211057
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 1151192,
    "total": 1151192
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 1151192,
    "total": 1151192
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 14792875,
    "benefits": 4733450,
    "other": 14791522,
    "total": 34317847
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1016603,
    "benefits": 379590,
    "other": 692600,
    "total": 2088793
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1016603,
    "benefits": 379590,
    "other": 692600,
    "total": 2088793
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 349021,
    "benefits": 168706,
    "other": 404159,
    "total": 921886
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 294420,
    "benefits": 98000,
    "other": 7742,
    "total": 400162
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 54601,
    "benefits": 70706,
    "other": 396417,
    "total": 521724
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1505389,
    "benefits": 717000,
    "other": 1045192,
    "total": 3267581
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1489772,
    "benefits": 717000,
    "other": 471809,
    "total": 2678581
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 15617,
    "benefits": 0,
    "other": 573383,
    "total": 589000
   },
   {
    "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": 39987,
    "benefits": 42176,
    "other": 0,
    "total": 82163
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 39987,
    "benefits": 42176,
    "other": 0,
    "total": 82163
   },
   {
    "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": 367595,
    "benefits": 84353,
    "other": 117000,
    "total": 568948
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 273738,
    "benefits": 59047,
    "other": 81900,
    "total": 414685
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 93857,
    "benefits": 25306,
    "other": 35100,
    "total": 154263
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 10948188,
    "benefits": 9589462,
    "other": 4137182,
    "total": 24674832
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 10948188,
    "benefits": 9589462,
    "other": 4137182,
    "total": 24674832
   },
   {
    "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": 3859112,
    "total": 3859112
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 3859112,
    "total": 3859112
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 910844,
    "total": 910844
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 910844,
    "total": 910844
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 14226783,
    "benefits": 10981287,
    "other": 11231089,
    "total": 36439159
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1082495,
    "benefits": 379589,
    "other": 216924,
    "total": 1679008
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1082495,
    "benefits": 379589,
    "other": 216924,
    "total": 1679008
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 161576,
    "benefits": 146520,
    "other": 659532,
    "total": 967628
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 111204,
    "benefits": 100673,
    "other": 96195,
    "total": 308072
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 50372,
    "benefits": 45847,
    "other": 370240,
    "total": 466459
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 193097,
    "total": 193097
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1562689,
    "benefits": 779404,
    "other": 790687,
    "total": 3132780
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1546385,
    "benefits": 779404,
    "other": 790687,
    "total": 3116476
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 16304,
    "benefits": 0,
    "other": 0,
    "total": 16304
   },
   {
    "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": 45557,
    "benefits": 0,
    "other": 956,
    "total": 46513
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 45557,
    "benefits": 0,
    "other": 956,
    "total": 46513
   },
   {
    "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": 347557,
    "benefits": 104894,
    "other": 192537,
    "total": 644988
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 269969,
    "benefits": 59047,
    "other": 57953,
    "total": 386969
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 77588,
    "benefits": 45847,
    "other": 134584,
    "total": 258019
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 10647576,
    "benefits": 3973750,
    "other": 6385801,
    "total": 21007127
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 10647576,
    "benefits": 3973750,
    "other": 6385801,
    "total": 21007127
   },
   {
    "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": 4230870,
    "total": 4230870
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 4230870,
    "total": 4230870
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 1077766,
    "total": 1077766
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 1077766,
    "total": 1077766
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 13847450,
    "benefits": 5384157,
    "other": 13620073,
    "total": 32851680
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1089166,
    "benefits": 400156,
    "other": 309182,
    "total": 1798504
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1089166,
    "benefits": 400156,
    "other": 309182,
    "total": 1798504
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 211864,
    "benefits": 146520,
    "other": 640467,
    "total": 998851
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 111204,
    "benefits": 100673,
    "other": 39638,
    "total": 251515
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 100660,
    "benefits": 45847,
    "other": 394053,
    "total": 540560
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 206776,
    "total": 206776
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1528169,
    "benefits": 755850,
    "other": 1057212,
    "total": 3341231
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1504995,
    "benefits": 755850,
    "other": 1057212,
    "total": 3318057
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 23174,
    "benefits": 0,
    "other": 0,
    "total": 23174
   },
   {
    "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": 49775,
    "benefits": 0,
    "other": 4784,
    "total": 54559
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 49775,
    "benefits": 0,
    "other": 4784,
    "total": 54559
   },
   {
    "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": 327485,
    "benefits": 103509,
    "other": 140064,
    "total": 571058
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 269969,
    "benefits": 59047,
    "other": 64434,
    "total": 393450
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 57516,
    "benefits": 44462,
    "other": 75630,
    "total": 177608
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 10647576,
    "benefits": 3973750,
    "other": 8256370,
    "total": 22877696
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 10647576,
    "benefits": 3973750,
    "other": 8256370,
    "total": 22877696
   },
   {
    "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": 4057958,
    "total": 4057958
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 4057958,
    "total": 4057958
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 16000,
    "total": 16000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 16000,
    "total": 16000
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 1262093,
    "total": 1262093
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 1262093,
    "total": 1262093
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 13854035,
    "benefits": 5379785,
    "other": 15744130,
    "total": 34977950
   }
  ]
 }
}