{
 "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 Sprague, including department detail.",
  "town_scope_note": "`function_totals` covers Sprague 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 Sprague: 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": "Sprague",
 "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": 318249,
    "benefits": 0,
    "other": 162315,
    "total": 480564
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 318249,
    "benefits": 0,
    "other": 162315,
    "total": 480564
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 35118,
    "benefits": 0,
    "other": 318454,
    "total": 353572
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 196340,
    "total": 196340
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 28863,
    "benefits": 0,
    "other": 120757,
    "total": 149620
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 6255,
    "benefits": 0,
    "other": 1357,
    "total": 7612
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 227950,
    "benefits": 0,
    "other": 316910,
    "total": 544860
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 227950,
    "benefits": 0,
    "other": 165325,
    "total": 393275
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 128261,
    "total": 128261
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 8078,
    "total": 8078
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 15246,
    "total": 15246
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 66437,
    "benefits": 0,
    "other": 58648,
    "total": 125085
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 66437,
    "benefits": 0,
    "other": 20416,
    "total": 86853
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 38232,
    "total": 38232
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 56110,
    "benefits": 0,
    "other": 45747,
    "total": 101857
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 47989,
    "benefits": 0,
    "other": 10925,
    "total": 58914
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 24447,
    "total": 24447
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 8121,
    "benefits": 0,
    "other": 10375,
    "total": 18496
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 7538045,
    "total": 7538045
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 7538045,
    "total": 7538045
   },
   {
    "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": 924973,
    "total": 924973
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 924973,
    "total": 924973
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 12403,
    "total": 12403
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 12403,
    "total": 12403
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 2769,
    "benefits": 218484,
    "other": 83952,
    "total": 305205
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 2769,
    "benefits": 218484,
    "other": 83952,
    "total": 305205
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 706633,
    "benefits": 218484,
    "other": 9461447,
    "total": 10386564
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 307048,
    "benefits": 0,
    "other": 159856,
    "total": 466904
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 307048,
    "benefits": 0,
    "other": 159856,
    "total": 466904
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 35009,
    "benefits": 0,
    "other": 300835,
    "total": 335844
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 177348,
    "total": 177348
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 28718,
    "benefits": 0,
    "other": 122060,
    "total": 150778
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 6291,
    "benefits": 0,
    "other": 1427,
    "total": 7718
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 219634,
    "benefits": 0,
    "other": 307008,
    "total": 526642
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 219634,
    "benefits": 0,
    "other": 156494,
    "total": 376128
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 126214,
    "total": 126214
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 6907,
    "total": 6907
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 17393,
    "total": 17393
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 50318,
    "benefits": 0,
    "other": 48129,
    "total": 98447
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 50318,
    "benefits": 0,
    "other": 7725,
    "total": 58043
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 40404,
    "total": 40404
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 64776,
    "benefits": 0,
    "other": 27615,
    "total": 92391
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 57337,
    "benefits": 0,
    "other": 7659,
    "total": 64996
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 3382,
    "total": 3382
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 7439,
    "benefits": 0,
    "other": 16574,
    "total": 24013
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 7092169,
    "total": 7092169
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 7092169,
    "total": 7092169
   },
   {
    "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": 892426,
    "total": 892426
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 892426,
    "total": 892426
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 12919,
    "total": 12919
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 12919,
    "total": 12919
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 5998,
    "benefits": 235160,
    "other": 67428,
    "total": 308586
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 5998,
    "benefits": 235160,
    "other": 67428,
    "total": 308586
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 682783,
    "benefits": 235160,
    "other": 8908385,
    "total": 9826328
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 305233,
    "benefits": 0,
    "other": 195591,
    "total": 500824
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 305233,
    "benefits": 0,
    "other": 195591,
    "total": 500824
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 34815,
    "benefits": 0,
    "other": 306496,
    "total": 341311
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 182748,
    "total": 182748
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 28488,
    "benefits": 0,
    "other": 122306,
    "total": 150794
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 6327,
    "benefits": 0,
    "other": 1442,
    "total": 7769
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 221446,
    "benefits": 0,
    "other": 372916,
    "total": 594362
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 221446,
    "benefits": 0,
    "other": 208583,
    "total": 430029
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 146011,
    "total": 146011
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 7167,
    "total": 7167
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 11155,
    "total": 11155
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 51797,
    "benefits": 0,
    "other": 51179,
    "total": 102976
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 51797,
    "benefits": 0,
    "other": 9321,
    "total": 61118
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 41858,
    "total": 41858
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 72849,
    "benefits": 0,
    "other": 24627,
    "total": 97476
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 69264,
    "benefits": 0,
    "other": 9603,
    "total": 78867
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 3395,
    "total": 3395
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 3585,
    "benefits": 0,
    "other": 11629,
    "total": 15214
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 7218658,
    "total": 7218658
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 7218658,
    "total": 7218658
   },
   {
    "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": 780570,
    "total": 780570
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 780570,
    "total": 780570
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 6093,
    "total": 6093
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 6093,
    "total": 6093
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": -24879,
    "benefits": 226031,
    "other": 67509,
    "total": 268661
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": -24879,
    "benefits": 226031,
    "other": 67509,
    "total": 268661
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 661261,
    "benefits": 226031,
    "other": 9023639,
    "total": 9910931
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 295572,
    "benefits": 0,
    "other": 168664,
    "total": 464236
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 295572,
    "benefits": 0,
    "other": 168664,
    "total": 464236
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 35284,
    "benefits": 0,
    "other": 284846,
    "total": 320130
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 166058,
    "total": 166058
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 28885,
    "benefits": 0,
    "other": 117395,
    "total": 146280
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 6399,
    "benefits": 0,
    "other": 1393,
    "total": 7792
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 205891,
    "benefits": 0,
    "other": 344627,
    "total": 550518
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 205891,
    "benefits": 0,
    "other": 171656,
    "total": 377547
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 150842,
    "total": 150842
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 7471,
    "total": 7471
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 14658,
    "total": 14658
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 29085,
    "benefits": 0,
    "other": 48738,
    "total": 77823
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 29085,
    "benefits": 0,
    "other": 8577,
    "total": 37662
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 40161,
    "total": 40161
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 74851,
    "benefits": 0,
    "other": 23742,
    "total": 98593
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 70831,
    "benefits": 0,
    "other": 9875,
    "total": 80706
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 3319,
    "total": 3319
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 4020,
    "benefits": 0,
    "other": 10548,
    "total": 14568
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 7539665,
    "total": 7539665
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 7539665,
    "total": 7539665
   },
   {
    "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": 749241,
    "total": 749241
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 749241,
    "total": 749241
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 18802,
    "total": 18802
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 18802,
    "total": 18802
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 3167,
    "benefits": 256786,
    "other": 84270,
    "total": 344223
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 3167,
    "benefits": 256786,
    "other": 84270,
    "total": 344223
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 643850,
    "benefits": 256786,
    "other": 9262595,
    "total": 10163231
   }
  ]
 }
}