{
 "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 Salem, including department detail.",
  "town_scope_note": "`function_totals` covers Salem 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 Salem: 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": "Salem",
 "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": 467623,
    "benefits": 112232,
    "other": 706035,
    "total": 1285890
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 467623,
    "benefits": 112232,
    "other": 706035,
    "total": 1285890
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 225429,
    "benefits": 54104,
    "other": 564111,
    "total": 843644
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 308607,
    "total": 308607
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 225429,
    "benefits": 54104,
    "other": 206141,
    "total": 485674
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 49363,
    "total": 49363
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 342519,
    "benefits": 82206,
    "other": 367470,
    "total": 792195
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 342519,
    "benefits": 82206,
    "other": 203623,
    "total": 628348
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 163847,
    "total": 163847
   },
   {
    "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": 2266,
    "benefits": 544,
    "other": 42902,
    "total": 45712
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 42902,
    "total": 42902
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 2266,
    "benefits": 544,
    "other": 0,
    "total": 2810
   },
   {
    "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": 129333,
    "benefits": 31041,
    "other": 64251,
    "total": 224625
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 119672,
    "benefits": 28722,
    "other": 36650,
    "total": 185044
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 9661,
    "benefits": 2319,
    "other": 27601,
    "total": 39581
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 4088367,
    "benefits": 634612,
    "other": 6933655,
    "total": 11656634
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 4088367,
    "benefits": 634612,
    "other": 6933655,
    "total": 11656634
   },
   {
    "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": 519768,
    "total": 519768
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 519768,
    "total": 519768
   },
   {
    "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": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 5255537,
    "benefits": 914739,
    "other": 9198192,
    "total": 15368468
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 513035,
    "benefits": 307363,
    "other": 662806,
    "total": 1483204
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 513035,
    "benefits": 307363,
    "other": 662806,
    "total": 1483204
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 883242,
    "total": 883242
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 319204,
    "total": 319204
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 395658,
    "total": 395658
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 168380,
    "total": 168380
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 352673,
    "benefits": 0,
    "other": 457818,
    "total": 810491
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 352673,
    "benefits": 0,
    "other": 287668,
    "total": 640341
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 170150,
    "total": 170150
   },
   {
    "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": 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": 131621,
    "benefits": 0,
    "other": 63308,
    "total": 194929
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 121430,
    "benefits": 0,
    "other": 38785,
    "total": 160215
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 10191,
    "benefits": 0,
    "other": 0,
    "total": 10191
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 24523,
    "total": 24523
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 3906417,
    "benefits": 1816604,
    "other": 6717316,
    "total": 12440337
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 3906417,
    "benefits": 1816604,
    "other": 6717316,
    "total": 12440337
   },
   {
    "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": 505393,
    "total": 505393
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 505393,
    "total": 505393
   },
   {
    "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": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 4903746,
    "benefits": 2123967,
    "other": 9289883,
    "total": 16317596
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 595976,
    "benefits": 380720,
    "other": 647003,
    "total": 1623699
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 595976,
    "benefits": 380720,
    "other": 647003,
    "total": 1623699
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 229153,
    "benefits": 0,
    "other": 710333,
    "total": 939486
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 301364,
    "total": 301364
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 229153,
    "benefits": 0,
    "other": 236632,
    "total": 465785
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 172337,
    "total": 172337
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 418723,
    "benefits": 0,
    "other": 482935,
    "total": 901658
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 418723,
    "benefits": 0,
    "other": 311564,
    "total": 730287
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 171371,
    "total": 171371
   },
   {
    "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": 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": 142217,
    "benefits": 0,
    "other": 77719,
    "total": 219936
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 127786,
    "benefits": 0,
    "other": 49132,
    "total": 176918
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 14431,
    "benefits": 0,
    "other": 28587,
    "total": 43018
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 4411637,
    "benefits": 1934848,
    "other": 5627843,
    "total": 11974328
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 4411637,
    "benefits": 1934848,
    "other": 5627843,
    "total": 11974328
   },
   {
    "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": 402375,
    "total": 402375
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 402375,
    "total": 402375
   },
   {
    "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": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 5797706,
    "benefits": 2315568,
    "other": 7948208,
    "total": 16061482
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 545024,
    "benefits": 392649,
    "other": 841707,
    "total": 1779380
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 545024,
    "benefits": 392649,
    "other": 841707,
    "total": 1779380
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 229676,
    "benefits": 0,
    "other": 689964,
    "total": 919640
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 287218,
    "total": 287218
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 229676,
    "benefits": 0,
    "other": 238467,
    "total": 468143
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 164279,
    "total": 164279
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 418283,
    "benefits": 0,
    "other": 499975,
    "total": 918258
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 418283,
    "benefits": 0,
    "other": 318914,
    "total": 737197
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 181061,
    "total": 181061
   },
   {
    "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": 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": 148291,
    "benefits": 0,
    "other": 86804,
    "total": 235095
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 132194,
    "benefits": 0,
    "other": 39350,
    "total": 171544
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 16097,
    "benefits": 0,
    "other": 47454,
    "total": 63551
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 4455767,
    "benefits": 2071705,
    "other": 5651173,
    "total": 12178645
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 4455767,
    "benefits": 2071705,
    "other": 5651173,
    "total": 12178645
   },
   {
    "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": 463500,
    "total": 463500
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 463500,
    "total": 463500
   },
   {
    "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": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 5797041,
    "benefits": 2464354,
    "other": 8233123,
    "total": 16494518
   }
  ]
 }
}