{
 "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 Scotland, including department detail.",
  "town_scope_note": "`function_totals` covers Scotland 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 Scotland: 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": "Scotland",
 "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": 180501,
    "benefits": 88646,
    "other": 189521,
    "total": 458668
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 180501,
    "benefits": 88646,
    "other": 189521,
    "total": 458668
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 140851,
    "benefits": 0,
    "other": 92599,
    "total": 233450
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 86747,
    "total": 86747
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 140851,
    "benefits": 0,
    "other": 5852,
    "total": 146703
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 108478,
    "benefits": 0,
    "other": 247149,
    "total": 355627
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 107271,
    "benefits": 0,
    "other": 77152,
    "total": 184423
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 106061,
    "total": 106061
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1207,
    "benefits": 0,
    "other": 63936,
    "total": 65143
   },
   {
    "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": 31084,
    "benefits": 0,
    "other": 12662,
    "total": 43746
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 31084,
    "benefits": 0,
    "other": 11056,
    "total": 42140
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 1606,
    "total": 1606
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1637006,
    "benefits": 616280,
    "other": 2835548,
    "total": 5088834
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1637006,
    "benefits": 616280,
    "other": 358917,
    "total": 2612203
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 2476631,
    "total": 2476631
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 275131,
    "total": 275131
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 275131,
    "total": 275131
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 62346,
    "total": 62346
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 62346,
    "total": 62346
   },
   {
    "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": 2097920,
    "benefits": 704926,
    "other": 3714956,
    "total": 6517802
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 161324,
    "benefits": 85448,
    "other": 173069,
    "total": 419841
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 161324,
    "benefits": 85448,
    "other": 173069,
    "total": 419841
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 142015,
    "benefits": 0,
    "other": 93654,
    "total": 235669
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 89109,
    "total": 89109
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 142015,
    "benefits": 0,
    "other": 4545,
    "total": 146560
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 108954,
    "benefits": 2000,
    "other": 256442,
    "total": 367396
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 107206,
    "benefits": 2000,
    "other": 87768,
    "total": 196974
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 105595,
    "total": 105595
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1748,
    "benefits": 0,
    "other": 63079,
    "total": 64827
   },
   {
    "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": 28671,
    "benefits": 0,
    "other": 12243,
    "total": 40914
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 28671,
    "benefits": 0,
    "other": 10291,
    "total": 38962
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 1952,
    "total": 1952
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1572281,
    "benefits": 533186,
    "other": 2924352,
    "total": 5029819
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1572281,
    "benefits": 533186,
    "other": 496894,
    "total": 2602361
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 2427458,
    "total": 2427458
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 308135,
    "total": 308135
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 308135,
    "total": 308135
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 465670,
    "total": 465670
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 465670,
    "total": 465670
   },
   {
    "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": 2013245,
    "benefits": 620634,
    "other": 4233565,
    "total": 6867444
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 171367,
    "benefits": 88689,
    "other": 168618,
    "total": 428674
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 171367,
    "benefits": 88689,
    "other": 168618,
    "total": 428674
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 138795,
    "benefits": 0,
    "other": 99399,
    "total": 238194
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 85378,
    "total": 85378
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 138795,
    "benefits": 0,
    "other": 14021,
    "total": 152816
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 130228,
    "benefits": 0,
    "other": 262844,
    "total": 393072
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 130228,
    "benefits": 0,
    "other": 87192,
    "total": 217420
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 106530,
    "total": 106530
   },
   {
    "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": 69122,
    "total": 69122
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 15256,
    "total": 15256
   },
   {
    "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": 15256,
    "total": 15256
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 34115,
    "benefits": 0,
    "other": 14718,
    "total": 48833
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 34115,
    "benefits": 0,
    "other": 10958,
    "total": 45073
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 3760,
    "total": 3760
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1491892,
    "benefits": 477893,
    "other": 2856150,
    "total": 4825935
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1491892,
    "benefits": 477893,
    "other": 753965,
    "total": 2723750
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 2102185,
    "total": 2102185
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 300884,
    "total": 300884
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 300884,
    "total": 300884
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 75000,
    "total": 75000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 75000,
    "total": 75000
   },
   {
    "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": 1966397,
    "benefits": 566582,
    "other": 3792869,
    "total": 6325848
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 188623,
    "benefits": 54856,
    "other": 215009,
    "total": 458488
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 188623,
    "benefits": 54856,
    "other": 215009,
    "total": 458488
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 159995,
    "benefits": 0,
    "other": 106982,
    "total": 266977
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 82255,
    "total": 82255
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 159995,
    "benefits": 0,
    "other": 24727,
    "total": 184722
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 121242,
    "benefits": 2000,
    "other": 313470,
    "total": 436712
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 121242,
    "benefits": 2000,
    "other": 114381,
    "total": 237623
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 109807,
    "total": 109807
   },
   {
    "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": 89282,
    "total": 89282
   },
   {
    "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": 39001,
    "benefits": 0,
    "other": 18124,
    "total": 57125
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 39001,
    "benefits": 0,
    "other": 13625,
    "total": 52626
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 4499,
    "total": 4499
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1265433,
    "benefits": 539528,
    "other": 2920955,
    "total": 4725916
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1265433,
    "benefits": 539528,
    "other": 560882,
    "total": 2365843
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 2360073,
    "total": 2360073
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 318634,
    "total": 318634
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 318634,
    "total": 318634
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 140802,
    "total": 140802
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 140802,
    "total": 140802
   },
   {
    "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": 1774294,
    "benefits": 596384,
    "other": 4033976,
    "total": 6404654
   }
  ]
 }
}