{
 "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 Groton, including department detail.",
  "town_scope_note": "`function_totals` covers Groton 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 Groton: 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": "Groton",
 "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": 3771304,
    "benefits": 271911,
    "other": 1395850,
    "total": 5439065
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3771304,
    "benefits": 271911,
    "other": 1395850,
    "total": 5439065
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7663508,
    "benefits": 191878,
    "other": 541260,
    "total": 8396646
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6368455,
    "benefits": 104149,
    "other": 334884,
    "total": 6807488
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1295053,
    "benefits": 87729,
    "other": 206376,
    "total": 1589158
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2909392,
    "benefits": 207006,
    "other": 2333275,
    "total": 5449673
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1456753,
    "benefits": 104821,
    "other": 680342,
    "total": 2241916
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 188984,
    "benefits": 13527,
    "other": 41733,
    "total": 244244
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1263655,
    "benefits": 88658,
    "other": 1611200,
    "total": 2963513
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 515201,
    "benefits": 37692,
    "other": 3928,
    "total": 556821
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 515201,
    "benefits": 37692,
    "other": 3928,
    "total": 556821
   },
   {
    "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": 2583213,
    "benefits": 189543,
    "other": 350650,
    "total": 3123406
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1257876,
    "benefits": 90941,
    "other": 194162,
    "total": 1542979
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1325337,
    "benefits": 98602,
    "other": 156488,
    "total": 1580427
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 45716068,
    "benefits": 18215898,
    "other": 25082408,
    "total": 89014374
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 45716068,
    "benefits": 18215898,
    "other": 25082408,
    "total": 89014374
   },
   {
    "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": 6658571,
    "total": 6658571
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 6658571,
    "total": 6658571
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 93312,
    "total": 93312
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 93312,
    "total": 93312
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 10079784,
    "other": 6964033,
    "total": 17043817
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 10079784,
    "other": 6964033,
    "total": 17043817
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 63158686,
    "benefits": 29193712,
    "other": 43423287,
    "total": 135775685
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3825192,
    "benefits": 276073,
    "other": 1735284,
    "total": 5836549
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3825192,
    "benefits": 276073,
    "other": 1735284,
    "total": 5836549
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7864177,
    "benefits": 192298,
    "other": 500697,
    "total": 8557172
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6608211,
    "benefits": 108011,
    "other": 368088,
    "total": 7084310
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1255966,
    "benefits": 84287,
    "other": 132609,
    "total": 1472862
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3037505,
    "benefits": 221079,
    "other": 2291732,
    "total": 5550316
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1589430,
    "benefits": 114856,
    "other": 699070,
    "total": 2403356
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 181451,
    "benefits": 13046,
    "other": 56601,
    "total": 251098
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1266624,
    "benefits": 93177,
    "other": 1536061,
    "total": 2895862
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 478776,
    "benefits": 34880,
    "other": 3594,
    "total": 517250
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 478776,
    "benefits": 34880,
    "other": 3594,
    "total": 517250
   },
   {
    "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": 2566752,
    "benefits": 180301,
    "other": 354540,
    "total": 3101593
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1214270,
    "benefits": 87616,
    "other": 209236,
    "total": 1511122
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1279375,
    "benefits": 92685,
    "other": 144604,
    "total": 1516664
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 73107,
    "benefits": 0,
    "other": 700,
    "total": 73807
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 47354545,
    "benefits": 17337780,
    "other": 25388503,
    "total": 90080828
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 47354545,
    "benefits": 17337780,
    "other": 25388503,
    "total": 90080828
   },
   {
    "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": 8115086,
    "total": 8115086
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 8115086,
    "total": 8115086
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 82636,
    "total": 82636
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 82636,
    "total": 82636
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 10351877,
    "other": 6287662,
    "total": 16639539
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 10351877,
    "other": 6287662,
    "total": 16639539
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 65126947,
    "benefits": 28594288,
    "other": 44759734,
    "total": 138480969
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4008962,
    "benefits": 287674,
    "other": 1961268,
    "total": 6257904
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4008962,
    "benefits": 287674,
    "other": 1961268,
    "total": 6257904
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 8104818,
    "benefits": 196076,
    "other": 749966,
    "total": 9050860
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6859174,
    "benefits": 113291,
    "other": 540175,
    "total": 7512640
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1245644,
    "benefits": 82785,
    "other": 209791,
    "total": 1538220
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3135673,
    "benefits": 228693,
    "other": 2352259,
    "total": 5716625
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1649483,
    "benefits": 120096,
    "other": 630918,
    "total": 2400497
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 181441,
    "benefits": 13224,
    "other": 58012,
    "total": 252677
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1304749,
    "benefits": 95373,
    "other": 1663329,
    "total": 3063451
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 481574,
    "benefits": 35156,
    "other": 4262,
    "total": 520992
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 481574,
    "benefits": 35156,
    "other": 4262,
    "total": 520992
   },
   {
    "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": 2609188,
    "benefits": 189328,
    "other": 414720,
    "total": 3213236
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1243715,
    "benefits": 90042,
    "other": 217299,
    "total": 1551056
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1365473,
    "benefits": 99286,
    "other": 197421,
    "total": 1662180
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 48010333,
    "benefits": 18431912,
    "other": 22615560,
    "total": 89057805
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 48010333,
    "benefits": 18431912,
    "other": 22615560,
    "total": 89057805
   },
   {
    "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": 9211000,
    "total": 9211000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 9211000,
    "total": 9211000
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 54954,
    "total": 54954
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 54954,
    "total": 54954
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 10830960,
    "other": 9059902,
    "total": 19890862
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 10830960,
    "other": 9059902,
    "total": 19890862
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 66350548,
    "benefits": 30199799,
    "other": 46423891,
    "total": 142974238
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4113591,
    "benefits": 292656,
    "other": 1712447,
    "total": 6118694
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4113591,
    "benefits": 292656,
    "other": 1712447,
    "total": 6118694
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 8436055,
    "benefits": 199690,
    "other": 863875,
    "total": 9499620
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 7203669,
    "benefits": 118367,
    "other": 679614,
    "total": 8001650
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1232386,
    "benefits": 81323,
    "other": 184261,
    "total": 1497970
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3005385,
    "benefits": 214269,
    "other": 2629626,
    "total": 5849280
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1509556,
    "benefits": 106938,
    "other": 629512,
    "total": 2246006
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 210139,
    "benefits": 15106,
    "other": 67895,
    "total": 293140
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1285690,
    "benefits": 92225,
    "other": 1932219,
    "total": 3310134
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 485282,
    "benefits": 34862,
    "other": 10508,
    "total": 530652
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 485282,
    "benefits": 34862,
    "other": 10508,
    "total": 530652
   },
   {
    "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": 2794413,
    "benefits": 203511,
    "other": 462225,
    "total": 3460149
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1295504,
    "benefits": 93928,
    "other": 230749,
    "total": 1620181
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1498909,
    "benefits": 109583,
    "other": 231476,
    "total": 1839968
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 51297632,
    "benefits": 19661879,
    "other": 21424440,
    "total": 92383951
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 51297632,
    "benefits": 19661879,
    "other": 21424440,
    "total": 92383951
   },
   {
    "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": 11471919,
    "total": 11471919
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 11471919,
    "total": 11471919
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 58294,
    "total": 58294
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 58294,
    "total": 58294
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 11209958,
    "other": 9541957,
    "total": 20751915
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 11209958,
    "other": 9541957,
    "total": 20751915
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 70132358,
    "benefits": 31816825,
    "other": 48175291,
    "total": 150124474
   }
  ]
 }
}