{
 "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 Brooklyn, including department detail.",
  "town_scope_note": "`function_totals` covers Brooklyn 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 Brooklyn: 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": "Brooklyn",
 "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": 695195,
    "benefits": 0,
    "other": 375124,
    "total": 1070319
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 695195,
    "benefits": 0,
    "other": 375124,
    "total": 1070319
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 375,
    "benefits": 98751,
    "other": 665623,
    "total": 764749
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 185751,
    "total": 185751
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 375,
    "benefits": 98751,
    "other": 272533,
    "total": 371659
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 207339,
    "total": 207339
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 376707,
    "benefits": 0,
    "other": 853613,
    "total": 1230320
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 343954,
    "benefits": 0,
    "other": 378412,
    "total": 722366
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 32753,
    "benefits": 0,
    "other": 325220,
    "total": 357973
   },
   {
    "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": 149981,
    "total": 149981
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 86892,
    "total": 86892
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 86892,
    "total": 86892
   },
   {
    "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": 340163,
    "benefits": 45039,
    "other": 255718,
    "total": 640920
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 143117,
    "total": 143117
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 274704,
    "benefits": 45039,
    "other": 0,
    "total": 319743
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 65459,
    "benefits": 0,
    "other": 112601,
    "total": 178060
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 7709812,
    "benefits": 2069737,
    "other": 11319806,
    "total": 21099355
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 7709812,
    "benefits": 2069737,
    "other": 11319806,
    "total": 21099355
   },
   {
    "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": 20825,
    "total": 20825
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 20825,
    "total": 20825
   },
   {
    "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": 610045,
    "other": 143764,
    "total": 753809
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 610045,
    "other": 143764,
    "total": 753809
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 9122252,
    "benefits": 2823572,
    "other": 13721365,
    "total": 25667189
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 599949,
    "benefits": 0,
    "other": 325631,
    "total": 925580
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 599949,
    "benefits": 0,
    "other": 325631,
    "total": 925580
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 56244,
    "benefits": 24500,
    "other": 620560,
    "total": 701304
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 180026,
    "total": 180026
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 56244,
    "benefits": 24500,
    "other": 367229,
    "total": 447973
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 73305,
    "total": 73305
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 474793,
    "benefits": 0,
    "other": 785836,
    "total": 1260629
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 437420,
    "benefits": 0,
    "other": 396630,
    "total": 834050
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 37373,
    "benefits": 0,
    "other": 292111,
    "total": 329484
   },
   {
    "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": 97095,
    "total": 97095
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 95989,
    "total": 95989
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 89910,
    "total": 89910
   },
   {
    "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": 6079,
    "total": 6079
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 325986,
    "benefits": 0,
    "other": 302063,
    "total": 628049
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 146057,
    "total": 146057
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 243537,
    "benefits": 0,
    "other": 30594,
    "total": 274131
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 82449,
    "benefits": 0,
    "other": 125412,
    "total": 207861
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 7855344,
    "benefits": 2257543,
    "other": 11340946,
    "total": 21453833
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 7855344,
    "benefits": 2257543,
    "other": 11340946,
    "total": 21453833
   },
   {
    "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": 29439,
    "total": 29439
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 29439,
    "total": 29439
   },
   {
    "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": 109847,
    "benefits": 670502,
    "other": 150437,
    "total": 930786
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 109847,
    "benefits": 670502,
    "other": 150437,
    "total": 930786
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 9422163,
    "benefits": 2952545,
    "other": 13650901,
    "total": 26025609
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 661270,
    "benefits": 0,
    "other": 429632,
    "total": 1090902
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 661270,
    "benefits": 0,
    "other": 429632,
    "total": 1090902
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 59252,
    "benefits": 0,
    "other": 692236,
    "total": 751488
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 184395,
    "total": 184395
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 59252,
    "benefits": 0,
    "other": 431142,
    "total": 490394
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 76699,
    "total": 76699
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 469082,
    "benefits": 0,
    "other": 854081,
    "total": 1323163
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 339264,
    "benefits": 0,
    "other": 478726,
    "total": 817990
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 45662,
    "benefits": 0,
    "other": 312092,
    "total": 357754
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 84156,
    "benefits": 0,
    "other": 63263,
    "total": 147419
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 111101,
    "total": 111101
   },
   {
    "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": 111101,
    "total": 111101
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 412562,
    "benefits": 0,
    "other": 326107,
    "total": 738669
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 146057,
    "total": 146057
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 412562,
    "benefits": 0,
    "other": 105370,
    "total": 517932
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 74680,
    "total": 74680
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 8668169,
    "benefits": 2592048,
    "other": 10690075,
    "total": 21950292
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 8668169,
    "benefits": 2592048,
    "other": 10690075,
    "total": 21950292
   },
   {
    "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": 197904,
    "total": 197904
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 197904,
    "total": 197904
   },
   {
    "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": 132241,
    "benefits": 663882,
    "other": 169272,
    "total": 965395
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 132241,
    "benefits": 663882,
    "other": 169272,
    "total": 965395
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 10402576,
    "benefits": 3255930,
    "other": 13470408,
    "total": 27128914
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 723934,
    "benefits": 0,
    "other": 292175,
    "total": 1016109
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 723934,
    "benefits": 0,
    "other": 292175,
    "total": 1016109
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 60137,
    "benefits": 0,
    "other": 701397,
    "total": 761534
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 162499,
    "total": 162499
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 57137,
    "benefits": 0,
    "other": 455834,
    "total": 512971
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 3000,
    "benefits": 0,
    "other": 83064,
    "total": 86064
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 485507,
    "benefits": 0,
    "other": 824558,
    "total": 1310065
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 344989,
    "benefits": 0,
    "other": 308208,
    "total": 653197
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 43899,
    "benefits": 0,
    "other": 312357,
    "total": 356256
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 96619,
    "benefits": 0,
    "other": 203993,
    "total": 300612
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 123289,
    "total": 123289
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 118289,
    "total": 118289
   },
   {
    "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": 5000,
    "total": 5000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 355819,
    "benefits": 0,
    "other": 324463,
    "total": 680282
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 153678,
    "total": 153678
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 280746,
    "benefits": 0,
    "other": 48772,
    "total": 329518
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 75073,
    "benefits": 0,
    "other": 122013,
    "total": 197086
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 8878091,
    "benefits": 2562641,
    "other": 11830974,
    "total": 23271706
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 8878091,
    "benefits": 2562641,
    "other": 11830974,
    "total": 23271706
   },
   {
    "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": 466425,
    "total": 466425
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 466425,
    "total": 466425
   },
   {
    "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": 140916,
    "benefits": 737546,
    "other": 201917,
    "total": 1080379
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 140916,
    "benefits": 737546,
    "other": 201917,
    "total": 1080379
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 10644404,
    "benefits": 3300187,
    "other": 14765198,
    "total": 28709789
   }
  ]
 }
}