{
 "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 Old Lyme, including department detail.",
  "town_scope_note": "`function_totals` covers Old 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 Old 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": "Old 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": 1021783,
    "benefits": 475298,
    "other": 602672,
    "total": 2099753
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1021783,
    "benefits": 475298,
    "other": 602672,
    "total": 2099753
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 861034,
    "benefits": 221806,
    "other": 617283,
    "total": 1700123
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 653351,
    "benefits": 221806,
    "other": 30184,
    "total": 905341
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 72208,
    "benefits": 0,
    "other": 280943,
    "total": 353151
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 135475,
    "benefits": 0,
    "other": 306156,
    "total": 441631
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 641044,
    "benefits": 316865,
    "other": 1512294,
    "total": 2470203
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 641044,
    "benefits": 316865,
    "other": 436514,
    "total": 1394423
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1075780,
    "total": 1075780
   },
   {
    "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": 209436,
    "benefits": 31687,
    "other": 311322,
    "total": 552445
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 117656,
    "benefits": 0,
    "other": 80092,
    "total": 197748
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 91780,
    "benefits": 31687,
    "other": 151138,
    "total": 274605
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 80092,
    "total": 80092
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 227352,
    "benefits": 31687,
    "other": 609000,
    "total": 868039
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 345000,
    "total": 345000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 227352,
    "benefits": 31687,
    "other": 150300,
    "total": 409339
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 113700,
    "total": 113700
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 27556679,
    "total": 27556679
   },
   {
    "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": 27556679,
    "total": 27556679
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 352036,
    "total": 352036
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 352036,
    "total": 352036
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 857812,
    "total": 857812
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 857812,
    "total": 857812
   },
   {
    "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": 2960649,
    "benefits": 1077343,
    "other": 32419098,
    "total": 36457090
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1068636,
    "benefits": 427360,
    "other": 943269,
    "total": 2439265
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1068636,
    "benefits": 427360,
    "other": 943269,
    "total": 2439265
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 946372,
    "benefits": 199435,
    "other": 829916,
    "total": 1975723
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 693241,
    "benefits": 170944,
    "other": 241283,
    "total": 1105468
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 81614,
    "benefits": 28491,
    "other": 299441,
    "total": 409546
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 171517,
    "benefits": 0,
    "other": 289192,
    "total": 460709
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 641044,
    "benefits": 284907,
    "other": 1306863,
    "total": 2232814
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 641044,
    "benefits": 284907,
    "other": 189438,
    "total": 1115389
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1117425,
    "total": 1117425
   },
   {
    "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": 91373,
    "benefits": 28491,
    "other": 261037,
    "total": 380901
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 77758,
    "total": 77758
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 28325,
    "benefits": 0,
    "other": 84981,
    "total": 113306
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 63048,
    "benefits": 28491,
    "other": 98298,
    "total": 189837
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 223536,
    "benefits": 28491,
    "other": 613332,
    "total": 865359
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 355000,
    "total": 355000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 223536,
    "benefits": 28491,
    "other": 159632,
    "total": 411659
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 98700,
    "total": 98700
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 27556679,
    "total": 27556679
   },
   {
    "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": 27556679,
    "total": 27556679
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 478698,
    "total": 478698
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 478698,
    "total": 478698
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 1770486,
    "total": 1770486
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 1770486,
    "total": 1770486
   },
   {
    "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": 2970961,
    "benefits": 968684,
    "other": 33760280,
    "total": 37699925
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1034431,
    "benefits": 436524,
    "other": 1105321,
    "total": 2576276
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1034431,
    "benefits": 436524,
    "other": 1105321,
    "total": 2576276
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 896499,
    "benefits": 203714,
    "other": 777903,
    "total": 1878116
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 655986,
    "benefits": 174612,
    "other": 265590,
    "total": 1096188
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 66250,
    "benefits": 29102,
    "other": 257714,
    "total": 353066
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 174263,
    "benefits": 0,
    "other": 254599,
    "total": 428862
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 619829,
    "benefits": 291020,
    "other": 1481424,
    "total": 2392273
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 518266,
    "benefits": 291020,
    "other": 382547,
    "total": 1191833
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 101563,
    "benefits": 0,
    "other": 1098877,
    "total": 1200440
   },
   {
    "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": 86187,
    "benefits": 29102,
    "other": 266624,
    "total": 381913
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 78150,
    "total": 78150
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 19040,
    "benefits": 0,
    "other": 94835,
    "total": 113875
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 67147,
    "benefits": 29102,
    "other": 93639,
    "total": 189888
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 156670,
    "benefits": 29102,
    "other": 739400,
    "total": 925172
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 365000,
    "total": 365000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 156670,
    "benefits": 29102,
    "other": 254700,
    "total": 440472
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 119700,
    "total": 119700
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 27006352,
    "total": 27006352
   },
   {
    "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": 27006352,
    "total": 27006352
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 466695,
    "total": 466695
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 466695,
    "total": 466695
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 553719,
    "total": 553719
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 553719,
    "total": 553719
   },
   {
    "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": 2793616,
    "benefits": 989462,
    "other": 32397438,
    "total": 36180516
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1231634,
    "benefits": 456063,
    "other": 1102437,
    "total": 2790134
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1231634,
    "benefits": 456063,
    "other": 1102437,
    "total": 2790134
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 899324,
    "benefits": 369028,
    "other": 768676,
    "total": 2037028
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 615103,
    "benefits": 216486,
    "other": 264394,
    "total": 1095983
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 80540,
    "benefits": 136960,
    "other": 282541,
    "total": 500041
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 203681,
    "benefits": 15582,
    "other": 221741,
    "total": 441004
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 640697,
    "benefits": 236461,
    "other": 1493026,
    "total": 2370184
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 425794,
    "benefits": 152293,
    "other": 366550,
    "total": 944637
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 108684,
    "benefits": 41990,
    "other": 1126476,
    "total": 1277150
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 106219,
    "benefits": 42178,
    "other": 0,
    "total": 148397
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 105866,
    "benefits": 8098,
    "other": 272642,
    "total": 386606
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 79210,
    "total": 79210
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 20515,
    "benefits": 1569,
    "other": 99689,
    "total": 121773
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 85351,
    "benefits": 6529,
    "other": 93743,
    "total": 185623
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 270090,
    "benefits": 27998,
    "other": 751582,
    "total": 1049670
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 375000,
    "total": 375000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 270090,
    "benefits": 27998,
    "other": 246882,
    "total": 544970
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 129700,
    "total": 129700
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 27521402,
    "total": 27521402
   },
   {
    "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": 27521402,
    "total": 27521402
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 454729,
    "total": 454729
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 454729,
    "total": 454729
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 567335,
    "total": 567335
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 567335,
    "total": 567335
   },
   {
    "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": 3147611,
    "benefits": 1097648,
    "other": 32931829,
    "total": 37177088
   }
  ]
 }
}