{
 "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 Woodbury, including department detail.",
  "town_scope_note": "`function_totals` covers Woodbury 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 Woodbury: 2021.",
  "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": "Woodbury",
 "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": 1027201,
    "benefits": 540613,
    "other": 768957,
    "total": 2336771
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1027201,
    "benefits": 540613,
    "other": 768957,
    "total": 2336771
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 989013,
    "benefits": 587369,
    "other": 802956,
    "total": 2379338
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 989013,
    "benefits": 587369,
    "other": 802956,
    "total": 2379338
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 768418,
    "benefits": 474303,
    "other": 1183012,
    "total": 2425733
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 768418,
    "benefits": 474303,
    "other": 1183012,
    "total": 2425733
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 44971,
    "benefits": 23306,
    "other": 98538,
    "total": 166815
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 44971,
    "benefits": 23306,
    "other": 98538,
    "total": 166815
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 635676,
    "benefits": 339179,
    "other": 374694,
    "total": 1349549
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 436239,
    "benefits": 227206,
    "other": 180552,
    "total": 843997
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 199437,
    "benefits": 111973,
    "other": 194142,
    "total": 505552
   },
   {
    "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": 23666535,
    "total": 23666535
   },
   {
    "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": 23666535,
    "total": 23666535
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 1064809,
    "total": 1064809
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 1064809,
    "total": 1064809
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 699458,
    "total": 699458
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 699458,
    "total": 699458
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 154025,
    "total": 154025
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 154025,
    "total": 154025
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 3465279,
    "benefits": 1964770,
    "other": 28812984,
    "total": 34243033
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1187704,
    "benefits": 567266,
    "other": 0,
    "total": 1754970
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1187704,
    "benefits": 567266,
    "other": 0,
    "total": 1754970
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1030614,
    "benefits": 551767,
    "other": 0,
    "total": 1582381
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 717282,
    "benefits": 551767,
    "other": 0,
    "total": 1269049
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 147994,
    "benefits": 0,
    "other": 0,
    "total": 147994
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 165338,
    "benefits": 0,
    "other": 0,
    "total": 165338
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 866090,
    "benefits": 474671,
    "other": 0,
    "total": 1340761
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 866090,
    "benefits": 474671,
    "other": 0,
    "total": 1340761
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 57864,
    "benefits": 27091,
    "other": 0,
    "total": 84955
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 57864,
    "benefits": 27091,
    "other": 0,
    "total": 84955
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 729183,
    "benefits": 352632,
    "other": 0,
    "total": 1081815
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 476386,
    "benefits": 225978,
    "other": 0,
    "total": 702364
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 252797,
    "benefits": 126654,
    "other": 0,
    "total": 379451
   },
   {
    "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": 25108267,
    "total": 25108267
   },
   {
    "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": 25108267,
    "total": 25108267
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 1001031,
    "total": 1001031
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1001031,
    "total": 1001031
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 375091,
    "total": 375091
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 375091,
    "total": 375091
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 3433132,
    "total": 3433132
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 3433132,
    "total": 3433132
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 3871455,
    "benefits": 1973427,
    "other": 29917521,
    "total": 35762403
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1301138,
    "benefits": 605702,
    "other": 761119,
    "total": 2667959
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1301138,
    "benefits": 605702,
    "other": 761119,
    "total": 2667959
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1049931,
    "benefits": 541529,
    "other": 828000,
    "total": 2419460
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 722951,
    "benefits": 541529,
    "other": 828000,
    "total": 2092480
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 155208,
    "benefits": 0,
    "other": 0,
    "total": 155208
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 171772,
    "benefits": 0,
    "other": 0,
    "total": 171772
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 864677,
    "benefits": 456591,
    "other": 1504759,
    "total": 2826027
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 864677,
    "benefits": 456591,
    "other": 1504759,
    "total": 2826027
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 45862,
    "benefits": 21269,
    "other": 105697,
    "total": 172828
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 84428,
    "total": 84428
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 45862,
    "benefits": 21269,
    "other": 21269,
    "total": 88400
   },
   {
    "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": 747574,
    "benefits": 352274,
    "other": 478659,
    "total": 1578507
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 488797,
    "benefits": 226476,
    "other": 204845,
    "total": 920118
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 258777,
    "benefits": 125798,
    "other": 273814,
    "total": 658389
   },
   {
    "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": 25463221,
    "total": 25463221
   },
   {
    "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": 25463221,
    "total": 25463221
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 1546825,
    "total": 1546825
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1546825,
    "total": 1546825
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 289211,
    "total": 289211
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 289211,
    "total": 289211
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 192364,
    "total": 192364
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 192364,
    "total": 192364
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 4009182,
    "benefits": 1977365,
    "other": 31169855,
    "total": 37156402
   }
  ]
 }
}