{
 "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 Franklin, including department detail.",
  "town_scope_note": "`function_totals` covers Franklin 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 Franklin: 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": "Franklin",
 "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": 237729,
    "benefits": 14266,
    "other": 604088,
    "total": 856083
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 237729,
    "benefits": 14266,
    "other": 604088,
    "total": 856083
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7678,
    "benefits": 0,
    "other": 175148,
    "total": 182826
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 7678,
    "benefits": 0,
    "other": 160854,
    "total": 168532
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 14294,
    "total": 14294
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 351563,
    "benefits": 67981,
    "other": 149877,
    "total": 569421
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 167954,
    "benefits": 67981,
    "other": 149877,
    "total": 385812
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 183609,
    "benefits": 0,
    "other": 0,
    "total": 183609
   },
   {
    "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": 22899,
    "benefits": 0,
    "other": 175389,
    "total": 198288
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 22899,
    "benefits": 0,
    "other": 37407,
    "total": 60306
   },
   {
    "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": 137982,
    "total": 137982
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 20091,
    "benefits": 0,
    "other": 37111,
    "total": 57202
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 20091,
    "benefits": 0,
    "other": 20091,
    "total": 40182
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 7914,
    "total": 7914
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 9106,
    "total": 9106
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 1877211,
    "benefits": 229030,
    "other": 2794582,
    "total": 4900823
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 1877211,
    "benefits": 229030,
    "other": 2794582,
    "total": 4900823
   },
   {
    "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": 6373066,
    "total": 6373066
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 6373066,
    "total": 6373066
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 7272486,
    "total": 7272486
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 7272486,
    "total": 7272486
   },
   {
    "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": 2517171,
    "benefits": 311277,
    "other": 17581747,
    "total": 20410195
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2878740,
    "benefits": 0,
    "other": 0,
    "total": 2878740
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2878740,
    "benefits": 0,
    "other": 0,
    "total": 2878740
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 138669,
    "benefits": 0,
    "other": 0,
    "total": 138669
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 128507,
    "benefits": 0,
    "other": 0,
    "total": 128507
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 10162,
    "benefits": 0,
    "other": 0,
    "total": 10162
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 568961,
    "benefits": 83744,
    "other": 0,
    "total": 652705
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 180000,
    "benefits": 0,
    "other": 0,
    "total": 180000
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 194752,
    "benefits": 0,
    "other": 0,
    "total": 194752
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 2960,
    "benefits": 0,
    "other": 0,
    "total": 2960
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 191249,
    "benefits": 83744,
    "other": 0,
    "total": 274993
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 16222,
    "benefits": 0,
    "other": 0,
    "total": 16222
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 14380,
    "benefits": 0,
    "other": 0,
    "total": 14380
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 1817,
    "benefits": 0,
    "other": 0,
    "total": 1817
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 25,
    "benefits": 0,
    "other": 0,
    "total": 25
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 110729,
    "benefits": 0,
    "other": 0,
    "total": 110729
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 92979,
    "benefits": 0,
    "other": 0,
    "total": 92979
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 15750,
    "benefits": 0,
    "other": 0,
    "total": 15750
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 2000,
    "benefits": 0,
    "other": 0,
    "total": 2000
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 2193905,
    "benefits": 356041,
    "other": 955027,
    "total": 3504973
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 2193905,
    "benefits": 356041,
    "other": 955027,
    "total": 3504973
   },
   {
    "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": 10299386,
    "total": 10299386
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 10299386,
    "total": 10299386
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 1608206,
    "total": 1608206
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 1608206,
    "total": 1608206
   },
   {
    "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": 5907226,
    "benefits": 439785,
    "other": 12862619,
    "total": 19209630
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 0,
    "benefits": 0,
    "other": 968103,
    "total": 968103
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 0,
    "benefits": 0,
    "other": 968103,
    "total": 968103
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 163177,
    "total": 163177
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 163177,
    "total": 163177
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 0,
    "benefits": 0,
    "other": 562631,
    "total": 562631
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 562631,
    "total": 562631
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 218158,
    "total": 218158
   },
   {
    "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": 218158,
    "total": 218158
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 5126108,
    "total": 5126108
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 5126108,
    "total": 5126108
   },
   {
    "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": 348561,
    "total": 348561
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 348561,
    "total": 348561
   },
   {
    "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": 2852,
    "total": 2852
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 2852,
    "total": 2852
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 0,
    "benefits": 0,
    "other": 7389590,
    "total": 7389590
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 0,
    "benefits": 0,
    "other": 984371,
    "total": 984371
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 0,
    "benefits": 0,
    "other": 984371,
    "total": 984371
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 298234,
    "total": 298234
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 298234,
    "total": 298234
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 0,
    "benefits": 0,
    "other": 557263,
    "total": 557263
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 557263,
    "total": 557263
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 217351,
    "total": 217351
   },
   {
    "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": 217351,
    "total": 217351
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 5303334,
    "total": 5303334
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 5303334,
    "total": 5303334
   },
   {
    "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": 347159,
    "total": 347159
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 347159,
    "total": 347159
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 4208,
    "total": 4208
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 4208,
    "total": 4208
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 0,
    "benefits": 0,
    "other": 7776920,
    "total": 7776920
   }
  ]
 }
}