{
 "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 Plainfield, including department detail.",
  "town_scope_note": "`function_totals` covers Plainfield 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 Plainfield: 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": "Plainfield",
 "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": 702799,
    "benefits": 553764,
    "other": 701759,
    "total": 1958322
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 702799,
    "benefits": 553764,
    "other": 701759,
    "total": 1958322
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1793956,
    "benefits": 810183,
    "other": 779100,
    "total": 3383239
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1730235,
    "benefits": 782308,
    "other": 774100,
    "total": 3286643
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 63721,
    "benefits": 27875,
    "other": 5000,
    "total": 96596
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 673153,
    "benefits": 325000,
    "other": 465714,
    "total": 1463867
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 673153,
    "benefits": 325000,
    "other": 465714,
    "total": 1463867
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 401566,
    "total": 401566
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 401566,
    "total": 401566
   },
   {
    "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": 84963,
    "benefits": 36499,
    "other": 0,
    "total": 121462
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 84963,
    "benefits": 36499,
    "other": 0,
    "total": 121462
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 39954645,
    "benefits": 0,
    "other": 0,
    "total": 39954645
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 39954645,
    "benefits": 0,
    "other": 0,
    "total": 39954645
   },
   {
    "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": 1396150,
    "total": 1396150
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 1396150,
    "total": 1396150
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 999516,
    "total": 999516
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 999516,
    "total": 999516
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 1925599,
    "total": 1925599
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 1925599,
    "total": 1925599
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 43209516,
    "benefits": 1725446,
    "other": 6669404,
    "total": 51604366
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 0,
    "benefits": 3186562,
    "other": 1971809,
    "total": 5158371
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 0,
    "benefits": 3186562,
    "other": 1971809,
    "total": 5158371
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2514519,
    "benefits": 0,
    "other": 0,
    "total": 2514519
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2108304,
    "benefits": 0,
    "other": 0,
    "total": 2108304
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 68890,
    "benefits": 0,
    "other": 0,
    "total": 68890
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 337325,
    "benefits": 0,
    "other": 0,
    "total": 337325
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2270752,
    "benefits": 0,
    "other": 2819994,
    "total": 5090746
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 828373,
    "benefits": 0,
    "other": 251478,
    "total": 1079851
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 1140522,
    "benefits": 0,
    "other": 2568516,
    "total": 3709038
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 301857,
    "benefits": 0,
    "other": 0,
    "total": 301857
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 76665,
    "total": 76665
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 76665,
    "total": 76665
   },
   {
    "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": 374140,
    "benefits": 0,
    "other": 620944,
    "total": 995084
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 28096,
    "benefits": 0,
    "other": 0,
    "total": 28096
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 346044,
    "benefits": 0,
    "other": 620944,
    "total": 966988
   },
   {
    "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": 35070483,
    "total": 35070483
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 35070483,
    "total": 35070483
   },
   {
    "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": 1197300,
    "total": 1197300
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 1197300,
    "total": 1197300
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 612027,
    "total": 612027
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 612027,
    "total": 612027
   },
   {
    "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": 5159411,
    "benefits": 3186562,
    "other": 42369222,
    "total": 50715195
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1774421,
    "benefits": 1075000,
    "other": 2353818,
    "total": 5203239
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1774421,
    "benefits": 1075000,
    "other": 2353818,
    "total": 5203239
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2327291,
    "benefits": 805500,
    "other": 605221,
    "total": 3738012
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 1869202,
    "benefits": 730000,
    "other": 569003,
    "total": 3168205
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 65901,
    "benefits": 28000,
    "other": 7332,
    "total": 101233
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 392188,
    "benefits": 47500,
    "other": 28886,
    "total": 468574
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 928822,
    "benefits": 543115,
    "other": 289392,
    "total": 1761329
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 928822,
    "benefits": 543115,
    "other": 289392,
    "total": 1761329
   },
   {
    "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": 354256,
    "benefits": 76000,
    "other": 75671,
    "total": 505927
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 354256,
    "benefits": 76000,
    "other": 75671,
    "total": 505927
   },
   {
    "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": 117387,
    "benefits": 26000,
    "other": 20436,
    "total": 163823
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 60523,
    "benefits": 0,
    "other": 0,
    "total": 60523
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 56864,
    "benefits": 26000,
    "other": 20436,
    "total": 103300
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 23665539,
    "benefits": 1015331,
    "other": 12087838,
    "total": 36768708
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 23665539,
    "benefits": 1015331,
    "other": 12087838,
    "total": 36768708
   },
   {
    "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": 1377400,
    "total": 1377400
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1377400,
    "total": 1377400
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 964647,
    "total": 964647
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 964647,
    "total": 964647
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 1788544,
    "total": 1788544
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 1788544,
    "total": 1788544
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 29167716,
    "benefits": 3540946,
    "other": 19562967,
    "total": 52271629
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1060047,
    "benefits": 235356,
    "other": 5191477,
    "total": 6486880
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1060047,
    "benefits": 235356,
    "other": 5191477,
    "total": 6486880
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2497853,
    "benefits": 554582,
    "other": 299153,
    "total": 3351588
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2070825,
    "benefits": 459773,
    "other": 223535,
    "total": 2754133
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 66271,
    "benefits": 14713,
    "other": 10864,
    "total": 91848
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 360757,
    "benefits": 80096,
    "other": 64754,
    "total": 505607
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 886446,
    "benefits": 196811,
    "other": 587440,
    "total": 1670697
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 720366,
    "benefits": 159938,
    "other": 193264,
    "total": 1073568
   },
   {
    "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": 166080,
    "benefits": 36873,
    "other": 394176,
    "total": 597129
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 347283,
    "benefits": 49022,
    "other": 239667,
    "total": 635972
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 66139,
    "benefits": 0,
    "other": 0,
    "total": 66139
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 220796,
    "benefits": 49022,
    "other": 218867,
    "total": 488685
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 60348,
    "benefits": 0,
    "other": 20800,
    "total": 81148
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 20421869,
    "benefits": 5853862,
    "other": 10060359,
    "total": 36336090
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 20421869,
    "benefits": 5853862,
    "other": 10060359,
    "total": 36336090
   },
   {
    "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": 1178450,
    "total": 1178450
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1178450,
    "total": 1178450
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1355063,
    "total": 1355063
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1355063,
    "total": 1355063
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 2601064,
    "total": 2601064
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 2601064,
    "total": 2601064
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 25213498,
    "benefits": 6889633,
    "other": 21512673,
    "total": 53615804
   }
  ]
 }
}