{
 "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 Lyme, including department detail.",
  "town_scope_note": "`function_totals` covers Lyme 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 Lyme: 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": "Lyme",
 "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": 345761,
    "benefits": 0,
    "other": 265681,
    "total": 611442
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 345761,
    "benefits": 0,
    "other": 265681,
    "total": 611442
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 15885,
    "benefits": 0,
    "other": 208967,
    "total": 224852
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 4777,
    "total": 4777
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 5085,
    "benefits": 0,
    "other": 56894,
    "total": 61979
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 10800,
    "benefits": 0,
    "other": 147296,
    "total": 158096
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 309381,
    "benefits": 0,
    "other": 529861,
    "total": 839242
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 249779,
    "benefits": 0,
    "other": 397961,
    "total": 647740
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 58402,
    "benefits": 0,
    "other": 38503,
    "total": 96905
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1200,
    "benefits": 0,
    "other": 93397,
    "total": 94597
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 9162,
    "benefits": 0,
    "other": 84450,
    "total": 93612
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 17349,
    "total": 17349
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 9162,
    "benefits": 0,
    "other": 0,
    "total": 9162
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 67101,
    "total": 67101
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 128042,
    "benefits": 0,
    "other": 159167,
    "total": 287209
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 124542,
    "benefits": 0,
    "other": 49013,
    "total": 173555
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 3500,
    "benefits": 0,
    "other": 110154,
    "total": 113654
   },
   {
    "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": 6579421,
    "total": 6579421
   },
   {
    "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": 6579421,
    "total": 6579421
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 592612,
    "total": 592612
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 592612,
    "total": 592612
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 537792,
    "total": 537792
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 537792,
    "total": 537792
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 450396,
    "other": 0,
    "total": 450396
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 450396,
    "other": 0,
    "total": 450396
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 808231,
    "benefits": 450396,
    "other": 8957951,
    "total": 10216578
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 714017,
    "benefits": 0,
    "other": 0,
    "total": 714017
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 714017,
    "benefits": 0,
    "other": 0,
    "total": 714017
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 264258,
    "benefits": 0,
    "other": 0,
    "total": 264258
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 264258,
    "benefits": 0,
    "other": 0,
    "total": 264258
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 924306,
    "benefits": 0,
    "other": 0,
    "total": 924306
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 711585,
    "benefits": 0,
    "other": 0,
    "total": 711585
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 212721,
    "benefits": 0,
    "other": 0,
    "total": 212721
   },
   {
    "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": 107219,
    "benefits": 0,
    "other": 0,
    "total": 107219
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 23336,
    "benefits": 0,
    "other": 0,
    "total": 23336
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 77441,
    "benefits": 0,
    "other": 0,
    "total": 77441
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 6442,
    "benefits": 0,
    "other": 0,
    "total": 6442
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 305150,
    "benefits": 0,
    "other": 0,
    "total": 305150
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 170820,
    "benefits": 0,
    "other": 0,
    "total": 170820
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 105687,
    "benefits": 0,
    "other": 0,
    "total": 105687
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 28643,
    "benefits": 0,
    "other": 0,
    "total": 28643
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 6376133,
    "total": 6376133
   },
   {
    "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": 6376133,
    "total": 6376133
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 430837,
    "total": 430837
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 430837,
    "total": 430837
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 470598,
    "total": 470598
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 470598,
    "total": 470598
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 372420,
    "other": -210895,
    "total": 161525
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 372420,
    "other": -210895,
    "total": 161525
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 2314950,
    "benefits": 372420,
    "other": 7066673,
    "total": 9754043
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 492329,
    "benefits": 0,
    "other": 148974,
    "total": 641303
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 492329,
    "benefits": 0,
    "other": 148974,
    "total": 641303
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 21991,
    "benefits": 0,
    "other": 296984,
    "total": 318975
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 3217,
    "total": 3217
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 21991,
    "benefits": 0,
    "other": 45969,
    "total": 67960
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 247798,
    "total": 247798
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 397243,
    "benefits": 0,
    "other": 596845,
    "total": 994088
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 397243,
    "benefits": 0,
    "other": 371827,
    "total": 769070
   },
   {
    "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": 225018,
    "total": 225018
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 11235,
    "benefits": 0,
    "other": 70838,
    "total": 82073
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 11235,
    "benefits": 0,
    "other": 0,
    "total": 11235
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 70838,
    "total": 70838
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 147301,
    "benefits": 0,
    "other": 157159,
    "total": 304460
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 142634,
    "benefits": 0,
    "other": 36033,
    "total": 178667
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 4667,
    "benefits": 0,
    "other": 0,
    "total": 4667
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 121126,
    "total": 121126
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 5996088,
    "total": 5996088
   },
   {
    "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": 5996088,
    "total": 5996088
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 1110980,
    "total": 1110980
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1110980,
    "total": 1110980
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 481039,
    "total": 481039
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 481039,
    "total": 481039
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 385125,
    "other": 0,
    "total": 385125
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 385125,
    "other": 0,
    "total": 385125
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1070099,
    "benefits": 385125,
    "other": 8858907,
    "total": 10314131
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 493091,
    "benefits": 0,
    "other": 270681,
    "total": 763772
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 493091,
    "benefits": 0,
    "other": 270681,
    "total": 763772
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 21991,
    "benefits": 0,
    "other": 235117,
    "total": 257108
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 21991,
    "benefits": 0,
    "other": 235117,
    "total": 257108
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 425242,
    "benefits": 0,
    "other": 399278,
    "total": 824520
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 351252,
    "benefits": 0,
    "other": 239968,
    "total": 591220
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 73990,
    "benefits": 0,
    "other": 159310,
    "total": 233300
   },
   {
    "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": 15902,
    "benefits": 0,
    "other": 57536,
    "total": 73438
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 11235,
    "benefits": 0,
    "other": 5768,
    "total": 17003
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 4667,
    "benefits": 0,
    "other": 51768,
    "total": 56435
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 142634,
    "benefits": 0,
    "other": 172315,
    "total": 314949
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 142634,
    "benefits": 0,
    "other": 54657,
    "total": 197291
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 117658,
    "total": 117658
   },
   {
    "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": 5918777,
    "total": 5918777
   },
   {
    "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": 5918777,
    "total": 5918777
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 45254,
    "total": 45254
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 45254,
    "total": 45254
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1044396,
    "total": 1044396
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1044396,
    "total": 1044396
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 492568,
    "other": 42761,
    "total": 535329
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 492568,
    "other": 42761,
    "total": 535329
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1098860,
    "benefits": 492568,
    "other": 8186115,
    "total": 9777543
   }
  ]
 }
}