{
 "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 Granby, including department detail.",
  "town_scope_note": "`function_totals` covers Granby 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 Granby: 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": "Granby",
 "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": 1023934,
    "benefits": 2471905,
    "other": 741791,
    "total": 4237630
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1023934,
    "benefits": 2471905,
    "other": 741791,
    "total": 4237630
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2204759,
    "benefits": 0,
    "other": 568867,
    "total": 2773626
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2024921,
    "benefits": 0,
    "other": 99414,
    "total": 2124335
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 24570,
    "benefits": 0,
    "other": 314599,
    "total": 339169
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 155268,
    "benefits": 0,
    "other": 154854,
    "total": 310122
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1360987,
    "benefits": 0,
    "other": 1583941,
    "total": 2944928
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 23952,
    "benefits": 0,
    "other": 797433,
    "total": 821385
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1337035,
    "benefits": 0,
    "other": 786508,
    "total": 2123543
   },
   {
    "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": 709089,
    "benefits": 0,
    "other": 102827,
    "total": 811916
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 419945,
    "benefits": 0,
    "other": 96805,
    "total": 516750
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 95111,
    "benefits": 0,
    "other": 0,
    "total": 95111
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 194033,
    "benefits": 0,
    "other": 6022,
    "total": 200055
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 18426284,
    "benefits": 4881704,
    "other": 11266796,
    "total": 34574784
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 18426284,
    "benefits": 4881704,
    "other": 11266796,
    "total": 34574784
   },
   {
    "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": 2767355,
    "total": 2767355
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2767355,
    "total": 2767355
   },
   {
    "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": 23725053,
    "benefits": 7353609,
    "other": 17031577,
    "total": 48110239
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1083450,
    "benefits": 2655328,
    "other": 1201500,
    "total": 4940278
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1083450,
    "benefits": 2655328,
    "other": 1201500,
    "total": 4940278
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2224157,
    "benefits": 0,
    "other": 573784,
    "total": 2797941
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2055601,
    "benefits": 0,
    "other": 96303,
    "total": 2151904
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 27027,
    "benefits": 0,
    "other": 315499,
    "total": 342526
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 141529,
    "benefits": 0,
    "other": 161982,
    "total": 303511
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1399363,
    "benefits": 0,
    "other": 1724890,
    "total": 3124253
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 22667,
    "benefits": 0,
    "other": 847928,
    "total": 870595
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1376696,
    "benefits": 0,
    "other": 876962,
    "total": 2253658
   },
   {
    "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": 689373,
    "benefits": 0,
    "other": 110282,
    "total": 799655
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 409941,
    "benefits": 0,
    "other": 96732,
    "total": 506673
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 96775,
    "benefits": 0,
    "other": 0,
    "total": 96775
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 182657,
    "benefits": 0,
    "other": 13550,
    "total": 196207
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 19151212,
    "benefits": 5324880,
    "other": 11536737,
    "total": 36012829
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 19151212,
    "benefits": 5324880,
    "other": 11536737,
    "total": 36012829
   },
   {
    "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": 2128247,
    "total": 2128247
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 2128247,
    "total": 2128247
   },
   {
    "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": 24547555,
    "benefits": 7980208,
    "other": 17275440,
    "total": 49803203
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1110589,
    "benefits": 2800325,
    "other": 2930971,
    "total": 6841885
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1110589,
    "benefits": 2800325,
    "other": 2930971,
    "total": 6841885
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2293966,
    "benefits": 0,
    "other": 598980,
    "total": 2892946
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2094239,
    "benefits": 0,
    "other": 107806,
    "total": 2202045
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 28074,
    "benefits": 0,
    "other": 320528,
    "total": 348602
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 171653,
    "benefits": 0,
    "other": 170646,
    "total": 342299
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1450076,
    "benefits": 0,
    "other": 1792509,
    "total": 3242585
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 20227,
    "benefits": 0,
    "other": 908350,
    "total": 928577
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1429849,
    "benefits": 0,
    "other": 884159,
    "total": 2314008
   },
   {
    "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": 796635,
    "benefits": 0,
    "other": 113633,
    "total": 910268
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 461942,
    "benefits": 0,
    "other": 102740,
    "total": 564682
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 98711,
    "benefits": 0,
    "other": 0,
    "total": 98711
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 235982,
    "benefits": 0,
    "other": 10893,
    "total": 246875
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 19223496,
    "benefits": 5670437,
    "other": 12309401,
    "total": 37203334
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 19223496,
    "benefits": 5670437,
    "other": 12309401,
    "total": 37203334
   },
   {
    "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": 1455000,
    "total": 1455000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1455000,
    "total": 1455000
   },
   {
    "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": 24874762,
    "benefits": 8470762,
    "other": 19200494,
    "total": 52546018
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1226705,
    "benefits": 2859355,
    "other": 929218,
    "total": 5015278
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1226705,
    "benefits": 2859355,
    "other": 929218,
    "total": 5015278
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 2327786,
    "benefits": 0,
    "other": 640376,
    "total": 2968162
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2132189,
    "benefits": 0,
    "other": 119581,
    "total": 2251770
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 29614,
    "benefits": 0,
    "other": 339487,
    "total": 369101
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 165983,
    "benefits": 0,
    "other": 181308,
    "total": 347291
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1412742,
    "benefits": 0,
    "other": 1870932,
    "total": 3283674
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 22763,
    "benefits": 0,
    "other": 963919,
    "total": 986682
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1389979,
    "benefits": 0,
    "other": 907013,
    "total": 2296992
   },
   {
    "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": 798040,
    "benefits": 0,
    "other": 109145,
    "total": 907185
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 481119,
    "benefits": 0,
    "other": 90497,
    "total": 571616
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 101179,
    "benefits": 0,
    "other": 0,
    "total": 101179
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 215742,
    "benefits": 0,
    "other": 18648,
    "total": 234390
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 19634492,
    "benefits": 5678845,
    "other": 14323999,
    "total": 39637336
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 19634492,
    "benefits": 5678845,
    "other": 14323999,
    "total": 39637336
   },
   {
    "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": 1735606,
    "total": 1735606
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1735606,
    "total": 1735606
   },
   {
    "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": 25399765,
    "benefits": 8538200,
    "other": 19609276,
    "total": 53547241
   }
  ]
 }
}