How bills are tagged 16 topics
Every topic has keyword rules. A rule that matches the lead of a bill's official title (the text before the first semicolon) scores 3, a match elsewhere in the title scores 1, and a match on the name of a committee the bill was referred to scores 2. A bill gets a topic when its score is 2 or more; its highest-scoring topic is its main topic. The rules are OK Capitol Guide's 16-topic taxonomy, matched case-insensitively on whole words and word stems.
| Topic | Title keywords | Committee keywords |
|---|---|---|
| Budget & taxes | revenue and taxation, income tax, sales (and use )?tax, ad valorem, tax credits?, excise tax, taxation, appropriations?, budget, public finance, state fiscal, tax exemption, gross production, prop(erty)? tx, prop tax, inc tx, inc tax, use/occ t(x|ax), estate tax, tx, tax(es|ing|payers?)?, approp, (?<![\w])\[a-z]{2,}, revenue, finance, budget implementation, motor fuel, tif, fy\d{2} | appropriations, revenue and taxation, finance, appr/sub |
| Schools (K-12) | schools?, education, teachers?, students?, charter schools?, school district, curriculum, special education, strong readers, state board of education, state department of education, school funding, parental choice, sch cd, sch, isbe, educ, education | common education, education( oversight)?, education subcommittee |
| Higher education & workforce | higher education, regents, universit(y|ies), colleges?, career ?(and )?tech(nology)?, workforce, higher learning access, apprentice, oklahoma's promise, scholarships?, higher ed, isac, map grants? | higher education, postsecondary, workforce |
| Health & mental health | health, medicaid, mental health, hospitals?, pharmac(y|ist|ies), nursing, medical(?! marijuana), long-term care, abortion, prescription, substance abuse, emergency medical, physicians?, dental, vaccin, health care authority, idph, dph, dhfs, medicaid, public aid, hlth | health, public health, long-term care |
| Criminal justice & public safety | crimes?, criminal, prisons?, corrections, law enforcement, police, sheriffs?, firearms?, self-defense, controlled dangerous, domestic (violence|abuse), human trafficking, sex offenders?, driving under the influence, pardon, parole, assault, larceny, juvenile, public safety, victim, bureau of investigation, emergency management, firefighters?, crim cd, crim pro, cd corr, foid, conceal(ed)? carry, controlled sub, police, domestic violence | criminal, public safety, judiciary - criminal, corrections |
| Courts & civil law | civil procedure, courts?, torts?, damages, probate, wills, guardian and ward, marriage, divorce, child custody, landlord, contracts?, liens?, property, eminent domain, jurors?, notar(y|ies), trusts, tort claims, judges?, district attorneys?, evidence, civ pro, civil law, juv ct, condo, courts | civil judiciary, judiciary, judiciary - civil |
| Elections & ethics | elections?, voters?, absentee, ballots?, initiative and referendum, initiative petition, ethics, campaign, legislative districts, open meeting, open records, election board, elec cd, foia, oma, ethics | elections, ethics |
| State government & agencies | state government, state agenc, administrative procedures, administrative rules, sunset, state employees?, retirement, pension, office of management, omes, capitol, constitution(al)?, state property, public buildings, records, rules, governor, legislature, statutes and reports, oklahoma constitution, state powers, federal, tribal, tribes?, compacts?, sovereign, pen ?cd, cms, procurement, state government, government, public employee benefits, audit, conamend | government, retirement, rules, state powers, administrative rules, pensions |
| Cities, towns & counties | count(y|ies), cities, towns?, municipal(ities|ity)?, city, fire protection district, libraries, county officers, county commissioners, county sheriffs, muni cd, counties cd, cty cd, twp cd, loc(al)? gov, local government | county and municipal, local and county |
| Environment, water & wildlife | environment, waters?, wildlife, game and fish, state parks, conservation, biosolids, mines, mining, natural resources, public lands, animals?, hunting, fishing, environmental quality, water resources, pollution, flood, wildlife( cd)?, dnr, epa, conservation | wildlife, natural resources |
| Energy & utilities | oil and gas, energy, corporation commission, public utilit, utilities, wind energy, solar, nuclear, pipelines?, electric, gross production, petroleum, natural gas, utilit(y|ies), energy | energy, utilities |
| Agriculture & rural life | agricultur, farm, ranch, livestock, cattle, rural, veterinar, hemp, food, poultry, meat, crops?, agriculture | agriculture, rural |
| Transportation & vehicles | motor vehicles?, transportation, turnpikes?, roads?, bridges?, highways?, driver licen[sc]es?, license plates, railroads?, aircraft, airports?, aeronautic, motor carriers?, service oklahoma, traffic, veh cd, veh, idot, toll hwy, transportation | transportation, aeronautics |
| Children, families & social services | children, child, famil(y|ies), human services, poor persons, foster, child care, adoption, public assistance, disabilit, blind, aging, seniors?, parental rights, children's code, juvenile code, developmental, dhs, dcfs, aging, children | children, human services, family |
| Veterans & military | veterans?, militia, national guard, soldiers and sailors, military, armed forces, military service, dva | veteran |
| Business, jobs & the economy | labor, workers'? compensation, employ(er|ee|ment)s?, economic development, corporations, commerce, business, professions and occupations, consumer, securities, commercial code, banks?, banking, financial institutions, insurance, minimum wage, tourism, credit, aerospace, artificial intelligence, technology, social media, cybersecurity, broadband, dceo, employment, business, economic development, prevailing wage, paid leave, work(ers)? comp, unemployment ins, dfpr, regulation | business, commerce, economic development, banking, insurance, technology, tourism |
Tags are a reading aid, not an official subject index; a bill can be tagged into a topic it only touches. Industries use the same method with their own rules (Industries).