{
 "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 Woodbridge, including department detail.",
  "town_scope_note": "`function_totals` covers Woodbridge 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 Woodbridge: 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": "Woodbridge",
 "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": 1181989,
    "benefits": 446426,
    "other": 904866,
    "total": 2533281
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1181989,
    "benefits": 446426,
    "other": 904866,
    "total": 2533281
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2945480,
    "benefits": 1551115,
    "other": 1715416,
    "total": 6212011
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2709770,
    "benefits": 1397139,
    "other": 878471,
    "total": 4985380
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 129282,
    "benefits": 111418,
    "other": 726038,
    "total": 966738
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 106428,
    "benefits": 42558,
    "other": 110907,
    "total": 259893
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1216246,
    "benefits": 715427,
    "other": 1294342,
    "total": 3226015
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 812786,
    "benefits": 502654,
    "other": 543119,
    "total": 1858559
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 129718,
    "benefits": 69562,
    "other": 426633,
    "total": 625913
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 273742,
    "benefits": 143211,
    "other": 324590,
    "total": 741543
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 265990,
    "benefits": 118980,
    "other": 109320,
    "total": 494290
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 265990,
    "benefits": 118980,
    "other": 109320,
    "total": 494290
   },
   {
    "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": 1215975,
    "benefits": 498568,
    "other": 443454,
    "total": 2157997
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 523506,
    "benefits": 275869,
    "other": 209642,
    "total": 1009017
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 692469,
    "benefits": 222699,
    "other": 233812,
    "total": 1148980
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 8960288,
    "benefits": 2276692,
    "other": 23042234,
    "total": 34279214
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 8960288,
    "benefits": 2276692,
    "other": 8076491,
    "total": 19313471
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 14965743,
    "total": 14965743
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 2468482,
    "total": 2468482
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2468482,
    "total": 2468482
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 1196070,
    "other": 0,
    "total": 1196070
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 1196070,
    "other": 0,
    "total": 1196070
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 15785968,
    "benefits": 6803278,
    "other": 29978114,
    "total": 52567360
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1250497,
    "benefits": 541274,
    "other": 1005774,
    "total": 2797545
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1250497,
    "benefits": 541274,
    "other": 1005774,
    "total": 2797545
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3210167,
    "benefits": 1626760,
    "other": 1414406,
    "total": 6251333
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2926905,
    "benefits": 1566318,
    "other": 181027,
    "total": 4674250
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 180966,
    "benefits": 41426,
    "other": 780872,
    "total": 1003264
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 102296,
    "benefits": 19016,
    "other": 452507,
    "total": 573819
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1385291,
    "benefits": 753345,
    "other": 1201729,
    "total": 3340365
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 854204,
    "benefits": 454323,
    "other": 560958,
    "total": 1869485
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 121722,
    "benefits": 77812,
    "other": 408154,
    "total": 607688
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 409365,
    "benefits": 221210,
    "other": 232617,
    "total": 863192
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 226111,
    "benefits": 140964,
    "other": 107084,
    "total": 474159
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 226111,
    "benefits": 140964,
    "other": 107084,
    "total": 474159
   },
   {
    "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": 806652,
    "benefits": 267518,
    "other": 465323,
    "total": 1539493
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 424012,
    "benefits": 181822,
    "other": 199252,
    "total": 805086
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 382640,
    "benefits": 85696,
    "other": 266071,
    "total": 734407
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9192398,
    "benefits": 2974244,
    "other": 20855795,
    "total": 33022437
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9192398,
    "benefits": 2974244,
    "other": 5099539,
    "total": 17266181
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 15756256,
    "total": 15756256
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 2493609,
    "total": 2493609
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2493609,
    "total": 2493609
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 845666,
    "total": 845666
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 845666,
    "total": 845666
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 957294,
    "other": 0,
    "total": 957294
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 957294,
    "other": 0,
    "total": 957294
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 16071116,
    "benefits": 7261399,
    "other": 28389386,
    "total": 51721901
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1252506,
    "benefits": 595959,
    "other": 807037,
    "total": 2655502
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1252506,
    "benefits": 595959,
    "other": 807037,
    "total": 2655502
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3192358,
    "benefits": 2007143,
    "other": 1620703,
    "total": 6820204
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2791540,
    "benefits": 1844401,
    "other": 343302,
    "total": 4979243
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 185230,
    "benefits": 43715,
    "other": 791149,
    "total": 1020094
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 215588,
    "benefits": 119027,
    "other": 486252,
    "total": 820867
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1459081,
    "benefits": 882718,
    "other": 1043148,
    "total": 3384947
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 840654,
    "benefits": 538703,
    "other": 486053,
    "total": 1865410
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 144586,
    "benefits": 90099,
    "other": 403242,
    "total": 637927
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 473841,
    "benefits": 253916,
    "other": 153853,
    "total": 881610
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 256859,
    "benefits": 185898,
    "other": 122873,
    "total": 565630
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 256859,
    "benefits": 185898,
    "other": 122873,
    "total": 565630
   },
   {
    "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": 1065419,
    "benefits": 345997,
    "other": 625576,
    "total": 2036992
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 525296,
    "benefits": 249254,
    "other": 208000,
    "total": 982550
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 540123,
    "benefits": 96743,
    "other": 417576,
    "total": 1054442
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9478270,
    "benefits": 3369303,
    "other": 21390473,
    "total": 34238046
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9478270,
    "benefits": 3369303,
    "other": 5114849,
    "total": 17962422
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 16275624,
    "total": 16275624
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 2280254,
    "total": 2280254
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 2280254,
    "total": 2280254
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 313509,
    "total": 313509
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 313509,
    "total": 313509
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 1006874,
    "other": 0,
    "total": 1006874
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 1006874,
    "other": 0,
    "total": 1006874
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 16704493,
    "benefits": 8393892,
    "other": 28203573,
    "total": 53301958
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1280111,
    "benefits": 662712,
    "other": 961592,
    "total": 2904415
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1280111,
    "benefits": 662712,
    "other": 961592,
    "total": 2904415
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3192241,
    "benefits": 1834228,
    "other": 2066590,
    "total": 7093059
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2916275,
    "benefits": 1673265,
    "other": 644197,
    "total": 5233737
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 178632,
    "benefits": 107480,
    "other": 1016177,
    "total": 1302289
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 97334,
    "benefits": 53483,
    "other": 406216,
    "total": 557033
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1482646,
    "benefits": 824357,
    "other": 1138580,
    "total": 3445583
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 851201,
    "benefits": 465407,
    "other": 514838,
    "total": 1831446
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 133021,
    "benefits": 84043,
    "other": 456619,
    "total": 673683
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 167123,
    "total": 167123
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 498424,
    "benefits": 274907,
    "other": 0,
    "total": 773331
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 273308,
    "benefits": 138144,
    "other": 113215,
    "total": 524667
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 273308,
    "benefits": 138144,
    "other": 113215,
    "total": 524667
   },
   {
    "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": 1045568,
    "benefits": 480454,
    "other": 694091,
    "total": 2220113
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 579515,
    "benefits": 256437,
    "other": 205948,
    "total": 1041900
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 466053,
    "benefits": 224017,
    "other": 488143,
    "total": 1178213
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9765718,
    "benefits": 3297622,
    "other": 22648683,
    "total": 35712023
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9765718,
    "benefits": 3297622,
    "other": 5814325,
    "total": 18877665
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 16834358,
    "total": 16834358
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 2244239,
    "total": 2244239
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 2244239,
    "total": 2244239
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 862292,
    "total": 862292
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 862292,
    "total": 862292
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 1209833,
    "other": 0,
    "total": 1209833
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 1209833,
    "other": 0,
    "total": 1209833
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 17039592,
    "benefits": 8447350,
    "other": 30729282,
    "total": 56216224
   }
  ]
 }
}