{
 "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 Deep River, including department detail.",
  "town_scope_note": "`function_totals` covers Deep River 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 Deep River: 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": "Deep River",
 "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": 537295,
    "benefits": 635708,
    "other": 643752,
    "total": 1816755
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 537295,
    "benefits": 635708,
    "other": 643752,
    "total": 1816755
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 485450,
    "benefits": 61555,
    "other": 217174,
    "total": 764179
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 439809,
    "benefits": 0,
    "other": 31847,
    "total": 471656
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 19649,
    "benefits": 61555,
    "other": 112323,
    "total": 193527
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 25992,
    "benefits": 0,
    "other": 73004,
    "total": 98996
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 359828,
    "benefits": 0,
    "other": 655045,
    "total": 1014873
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 308201,
    "benefits": 0,
    "other": 290312,
    "total": 598513
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 51627,
    "benefits": 0,
    "other": 236416,
    "total": 288043
   },
   {
    "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": 128317,
    "total": 128317
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 20402,
    "benefits": 1200,
    "other": 86623,
    "total": 108225
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 51095,
    "total": 51095
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 20402,
    "benefits": 1200,
    "other": 0,
    "total": 21602
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 35528,
    "total": 35528
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 215345,
    "benefits": 0,
    "other": 176171,
    "total": 391516
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 120665,
    "benefits": 0,
    "other": 62331,
    "total": 182996
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 94680,
    "benefits": 0,
    "other": 111710,
    "total": 206390
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 2130,
    "total": 2130
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 12832293,
    "total": 12832293
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 5700384,
    "total": 5700384
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 7131909,
    "total": 7131909
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 33948,
    "total": 33948
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 33948,
    "total": 33948
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 797833,
    "total": 797833
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 797833,
    "total": 797833
   },
   {
    "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": 1618320,
    "benefits": 698463,
    "other": 15442839,
    "total": 17759622
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 0,
    "benefits": 0,
    "other": 1797757,
    "total": 1797757
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 0,
    "benefits": 0,
    "other": 1797757,
    "total": 1797757
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 19298,
    "benefits": 0,
    "other": 679900,
    "total": 699198
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 408805,
    "total": 408805
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 19298,
    "benefits": 0,
    "other": 177930,
    "total": 197228
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 93165,
    "total": 93165
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 372938,
    "benefits": 0,
    "other": 965875,
    "total": 1338813
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 308174,
    "benefits": 0,
    "other": 572171,
    "total": 880345
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 64764,
    "benefits": 0,
    "other": 233286,
    "total": 298050
   },
   {
    "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": 160418,
    "total": 160418
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 22065,
    "benefits": 0,
    "other": 96088,
    "total": 118153
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 22065,
    "benefits": 0,
    "other": 0,
    "total": 22065
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 96088,
    "total": 96088
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 232008,
    "benefits": 0,
    "other": 108889,
    "total": 340897
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 127907,
    "benefits": 0,
    "other": 57409,
    "total": 185316
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 104101,
    "benefits": 0,
    "other": 49532,
    "total": 153633
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 1948,
    "total": 1948
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 13164425,
    "total": 13164425
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 5670949,
    "total": 5670949
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 7493476,
    "total": 7493476
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 66962,
    "total": 66962
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 66962,
    "total": 66962
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 224209,
    "total": 224209
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 224209,
    "total": 224209
   },
   {
    "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": 646309,
    "benefits": 0,
    "other": 17104105,
    "total": 17750414
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 568201,
    "benefits": 577806,
    "other": 751127,
    "total": 1897134
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 568201,
    "benefits": 577806,
    "other": 751127,
    "total": 1897134
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 361930,
    "benefits": 64088,
    "other": 411367,
    "total": 837385
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 339838,
    "benefits": 0,
    "other": 210556,
    "total": 550394
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 22092,
    "benefits": 64088,
    "other": 127108,
    "total": 213288
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 73703,
    "total": 73703
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 415886,
    "benefits": 0,
    "other": 950705,
    "total": 1366591
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 349170,
    "benefits": 0,
    "other": 701068,
    "total": 1050238
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 66716,
    "benefits": 0,
    "other": 214637,
    "total": 281353
   },
   {
    "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": 35000,
    "total": 35000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 22583,
    "benefits": 0,
    "other": 96068,
    "total": 118651
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 22583,
    "benefits": 0,
    "other": 0,
    "total": 22583
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 96068,
    "total": 96068
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 251601,
    "benefits": 0,
    "other": 143513,
    "total": 395114
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 147716,
    "benefits": 0,
    "other": 49697,
    "total": 197413
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 103885,
    "benefits": 0,
    "other": 91868,
    "total": 195753
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 1948,
    "total": 1948
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 13453226,
    "total": 13453226
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 5888833,
    "total": 5888833
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 7564393,
    "total": 7564393
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 65388,
    "total": 65388
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 65388,
    "total": 65388
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 500334,
    "total": 500334
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 500334,
    "total": 500334
   },
   {
    "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": 1620201,
    "benefits": 641894,
    "other": 16371728,
    "total": 18633823
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 598561,
    "benefits": 657085,
    "other": 836244,
    "total": 2091890
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 598561,
    "benefits": 657085,
    "other": 836244,
    "total": 2091890
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 229352,
    "benefits": 60598,
    "other": 512296,
    "total": 802246
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 205884,
    "benefits": 0,
    "other": 304971,
    "total": 510855
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 23468,
    "benefits": 60598,
    "other": 133475,
    "total": 217541
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 73850,
    "total": 73850
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 327966,
    "benefits": 0,
    "other": 943022,
    "total": 1270988
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 239710,
    "benefits": 0,
    "other": 710008,
    "total": 949718
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 88256,
    "benefits": 0,
    "other": 233014,
    "total": 321270
   },
   {
    "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": 23652,
    "benefits": 0,
    "other": 75780,
    "total": 99432
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 23652,
    "benefits": 0,
    "other": 0,
    "total": 23652
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 75780,
    "total": 75780
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 257511,
    "benefits": 0,
    "other": 182950,
    "total": 440461
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 154791,
    "benefits": 0,
    "other": 51571,
    "total": 206362
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 102720,
    "benefits": 0,
    "other": 129431,
    "total": 232151
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 1948,
    "total": 1948
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 13161077,
    "total": 13161077
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 5958561,
    "total": 5958561
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 7202516,
    "total": 7202516
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 195638,
    "total": 195638
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 195638,
    "total": 195638
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 397991,
    "total": 397991
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 397991,
    "total": 397991
   },
   {
    "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": 1437042,
    "benefits": 717683,
    "other": 16304998,
    "total": 18459723
   }
  ]
 }
}