{
 "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 Weston, including department detail.",
  "town_scope_note": "`function_totals` covers Weston 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 Weston: 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": "Weston",
 "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": 1418161,
    "benefits": 0,
    "other": 1118949,
    "total": 2537110
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1418161,
    "benefits": 0,
    "other": 1118949,
    "total": 2537110
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2602838,
    "benefits": 0,
    "other": 497033,
    "total": 3099871
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2019923,
    "benefits": 0,
    "other": 200218,
    "total": 2220141
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 256756,
    "total": 256756
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 582915,
    "benefits": 0,
    "other": 40059,
    "total": 622974
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1044629,
    "benefits": 0,
    "other": 1410235,
    "total": 2454864
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1044629,
    "benefits": 0,
    "other": 1299291,
    "total": 2343920
   },
   {
    "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": 110944,
    "total": 110944
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 88780,
    "benefits": 0,
    "other": 376151,
    "total": 464931
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 225520,
    "total": 225520
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 88780,
    "benefits": 0,
    "other": -1003,
    "total": 87777
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 151634,
    "total": 151634
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 779761,
    "benefits": 0,
    "other": 328271,
    "total": 1108032
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 336901,
    "benefits": 0,
    "other": 151106,
    "total": 488007
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 305878,
    "benefits": 0,
    "other": 163907,
    "total": 469785
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 136982,
    "benefits": 0,
    "other": 13258,
    "total": 150240
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 32247624,
    "benefits": 16452523,
    "other": 11573963,
    "total": 60274110
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 32247624,
    "benefits": 16452523,
    "other": 11573963,
    "total": 60274110
   },
   {
    "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": 5920206,
    "total": 5920206
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 5920206,
    "total": 5920206
   },
   {
    "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": 3757919,
    "other": 0,
    "total": 3757919
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 3757919,
    "other": 0,
    "total": 3757919
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 38181793,
    "benefits": 20210442,
    "other": 21224808,
    "total": 79617043
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1434625,
    "benefits": 0,
    "other": 1197576,
    "total": 2632201
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1434625,
    "benefits": 0,
    "other": 1197576,
    "total": 2632201
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2761916,
    "benefits": 0,
    "other": 556720,
    "total": 3318636
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2164563,
    "benefits": 0,
    "other": 221151,
    "total": 2385714
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 271985,
    "total": 271985
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 597353,
    "benefits": 0,
    "other": 63584,
    "total": 660937
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1014128,
    "benefits": 0,
    "other": 1273484,
    "total": 2287612
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1014128,
    "benefits": 0,
    "other": 1039575,
    "total": 2053703
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 146606,
    "total": 146606
   },
   {
    "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": 87303,
    "total": 87303
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 220059,
    "benefits": 0,
    "other": 525454,
    "total": 745513
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 225520,
    "total": 225520
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 86442,
    "benefits": 0,
    "other": 4169,
    "total": 90611
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 133617,
    "benefits": 0,
    "other": 295765,
    "total": 429382
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 655443,
    "benefits": 0,
    "other": 332686,
    "total": 988129
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 347118,
    "benefits": 0,
    "other": 161885,
    "total": 509003
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 308325,
    "benefits": 0,
    "other": 170801,
    "total": 479126
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 32338248,
    "benefits": 16858819,
    "other": 11028067,
    "total": 60225134
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 32338248,
    "benefits": 16858819,
    "other": 11028067,
    "total": 60225134
   },
   {
    "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": 5613094,
    "total": 5613094
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 5613094,
    "total": 5613094
   },
   {
    "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": 3780867,
    "other": -767627,
    "total": 3013240
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 3780867,
    "other": -767627,
    "total": 3013240
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 38424419,
    "benefits": 20639686,
    "other": 19759454,
    "total": 78823559
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1482122,
    "benefits": 0,
    "other": 1305975,
    "total": 2788097
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1482122,
    "benefits": 0,
    "other": 1305975,
    "total": 2788097
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2791082,
    "benefits": 0,
    "other": 585586,
    "total": 3376668
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2219715,
    "benefits": 0,
    "other": 269554,
    "total": 2489269
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 276130,
    "total": 276130
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 571367,
    "benefits": 0,
    "other": 39902,
    "total": 611269
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1073962,
    "benefits": 0,
    "other": 1238304,
    "total": 2312266
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1073962,
    "benefits": 0,
    "other": 1038859,
    "total": 2112821
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 53000,
    "total": 53000
   },
   {
    "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": 146445,
    "total": 146445
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 245171,
    "benefits": 0,
    "other": 469175,
    "total": 714346
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 228320,
    "total": 228320
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 93569,
    "benefits": 0,
    "other": 2939,
    "total": 96508
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 151602,
    "benefits": 0,
    "other": 237916,
    "total": 389518
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 719728,
    "benefits": 0,
    "other": 383929,
    "total": 1103657
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 392947,
    "benefits": 0,
    "other": 192690,
    "total": 585637
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 326781,
    "benefits": 0,
    "other": 191239,
    "total": 518020
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 32587211,
    "benefits": 16867491,
    "other": 12186145,
    "total": 61640847
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 32587211,
    "benefits": 16867491,
    "other": 12186145,
    "total": 61640847
   },
   {
    "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": 5524340,
    "total": 5524340
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5524340,
    "total": 5524340
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 4129221,
    "other": 146192,
    "total": 4275413
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 4129221,
    "other": 146192,
    "total": 4275413
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 38899276,
    "benefits": 20996712,
    "other": 21839646,
    "total": 81735634
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1574379,
    "benefits": 0,
    "other": 1477126,
    "total": 3051505
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1574379,
    "benefits": 0,
    "other": 1477126,
    "total": 3051505
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2836555,
    "benefits": 0,
    "other": 692684,
    "total": 3529239
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2275561,
    "benefits": 0,
    "other": 345984,
    "total": 2621545
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 292849,
    "total": 292849
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 560994,
    "benefits": 0,
    "other": 53851,
    "total": 614845
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1037336,
    "benefits": 0,
    "other": 1448948,
    "total": 2486284
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1037336,
    "benefits": 0,
    "other": 1184852,
    "total": 2222188
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 77553,
    "total": 77553
   },
   {
    "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": 186543,
    "total": 186543
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 290379,
    "benefits": 0,
    "other": 294578,
    "total": 584957
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 216904,
    "total": 216904
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 121445,
    "benefits": 0,
    "other": 4910,
    "total": 126355
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 168934,
    "benefits": 0,
    "other": 72764,
    "total": 241698
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 663515,
    "benefits": 0,
    "other": 356269,
    "total": 1019784
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 341028,
    "benefits": 0,
    "other": 191768,
    "total": 532796
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 322487,
    "benefits": 0,
    "other": 164501,
    "total": 486988
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 32970027,
    "benefits": 18409078,
    "other": 12689021,
    "total": 64068126
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 32970027,
    "benefits": 18409078,
    "other": 12689021,
    "total": 64068126
   },
   {
    "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": 5531395,
    "total": 5531395
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5531395,
    "total": 5531395
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 4068199,
    "other": 40013,
    "total": 4108212
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 4068199,
    "other": 40013,
    "total": 4108212
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 39372191,
    "benefits": 22477277,
    "other": 22530034,
    "total": 84379502
   }
  ]
 }
}