{
 "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 Windsor Locks, including department detail.",
  "town_scope_note": "`function_totals` covers Windsor Locks 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 Windsor Locks: 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": "Windsor Locks",
 "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": 1295969,
    "benefits": 0,
    "other": 878088,
    "total": 2174057
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1295969,
    "benefits": 0,
    "other": 878088,
    "total": 2174057
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3771770,
    "benefits": 0,
    "other": 1283533,
    "total": 5055303
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3427004,
    "benefits": 0,
    "other": 740082,
    "total": 4167086
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 325185,
    "benefits": 0,
    "other": 372654,
    "total": 697839
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 19581,
    "benefits": 0,
    "other": 170797,
    "total": 190378
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1148335,
    "benefits": 0,
    "other": 1500678,
    "total": 2649013
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1148335,
    "benefits": 0,
    "other": 429577,
    "total": 1577912
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1062887,
    "total": 1062887
   },
   {
    "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": 8214,
    "total": 8214
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 380775,
    "benefits": 0,
    "other": 101323,
    "total": 482098
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 77782,
    "benefits": 0,
    "other": 17735,
    "total": 95517
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 302993,
    "benefits": 0,
    "other": 83588,
    "total": 386581
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 263124,
    "benefits": 0,
    "other": 521489,
    "total": 784613
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 466040,
    "total": 466040
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 263124,
    "benefits": 0,
    "other": 51153,
    "total": 314277
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 4296,
    "total": 4296
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 36663003,
    "total": 36663003
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 36663003,
    "total": 36663003
   },
   {
    "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": 2772270,
    "total": 2772270
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2772270,
    "total": 2772270
   },
   {
    "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": 3193169,
    "other": 0,
    "total": 3193169
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 3193169,
    "other": 0,
    "total": 3193169
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 6859973,
    "benefits": 3193169,
    "other": 43720384,
    "total": 53773526
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1287373,
    "benefits": 0,
    "other": 883433,
    "total": 2170806
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1287373,
    "benefits": 0,
    "other": 883433,
    "total": 2170806
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3987436,
    "benefits": 0,
    "other": 1322597,
    "total": 5310033
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3653510,
    "benefits": 0,
    "other": 968562,
    "total": 4622072
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 314149,
    "benefits": 0,
    "other": 268731,
    "total": 582880
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 19777,
    "benefits": 0,
    "other": 85304,
    "total": 105081
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1157253,
    "benefits": 0,
    "other": 1555652,
    "total": 2712905
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 31308,
    "benefits": 0,
    "other": 169844,
    "total": 201152
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 866109,
    "total": 866109
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1125945,
    "benefits": 0,
    "other": 519699,
    "total": 1645644
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 379868,
    "benefits": 0,
    "other": 97406,
    "total": 477274
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 76597,
    "benefits": 0,
    "other": 12487,
    "total": 89084
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 303271,
    "benefits": 0,
    "other": 84919,
    "total": 388190
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 164403,
    "benefits": 0,
    "other": 530639,
    "total": 695042
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 467302,
    "total": 467302
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 164403,
    "benefits": 0,
    "other": 59082,
    "total": 223485
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 4255,
    "total": 4255
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 35213877,
    "total": 35213877
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 35213877,
    "total": 35213877
   },
   {
    "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": 3145153,
    "total": 3145153
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 3145153,
    "total": 3145153
   },
   {
    "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": 3365854,
    "other": 0,
    "total": 3365854
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 3365854,
    "other": 0,
    "total": 3365854
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 6976333,
    "benefits": 3365854,
    "other": 42748757,
    "total": 53090944
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1538983,
    "benefits": 0,
    "other": 722306,
    "total": 2261289
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1538983,
    "benefits": 0,
    "other": 722306,
    "total": 2261289
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3895305,
    "benefits": 0,
    "other": 1427787,
    "total": 5323092
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3592429,
    "benefits": 0,
    "other": 482855,
    "total": 4075284
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 282803,
    "benefits": 0,
    "other": 199635,
    "total": 482438
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 20073,
    "benefits": 0,
    "other": 745297,
    "total": 765370
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1230463,
    "benefits": 0,
    "other": 1640855,
    "total": 2871318
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1230463,
    "benefits": 0,
    "other": 501316,
    "total": 1731779
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1139539,
    "total": 1139539
   },
   {
    "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": 331743,
    "benefits": 0,
    "other": 169346,
    "total": 501089
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 331743,
    "benefits": 0,
    "other": 57222,
    "total": 388965
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 112124,
    "total": 112124
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 202851,
    "benefits": 0,
    "other": 532339,
    "total": 735190
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 470185,
    "total": 470185
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 202851,
    "benefits": 0,
    "other": 62154,
    "total": 265005
   },
   {
    "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": 36806157,
    "total": 36806157
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 36806157,
    "total": 36806157
   },
   {
    "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": 2913996,
    "total": 2913996
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 2913996,
    "total": 2913996
   },
   {
    "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": 3444775,
    "other": 460093,
    "total": 3904868
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 3444775,
    "other": 460093,
    "total": 3904868
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 7199345,
    "benefits": 3444775,
    "other": 44672879,
    "total": 55316999
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1499130,
    "benefits": 0,
    "other": 815978,
    "total": 2315108
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1499130,
    "benefits": 0,
    "other": 815978,
    "total": 2315108
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 4087301,
    "benefits": 0,
    "other": 1509401,
    "total": 5596702
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 3746659,
    "benefits": 0,
    "other": 468202,
    "total": 4214861
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 320167,
    "benefits": 0,
    "other": 218211,
    "total": 538378
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 20475,
    "benefits": 0,
    "other": 822988,
    "total": 843463
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1274504,
    "benefits": 0,
    "other": 1678642,
    "total": 2953146
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1274504,
    "benefits": 0,
    "other": 495744,
    "total": 1770248
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 1182898,
    "total": 1182898
   },
   {
    "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": 367265,
    "benefits": 0,
    "other": 161322,
    "total": 528587
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 367265,
    "benefits": 0,
    "other": 50650,
    "total": 417915
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 110672,
    "total": 110672
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 221105,
    "benefits": 0,
    "other": 537821,
    "total": 758926
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 481036,
    "total": 481036
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 221105,
    "benefits": 0,
    "other": 56785,
    "total": 277890
   },
   {
    "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": 38139982,
    "total": 38139982
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 38139982,
    "total": 38139982
   },
   {
    "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": 3308421,
    "total": 3308421
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 3308421,
    "total": 3308421
   },
   {
    "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": 4249669,
    "other": 0,
    "total": 4249669
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 4249669,
    "other": 0,
    "total": 4249669
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 7449305,
    "benefits": 4249669,
    "other": 46151567,
    "total": 57850541
   }
  ]
 }
}