{
 "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 Fairfield, including department detail.",
  "town_scope_note": "`function_totals` covers Fairfield 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 Fairfield: 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": "Fairfield",
 "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": 6916000,
    "benefits": 494000,
    "other": 9951000,
    "total": 17361000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 6916000,
    "benefits": 494000,
    "other": 9951000,
    "total": 17361000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 27184000,
    "benefits": 479000,
    "other": 3085000,
    "total": 30748000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 13464000,
    "benefits": 210000,
    "other": 1159000,
    "total": 14833000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 12414000,
    "benefits": 178000,
    "other": 972000,
    "total": 13564000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1306000,
    "benefits": 91000,
    "other": 954000,
    "total": 2351000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 6078000,
    "benefits": 430000,
    "other": 13305000,
    "total": 19813000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 236000,
    "benefits": 13000,
    "other": 4213000,
    "total": 4462000
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 5842000,
    "benefits": 417000,
    "other": 9092000,
    "total": 15351000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3213000,
    "benefits": 191000,
    "other": 289000,
    "total": 3693000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 2740000,
    "benefits": 175000,
    "other": 63000,
    "total": 2978000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 473000,
    "benefits": 16000,
    "other": 226000,
    "total": 715000
   },
   {
    "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": 4206000,
    "benefits": 241000,
    "other": 1991000,
    "total": 6438000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 2446000,
    "benefits": 160000,
    "other": 882000,
    "total": 3488000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1760000,
    "benefits": 81000,
    "other": 1109000,
    "total": 2950000
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 112973000,
    "benefits": 57762000,
    "other": 34626000,
    "total": 205361000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 112973000,
    "benefits": 57762000,
    "other": 34626000,
    "total": 205361000
   },
   {
    "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": 22773000,
    "total": 22773000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 22773000,
    "total": 22773000
   },
   {
    "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": 29910000,
    "other": 2261000,
    "total": 32171000
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 29910000,
    "other": 2261000,
    "total": 32171000
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 160570000,
    "benefits": 89507000,
    "other": 88281000,
    "total": 338358000
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 5664000,
    "benefits": 28690000,
    "other": 9376000,
    "total": 43730000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5664000,
    "benefits": 28690000,
    "other": 9376000,
    "total": 43730000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 27792000,
    "benefits": 494000,
    "other": 4699000,
    "total": 32985000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 13617000,
    "benefits": 221000,
    "other": 1176000,
    "total": 15014000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 12916000,
    "benefits": 186000,
    "other": 963000,
    "total": 14065000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1259000,
    "benefits": 87000,
    "other": 2560000,
    "total": 3906000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 7058000,
    "benefits": 504000,
    "other": 8966000,
    "total": 16528000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 5178000,
    "benefits": 372000,
    "other": 4751000,
    "total": 10301000
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 178000,
    "benefits": 9000,
    "other": 4153000,
    "total": 4340000
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1702000,
    "benefits": 123000,
    "other": 62000,
    "total": 1887000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3164000,
    "benefits": 192000,
    "other": 166000,
    "total": 3522000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 2736000,
    "benefits": 174000,
    "other": 51000,
    "total": 2961000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 428000,
    "benefits": 18000,
    "other": 115000,
    "total": 561000
   },
   {
    "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": 4303000,
    "benefits": 252000,
    "other": 1962000,
    "total": 6517000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 2242000,
    "benefits": 160000,
    "other": 814000,
    "total": 3216000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 2061000,
    "benefits": 92000,
    "other": 1148000,
    "total": 3301000
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 117373000,
    "benefits": 57417000,
    "other": 37897000,
    "total": 212687000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 117373000,
    "benefits": 57417000,
    "other": 37897000,
    "total": 212687000
   },
   {
    "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": 22618000,
    "total": 22618000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 22618000,
    "total": 22618000
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 1966000,
    "total": 1966000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 1966000,
    "total": 1966000
   },
   {
    "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": 165354000,
    "benefits": 87549000,
    "other": 87650000,
    "total": 340553000
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 5976000,
    "benefits": 30441000,
    "other": 9560000,
    "total": 45977000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 5976000,
    "benefits": 30441000,
    "other": 9560000,
    "total": 45977000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 29356000,
    "benefits": 533000,
    "other": 4295000,
    "total": 34184000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 14347000,
    "benefits": 230000,
    "other": 1246000,
    "total": 15823000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 13490000,
    "benefits": 194000,
    "other": 986000,
    "total": 14670000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1519000,
    "benefits": 109000,
    "other": 2063000,
    "total": 3691000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 6575000,
    "benefits": 454000,
    "other": 8997000,
    "total": 16026000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 4710000,
    "benefits": 323000,
    "other": 4662000,
    "total": 9695000
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 123000,
    "benefits": 5000,
    "other": 3793000,
    "total": 3921000
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 1742000,
    "benefits": 126000,
    "other": 542000,
    "total": 2410000
   },
   {
    "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": 3379000,
    "benefits": 203000,
    "other": 173000,
    "total": 3755000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 2922000,
    "benefits": 185000,
    "other": 74000,
    "total": 3181000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 457000,
    "benefits": 18000,
    "other": 99000,
    "total": 574000
   },
   {
    "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": 5521000,
    "benefits": 316000,
    "other": 3428000,
    "total": 9265000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 2703000,
    "benefits": 175000,
    "other": 855000,
    "total": 3733000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 2818000,
    "benefits": 141000,
    "other": 2573000,
    "total": 5532000
   },
   {
    "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": 218902000,
    "total": 218902000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 218902000,
    "total": 218902000
   },
   {
    "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": 24860000,
    "total": 24860000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 24860000,
    "total": 24860000
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1859000,
    "total": 1859000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1859000,
    "total": 1859000
   },
   {
    "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": 50807000,
    "benefits": 31947000,
    "other": 272074000,
    "total": 354828000
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 6357000,
    "benefits": 31792000,
    "other": 7130000,
    "total": 45279000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 6357000,
    "benefits": 31792000,
    "other": 7130000,
    "total": 45279000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 27587000,
    "benefits": 444000,
    "other": 6034000,
    "total": 34065000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 14306000,
    "benefits": 233000,
    "other": 1197000,
    "total": 15736000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 12899000,
    "benefits": 190000,
    "other": 1092000,
    "total": 14181000
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 382000,
    "benefits": 21000,
    "other": 3745000,
    "total": 4148000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 6281000,
    "benefits": 449000,
    "other": 9606000,
    "total": 16336000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 4510000,
    "benefits": 323000,
    "other": 4771000,
    "total": 9604000
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 141000,
    "benefits": 6000,
    "other": 4266000,
    "total": 4413000
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1630000,
    "benefits": 120000,
    "other": 569000,
    "total": 2319000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3641000,
    "benefits": 221000,
    "other": 196000,
    "total": 4058000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 3116000,
    "benefits": 194000,
    "other": 70000,
    "total": 3380000
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 525000,
    "benefits": 27000,
    "other": 126000,
    "total": 678000
   },
   {
    "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": 5954000,
    "benefits": 339000,
    "other": 3355000,
    "total": 9648000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 2696000,
    "benefits": 178000,
    "other": 884000,
    "total": 3758000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 3258000,
    "benefits": 161000,
    "other": 2471000,
    "total": 5890000
   },
   {
    "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": 232752000,
    "total": 232752000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 232752000,
    "total": 232752000
   },
   {
    "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": 23382000,
    "total": 23382000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 23382000,
    "total": 23382000
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 4139000,
    "total": 4139000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 4139000,
    "total": 4139000
   },
   {
    "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": 49820000,
    "benefits": 33245000,
    "other": 286594000,
    "total": 369659000
   }
  ]
 }
}