{
 "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 Southbury, including department detail.",
  "town_scope_note": "`function_totals` covers Southbury 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 Southbury: 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": "Southbury",
 "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": 1705484,
    "benefits": 84535,
    "other": 1868655,
    "total": 3658674
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1705484,
    "benefits": 84535,
    "other": 1868655,
    "total": 3658674
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2531061,
    "benefits": 302125,
    "other": 1211957,
    "total": 4045143
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2072140,
    "benefits": 286640,
    "other": 233815,
    "total": 2592595
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 532006,
    "total": 532006
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 458921,
    "benefits": 15485,
    "other": 446136,
    "total": 920542
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1987885,
    "benefits": 195552,
    "other": 2134006,
    "total": 4317443
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1399933,
    "benefits": 105532,
    "other": 789662,
    "total": 2295127
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 171917,
    "benefits": 45730,
    "other": 689295,
    "total": 906942
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 416035,
    "benefits": 44290,
    "other": 655049,
    "total": 1115374
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 284861,
    "benefits": 19844,
    "other": 337688,
    "total": 642393
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 182206,
    "total": 182206
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 284861,
    "benefits": 19844,
    "other": 61486,
    "total": 366191
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 93996,
    "total": 93996
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 915626,
    "benefits": 39329,
    "other": 262740,
    "total": 1217695
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 535540,
    "benefits": 23854,
    "other": 149007,
    "total": 708401
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 380086,
    "benefits": 15475,
    "other": 113733,
    "total": 509294
   },
   {
    "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": 47644384,
    "total": 47644384
   },
   {
    "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": 47644384,
    "total": 47644384
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 891025,
    "total": 891025
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 891025,
    "total": 891025
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 2799600,
    "total": 2799600
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 2799600,
    "total": 2799600
   },
   {
    "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": 7424917,
    "benefits": 641385,
    "other": 57150055,
    "total": 65216357
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1749794,
    "benefits": 84535,
    "other": 1959438,
    "total": 3793767
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1749794,
    "benefits": 84535,
    "other": 1959438,
    "total": 3793767
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2592043,
    "benefits": 302125,
    "other": 1251440,
    "total": 4145608
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2123944,
    "benefits": 286640,
    "other": 247986,
    "total": 2658570
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 539662,
    "total": 539662
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 468099,
    "benefits": 15485,
    "other": 463792,
    "total": 947376
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2061999,
    "benefits": 195552,
    "other": 2192211,
    "total": 4449762
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1462324,
    "benefits": 105532,
    "other": 796583,
    "total": 2364439
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 175319,
    "benefits": 45730,
    "other": 702586,
    "total": 923635
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 424356,
    "benefits": 44290,
    "other": 693042,
    "total": 1161688
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 290558,
    "benefits": 19844,
    "other": 473927,
    "total": 784329
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 305438,
    "total": 305438
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 290558,
    "benefits": 19844,
    "other": 68635,
    "total": 379037
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 99854,
    "total": 99854
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 933938,
    "benefits": 23854,
    "other": 276568,
    "total": 1234360
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 546250,
    "benefits": 23854,
    "other": 152583,
    "total": 722687
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 387688,
    "benefits": 0,
    "other": 123985,
    "total": 511673
   },
   {
    "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": 48007514,
    "total": 48007514
   },
   {
    "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": 48007514,
    "total": 48007514
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 862850,
    "total": 862850
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 862850,
    "total": 862850
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 1727262,
    "total": 1727262
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 1727262,
    "total": 1727262
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 517403,
    "total": 517403
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 517403,
    "total": 517403
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 7628332,
    "benefits": 625910,
    "other": 57268613,
    "total": 65522855
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1935630,
    "benefits": 669150,
    "other": 3343700,
    "total": 5948480
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1935630,
    "benefits": 669150,
    "other": 3343700,
    "total": 5948480
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2534479,
    "benefits": 360409,
    "other": 2498629,
    "total": 5393517
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1966649,
    "benefits": 360409,
    "other": 1753725,
    "total": 4080783
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 539662,
    "total": 539662
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 567830,
    "benefits": 0,
    "other": 205242,
    "total": 773072
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2194622,
    "benefits": 576000,
    "other": 1510014,
    "total": 4280636
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1482966,
    "benefits": 505000,
    "other": 687036,
    "total": 2675002
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 192013,
    "benefits": 26000,
    "other": 660594,
    "total": 878607
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 519643,
    "benefits": 45000,
    "other": 162384,
    "total": 727027
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 305438,
    "total": 305438
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 197863,
    "total": 197863
   },
   {
    "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": 107575,
    "total": 107575
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1277619,
    "benefits": 195000,
    "other": 525419,
    "total": 1998038
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 556663,
    "benefits": 65000,
    "other": 192105,
    "total": 813768
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 405909,
    "benefits": 65000,
    "other": 58048,
    "total": 528957
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 315047,
    "benefits": 65000,
    "other": 275266,
    "total": 655313
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 49792018,
    "total": 49792018
   },
   {
    "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": 49792018,
    "total": 49792018
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 825750,
    "total": 825750
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 825750,
    "total": 825750
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 3380840,
    "total": 3380840
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 3380840,
    "total": 3380840
   },
   {
    "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": 7942350,
    "benefits": 1800559,
    "other": 62181808,
    "total": 71924717
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2633020,
    "benefits": 1549500,
    "other": 1115119,
    "total": 5297639
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2633020,
    "benefits": 1549500,
    "other": 1115119,
    "total": 5297639
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2985869,
    "benefits": 380500,
    "other": 1572432,
    "total": 4938801
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2358617,
    "benefits": 357000,
    "other": 796895,
    "total": 3512512
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 447260,
    "total": 447260
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 627252,
    "benefits": 23500,
    "other": 328277,
    "total": 979029
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1711511,
    "benefits": 1018891,
    "other": 2016696,
    "total": 4747098
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1431548,
    "benefits": 895000,
    "other": 580617,
    "total": 2907165
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 172824,
    "benefits": 123891,
    "other": 488787,
    "total": 785502
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 107139,
    "benefits": 0,
    "other": 947292,
    "total": 1054431
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 42000,
    "benefits": 0,
    "other": 325886,
    "total": 367886
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 200777,
    "total": 200777
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 42000,
    "benefits": 0,
    "other": 2500,
    "total": 44500
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 122609,
    "total": 122609
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1120142,
    "benefits": 287000,
    "other": 578124,
    "total": 1985266
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 584387,
    "benefits": 125000,
    "other": 333998,
    "total": 1043385
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 225047,
    "benefits": 62000,
    "other": 163667,
    "total": 450714
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 310708,
    "benefits": 100000,
    "other": 80459,
    "total": 491167
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 51509790,
    "total": 51509790
   },
   {
    "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": 51509790,
    "total": 51509790
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 789813,
    "total": 789813
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 789813,
    "total": 789813
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 2666873,
    "total": 2666873
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 2666873,
    "total": 2666873
   },
   {
    "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": 8492542,
    "benefits": 3235891,
    "other": 60574733,
    "total": 72303166
   }
  ]
 }
}