{
 "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 Roxbury, including department detail.",
  "town_scope_note": "`function_totals` covers Roxbury 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 Roxbury: 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": "Roxbury",
 "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": 557858,
    "benefits": 213808,
    "other": 114040,
    "total": 885706
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 557858,
    "benefits": 213808,
    "other": 114040,
    "total": 885706
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 68572,
    "benefits": 19246,
    "other": 328664,
    "total": 416482
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 62092,
    "benefits": 4750,
    "other": 9048,
    "total": 75890
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 6480,
    "benefits": 14496,
    "other": 68184,
    "total": 89160
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 251432,
    "total": 251432
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 279110,
    "benefits": 78341,
    "other": 683233,
    "total": 1040684
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 279110,
    "benefits": 78341,
    "other": 0,
    "total": 357451
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 208275,
    "total": 208275
   },
   {
    "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": 474958,
    "total": 474958
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 38147,
    "benefits": 2918,
    "other": 41918,
    "total": 82983
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 31287,
    "total": 31287
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 21565,
    "benefits": 1649,
    "other": 2932,
    "total": 26146
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 16582,
    "benefits": 1269,
    "other": 7699,
    "total": 25550
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 157170,
    "total": 157170
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 147734,
    "total": 147734
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 9436,
    "total": 9436
   },
   {
    "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": 7402022,
    "total": 7402022
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 7402022,
    "total": 7402022
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 238198,
    "total": 238198
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 238198,
    "total": 238198
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 30347,
    "total": 30347
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 30347,
    "total": 30347
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 943687,
    "benefits": 314313,
    "other": 8995592,
    "total": 10253592
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 618298,
    "benefits": 195109,
    "other": 138065,
    "total": 951472
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 618298,
    "benefits": 195109,
    "other": 138065,
    "total": 951472
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 108574,
    "benefits": 21306,
    "other": 306954,
    "total": 436834
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 91897,
    "benefits": 7030,
    "other": 6748,
    "total": 105675
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 11677,
    "benefits": 893,
    "other": 61456,
    "total": 74026
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 5000,
    "benefits": 13383,
    "other": 238750,
    "total": 257133
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 343550,
    "benefits": 175202,
    "other": 738185,
    "total": 1256937
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 343550,
    "benefits": 175202,
    "other": 0,
    "total": 518752
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 230070,
    "total": 230070
   },
   {
    "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": 508115,
    "total": 508115
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 29244,
    "benefits": 2237,
    "other": 39019,
    "total": 70500
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 32025,
    "total": 32025
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 25625,
    "benefits": 1960,
    "other": 6177,
    "total": 33762
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 3619,
    "benefits": 277,
    "other": 817,
    "total": 4713
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 3170,
    "benefits": 243,
    "other": 222013,
    "total": 225426
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 152638,
    "total": 152638
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 3170,
    "benefits": 243,
    "other": 69375,
    "total": 72788
   },
   {
    "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": 6684247,
    "total": 6684247
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 6684247,
    "total": 6684247
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 10476,
    "total": 10476
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 10476,
    "total": 10476
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 30389,
    "total": 30389
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 30389,
    "total": 30389
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1102836,
    "benefits": 394097,
    "other": 8169348,
    "total": 9666281
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 723919,
    "benefits": 104058,
    "other": 360447,
    "total": 1188424
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 723919,
    "benefits": 104058,
    "other": 360447,
    "total": 1188424
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 188544,
    "benefits": 20500,
    "other": 249641,
    "total": 458685
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 82384,
    "benefits": 0,
    "other": 0,
    "total": 82384
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 11877,
    "benefits": 0,
    "other": 0,
    "total": 11877
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 94283,
    "benefits": 20500,
    "other": 249641,
    "total": 364424
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 319892,
    "benefits": 211248,
    "other": 760039,
    "total": 1291179
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 314717,
    "benefits": 211248,
    "other": 0,
    "total": 525965
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 246008,
    "total": 246008
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 5175,
    "benefits": 0,
    "other": 514031,
    "total": 519206
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 41970,
    "benefits": 0,
    "other": 43769,
    "total": 85739
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 32818,
    "total": 32818
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 26876,
    "benefits": 0,
    "other": 0,
    "total": 26876
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 15094,
    "benefits": 0,
    "other": 10951,
    "total": 26045
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 151518,
    "total": 151518
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 125000,
    "total": 125000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 21518,
    "total": 21518
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 5000,
    "total": 5000
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 7430700,
    "total": 7430700
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 7430700,
    "total": 7430700
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 94128,
    "other": 43000,
    "total": 137128
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 94128,
    "other": 43000,
    "total": 137128
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1274325,
    "benefits": 429934,
    "other": 9039114,
    "total": 10743373
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 725606,
    "benefits": 197889,
    "other": 473855,
    "total": 1397350
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 725606,
    "benefits": 197889,
    "other": 473855,
    "total": 1397350
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 181721,
    "benefits": 26000,
    "other": 213089,
    "total": 420810
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 164431,
    "benefits": 0,
    "other": 15350,
    "total": 179781
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 12290,
    "benefits": 13000,
    "other": 65000,
    "total": 90290
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 5000,
    "benefits": 13000,
    "other": 132739,
    "total": 150739
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 322117,
    "benefits": 202383,
    "other": 812060,
    "total": 1336560
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 318306,
    "benefits": 202383,
    "other": 301595,
    "total": 822284
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 850,
    "benefits": 0,
    "other": 236661,
    "total": 237511
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2961,
    "benefits": 0,
    "other": 273804,
    "total": 276765
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 55892,
    "benefits": 0,
    "other": 46798,
    "total": 102690
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 32586,
    "total": 32586
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 29972,
    "benefits": 0,
    "other": 9475,
    "total": 39447
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 25920,
    "benefits": 0,
    "other": 4737,
    "total": 30657
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 183151,
    "total": 183151
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 158930,
    "total": 158930
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 19221,
    "total": 19221
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 5000,
    "total": 5000
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 6447789,
    "total": 6447789
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 6447789,
    "total": 6447789
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 37903,
    "total": 37903
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 37903,
    "total": 37903
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 1285336,
    "benefits": 426272,
    "other": 8214645,
    "total": 9926253
   }
  ]
 }
}