In [ ]:
import csv
In [20]:
from IPython.core.display import HTML, display
from ipy_table import render, make_table, set_column_style
In [21]:
from city_data_parsing import (
logger,
flpd_data_paths,
get_columns,
FIRST,
LNG,
LAT,
BASEDIR,
CITATION
)
The logger is working.
In [22]:
(
accident_csv,
accident_json,
citation_csv,
citation_json,
) = flpd_data_paths # imported
In [23]:
def get_headers(csv_file=citation_csv):
with open(csv_file) as csvfile:
reader = reader = csv.DictReader(csvfile)
for row in reader:
return list(row.keys())
In [24]:
def get_data(csv_file=citation_csv):
"""Lazily return data row as a dictionary from csv file.
:param csv_file: path to csv file
:returns: data row as dictionary
"""
with open(csv_file) as csvfile:
reader = reader = csv.DictReader(csvfile)
for row in reader:
yield row # yield instead of return makes this a generator
In [25]:
def get_first_item():
for item in get_data():
return item
In [26]:
headers = get_headers()
logger.debug(headers)
['Neighborhood Code', 'District Description', 'Case Number', 'Employee Section Code', 'speed', 'Sex Code', 'Time Entered', 'Subdivision Code', 'Reporting Area Desc.', 'Ethnicity Code', 'Citation Charge', 'Employee Unit Code', 'Apartment/Floor', '\ufeffCitation Number', 'Citation Delivered to Person', 'Zone Code', 'Residence Code', 'Court Address', 'Employee Shift Code', 'geox', 'tract', 'location', 'Detection Device', 'Zone Description', 'Street Name', 'age', 'Court Code', 'Police Agency Code', 'Court Name', 'Street Direction', 'geoy', 'District Code', 'Court Date/Time', 'Subdivision Description', 'Race Code', 'Driving with Unlawful Blood Alcohol Level', 'Reporting Area Code', 'Police Agency Name', 'Date Occurred', 'Employee Division Code', 'Crash', 'Neighborhood Description', 'city', 'Street Number', 'Tract Description']
In [27]:
(
CITATION_CHARGE,
) = (
'Citation Charge',
)
In [28]:
# create a (unique) set of citations from all the data
citations = list({datum[CITATION_CHARGE] for datum in get_data()})
citations.sort()
logger.debug(citations)
['', 'ALL ON BOARD PWC SHALL WEAR APPROVED PFD', 'ALTERED EXHAUST SYSTEM', 'ATTACH TAG (LICENSE PLATE) NOT ASSIGNED', 'ATV/SAFETY EQUIP/ACCD/UNDER 16', 'BIKE REGULATIONS VIOLATIONS', 'BLOCK INTERSECTION/CROSSWALK', 'CARELESS DRIVING', 'CARELESS OPERATION', 'CARELESS OPERATION OF VESSEL', 'CHILD RESTRAINT REQUIRED', 'CHILD UNDER 6 YOA SHALL WEAR APPROVED PFD', 'COAST GUARD SAFETY EQUIPMENT REQUIRED', 'COUNTERFEITING OF-LIC PLATES VALIDATION STICKERS MOBILE HOME', 'CRASH - DIABLED VEH OBSTRUCT TRAFFIC - DRIV FAIL TO MOVE VEH', 'CRASH - DRIV FAIL TO RPT CRASH W INJURY/DEATH/DAMAGE TO LEA', 'CRASH - FAIL REMOVE OBSTRUCT ATTENDED VEH - PROP DAM', 'CRASH - FAIL REPORT INFO TO INJURED PERSON', 'CRASH - FAILURE OF VEH OCCUP TO MAKE REPORT IF DRIV UNABLE', 'CRASH - LEAVE SCENE INVOLVING INJURY W/O RENDERING AID', 'CRASH - NO PROOF INSURANCE ALL PARTIES (24 HR CLOCK RULE)', 'CRASH - NO PROOF OF INSURANCE', 'CRASH -GIVE FALSE INFORMATION OR REPORTS TO POL', 'CRASH LEAVE SCENE W/O GIVING INFORMATION (SPECIFY DAMAGE $$)', 'CRASH-DRIV FAIL RPT CRASH W INJ/DEATH/DAMAGE TO LEA ($500)', 'CRASH-FAIL TO LEAVE INFO UNATTENDED VEHICLE - PROP DAMAGE', 'DAMAGE PROP-CRIM MISCH-INTRF W TRF CONT DEV < 200 DOLS', 'DEFECTIVE WINDSHIELD WIPERS', 'DISOBEY FLASHING SIGNAL/YELLOW', 'DISOBEY FLASHING SIGNALS/RED', 'DISOBEY LANE CONTROL DEVICE', 'DISOBEY NO CHANGE OF LANE SIGN', 'DISOBEY NO PASS ZONE SIGN', 'DISOBEY RED FLASHING SIGNAL', 'DISOBEY STEADY RED LIGHT FTYROW ONE WAY ST', 'DISOBEY STOP/YIELD SIGN', 'DISOBEY YELLOW LIGHT', 'DISOBEY/AVOID RED LIGHT', 'DISOBEY/AVOID RED LIGHT/TURNING', 'DISOBEY/AVOID TRAFFIC DEVICE', 'DISOBEYED STOP/YIELD SIGN', 'DISPLAY OF REGISTRATION DECAL', 'DISPLAY OF REGISTRATION NUMBERS AND LETTERS', 'DISPLAY OF TRUCK TAGS: FRONT/REAR TRUCKS CMV', 'DISPLAY SPECIAL STATE PLATES WO APPLI', 'DISPLAY/OBSCUR UNAUTH TRAF DEV', 'DIVING FROM ANY PUBLICLY OWNED (ROAD) BRIDGE (NOT CSX)', 'DL POSSESSION/DISPLAY/PERMITTING USE OF SUSP/REV/CANC/DQ DL', 'DL SUSPENDED/ FINANCIAL RESPONSIBILITY', 'DRIV ON WRONG SIDE DIVIDED HWY', 'DRIV ONE-WAY STREET', 'DRIV PERMIT RIDING ON EXTERIOR', 'DRIVE ACROSS DIVIDED SECTION', 'DRIVE ACROSS/ON MEDIAN', 'DRIVE AROUND DETOUR/BARRICADE', 'DRIVE LIC SUSP COMML VEH 2ND OR SUBSQ', 'DRIVE ON SIDEWALK/BIKE PATH', 'DRIVE ROUND/RAILROAD GATE/BARR', 'DRIVE VEH UNSAFE/DEFECT EQUIP', 'DRIVE W SUS REV DL HABIT TRAFFIC OFF', 'DRIVE W SUSP REVKD DL FOR FTP CHILD S', 'DRIVE WHILE LIC SUSP 1ST OFF', 'DRIVE WHILE LIC SUSP 2ND OFF', 'DRIVE WHILE LIC SUSP 3RD OR SUBSQ OFF', 'DRIVE WHILE LIC SUSP COMML VEH 1ST OF', 'DRIVE WHILE LIC SUSP HABITUAL OFFENDE', 'DRIVE WHILE LICENSE SUSP W/O KNOWLEDGE', 'DRIVE WHILE LICENSE SUSPENDED REVOKED CANCELLED W/KNOW', 'DRIVE WHILE LICENSE SUSPENDED/REVOKED/CANCELED/W/KNOWLEDGE', 'DRIVE WO LIC CAUSES DEATH/SERIOUS INJ', 'DRIVE WO VALID COMML DRIVERS LICENSE', 'DRIVE WRONG LANE OR SIDE', 'DRIVE WRONG SIDE OF ROADWAY', 'DRIVER PRESENT NON CURRENT INSURANCE', 'DRIVER VIEW OBSTRUCTED', 'DRIVERS VIEW OBSTRUCTED', 'DRIVING ON AIRLESS TIRE', 'DRIVING THRU SAFETY ZONE', 'DRIVING UNDER THE INFLUENCE', 'DRIVING W/ EXP LIC > 6MO', 'DRIVING W/O LIGHTS', 'DRIVING WRONG LANE OR SIDE', 'DRIVING WRONG WAY DOWN ONE-WAY', 'DROP / SHIFT / LEAK LOAD', 'DROP OR UNCOVERED LOAD', 'DRUGS-POSSESSION OF CONTROLLED SUBSTANCE', 'DRV LEFT SIDE IN NO PASS ZONE', 'DRV SAFE/DIST RR AFTER SIGNAL', 'DRV W/O LGHTS TWILGHT/FOG/RAIN', 'DUI ALCOHOL OR DRUGS 2ND OFFENSE', 'DUI ALCOHOL OR DRUGS 1ST OFFENSE', 'DUI ALCOHOL OR DRUGS 3RD OFFENSE WITHIN 10 YEARS', 'DUI UBAL>.15 OR ACCOM BY PERS < 18YOA', 'DUI W/DAM TO PROP OR PERSON OF ANOTHER', 'DUI-UNLAW BLD ALCH-.15 OR > OR ACCOM BY PERS < 18Y/O 1ST OFF', 'DUI-UNLAW BLD ALCH-.15 OR > OR ACCOM BY PERS < 18Y/O 2ND OFF', 'DUI-UNLAW BLD ALCH-BUI 1ST OR 2ND VIOLATION', 'DUI-UNLAW BLD ALCH-BUI 1ST VIOLATION', 'EMIT EXCESS EXHAUST FUMES', 'ENGINE RUN/KEY IN IGNITION', 'ENGINE RUN/KEY/SET BRAKE', 'EQUIP VIOLATION/MIGRANT TRANSP', 'EXCEED SPEED LIM IN WORK ZONE', 'EXPIRED D/L LESS THAN 6 MONTHS', 'EXPIRED MTR VEH REG OVER 6 MOS SUBSQ', 'EXPIRED MTR VEH REGISTRATION OVER 6 MONTHS 1ST OFF', 'EXPIRED TAG LESS THAN 6 MOS', 'EXPIRED TAG/LESS THAN 6 MONTHS', 'FAIL CHANGE ADDRESS/NAME', 'FAIL COVER/SECURE LOAD', 'FAIL DIM HEADLGHTS/IMP ADJUST', 'FAIL DIM HEADLIGHTS/IMP ADJUST', 'FAIL DIM LIGHTS FROM REAR', 'FAIL DRIVE IN SINGLE LANE', 'FAIL DRIVE TO RIGHT/SLOW', 'FAIL GIVE TURN/STOP SIGNAL', 'FAIL TO CHANGE ADDRESS ON DL', 'FAIL TO CHANGE NAME ON DL', 'FAIL TO DIM HEADLIGHTS', 'FAIL TO DISPLAY VEH REG', 'FAIL TO DRIVE IN SINGLE LANE', 'FAIL TO LOWER DIVE FLAG', 'FAIL TO NOTIFY HSMV CHG OF ADDRESS', 'FAIL TO OBEY CMV RULES', 'FAIL TO OBEY POLICE OR FIRE DEPARTMENT', 'FAIL TO OBEY SIGN/SIGNAL', 'FAIL TO REGISTER MOTOR VEH', 'FAIL TO SIGNAL TURN PROPERLY', 'FAIL TO STOP REMAIN ACCDNT INVOLV NON-SER INJRY', 'FAIL TO STOP REMAIN ACCDNT INVOLVING SERIOUS INJRY', 'FAIL TO STOP STEADY RED INDICATION', 'FAIL TO USE DESIGNATED LANE/DRIVE W/I SINGLE LANE', 'FAIL TO WEAR BIKE HELMET', 'FAIL TO YIELD RIGHT-OF-WAY TO PEDESTRIAN', 'FAIL TURN AS DIRECTED', 'FAIL USE DESIGNATED LANE', 'FAIL USE SIDEWALK/PED', 'FAIL WEAR SAFETY BELT/OPERATOR', 'FAILED TO YIELD - APPROACH/ENTER INTERSECTION', 'FAILED TO YIELD AT A FOUR-WAY STOP-INTERSECTION', 'FAILED TO YIELD TO EMERGENCY VEHICLE', 'FAILED TO YIELD/STOP AT A YIELD INTERSECTION', 'FAILURE OF EMERGENCY VEHICLE TO USE WARNING DEV', 'FAILURE TO MOVE OVER FOR EMERGENCY VEHICLE', 'FAILURE TO MOVE OVER/SLOW DOWN FOR EMG VEH', 'FAILURE TO OBEY DL RESTRICTIONS ORDERED BY COURT', 'FAILURE TO OBEY RESTRICTIONS PLACED ON DL', 'FAILURE TO SLOW DOWN FOR EMERGENCY VEH/WRECKER', 'FAILURE TO USE DUE CARE', 'FLEE/ELUDE POLICE-AGGRAV FLEEING W INJURY OR DAMAGE', 'FLEE/ELUDE POLICE-FAIL TO OBEY LEO ORDER TO STOP', 'FLEE/ELUDE POLICE-FLEE ELUDE LEO AT HIGH SPEED', 'FLEE/ELUDE POLICE-FLEE W DISREGARD OF SAFETY TO PERS OR PROP', 'FLORIDA SEAT BELT LAW VIOLATION', 'FNT ST PASS/OVR 18/SEAT-BELT VIOLATION', 'FOLLOW FIRE APPARATUS TO CLOSE', 'FOLLOWING TO CLOSE W/TOW/TRUCK', 'FOLLOWING TOO CLOSELY', 'FORGERY OF-ALTER VEH REGIS STICKER CERTIF OBSCURE PLATE', 'FRAUD-DISPLAY HANDICAP PARK PRMT THAT BELONGS ANOTH', 'FRAUD-IMPERSON-DISPLAY POSSESS FICTITIOUS IDENTIFICATION CAR', 'FRAUD-IMPERSON-FALSE ID GIVEN TO LEO', 'FRAUD-IMPERSON-NON BLIND PERSON CARRY WHITE CANE', 'FRAUD-IMPROPER TEMPORARY TAG UNLAWFUL USE', 'FRAUD-MISUSE OF TEMP TAG TO AVOID REGISTR VEH', 'FRAUD-UNLAWFUL LENDING OF DRIVERS LICENSE', 'FTY - VEHICHLE IN INTERSECTIONS (ALL OTHERS MUST YIELD)', 'FTY X/SEC INOPERATIVE SIGNAL', 'FTY-VIOLATION VEH ON LEFT YIELDS TO VEH ON RIGHT', 'FTY/S AT SIDEWALK- ALLEY/BLDG/PRIV RD/DR WY TO VEH/PED APPRO', 'FTY/S AT SIDEWALK- ALLEY/BLDG/PRIV RD/DRIVE WAY TO VEH APPR', 'FTY/STOP AT SIDEWALK FROM ALLEY/BLDG/PRIV RD/DRIVE WAY', 'FTYROW ENTER STATE HIGHWY', 'FTYROW TO HIGHWAY WORKER', 'FTYROW TO PED AT CROSSWALK WITH SIGNAGE', 'FTYROW TO PED AT INTERSECTION WITH TRAFFIC CTRL DEVICE', 'FTYROW TO PED WHEN NO SIGNAL', 'FTYROW WHEN TURNING LEFT', 'FTYROW X/COUNTY PAVED ROAD', 'GOLFCART IMPROPER OPERATION OF', 'GREEN ARROW VEH FACING FAILED TO YLD ROW WHILE TURNING', 'GREEN LIGHT VEH FACING FAILED TO YLD ROW WHILE TURNING', 'HAZARDOUS WITHOUT COMPLY W FEDERAL REGULATIONS', 'HEAD LAMP VIOLATION', 'HEADLIGHTS REQUIRED / TINTED', 'HEALTH-SAFETY-TAMPER WITH POLLUTION CONTROL DEVICE SUBSQ OFF', 'ILLEGAL OP OF NONCONFORM MOPED', 'IMP BACKING SHOLDER/LM ACC FAC', 'IMP LENS ON RED LIGHT', 'IMP PARK ONE/TWO WAY RD/ANGLE', 'IMP PARK/AGNST FLOW/CURB 1 WAY', 'IMP START FROM PARK/STOP POSIT', 'IMP STOP ON SIDEWALK', 'IMP STOP ROADWAY/XSECTION', 'IMP STOP UN/LOAD PASG LIMT ACS', 'IMP SUNSCRN AT TOP OF WNDSHLD', 'IMP/NO REAR STOP/LAMPS', 'IMPROPER BACKING', 'IMPROPER CENTER LANE USE', 'IMPROPER CHANGE OF LANE- PULL IN FRONT OF VEH SAME DIRECTION', 'IMPROPER CHANGE OF LANE-PASS WHEN MEETING ONCOMING VEH', 'IMPROPER HORN/WARNING DEV', 'IMPROPER LEFT TURN', 'IMPROPER OR UNSAFE EQUIP / CMV', 'IMPROPER PARKING UNINCORP AREA', 'IMPROPER PARKING/TWO WAY ROAD', 'IMPROPER PASS - NOT SPECIFIED', 'IMPROPER PASS ON RIGHT', 'IMPROPER PASS ONCOMING', 'IMPROPER PASS OVERTAKE RIGHT', 'IMPROPER PASS VEH PROCEED OPP DIR-EA MUST GIVE HALF ROADWAY', 'IMPROPER PASS VEH PROCEEDING OPPOSITE DIRECTION', 'IMPROPER PASS/LANE CHANGE', 'IMPROPER PASSING ON RIGHT', 'IMPROPER PASSING ON RIGHT - DRIVING OF PAVEMENT', 'IMPROPER RIGHT TURN', 'IMPROPER STOP ON BIKE PATH', 'IMPROPER STOP ON CROSSWALK', 'IMPROPER STOP/RR TRACK', 'IMPROPER STOP/STAND/PARK', 'IMPROPER TEMPORARY TAG UNLAWFUL USE', 'IMPROPER TOWING', 'IMPROPER USE HOV LANE', 'IMPROPER/NO BIKE BRAKE', 'INADEQUATE SERV/BRAKES', 'INJURIOUS MATERIAL/ROAD', 'LEARNER DL/OPERATE INVALID HRS', 'LEARNERS DRIVERS LIC VIOL', 'LEARNERS DRIVERS LICENSE VIO', 'LEARNERS DRIVERS LICENSE VIOL', 'LEAVE HIGHWAY AVOID TRAFF DEV', 'LEAVE SCENE OF VESSEL ACCIDENT OR INJURY', 'LEAVING SCENE OF ANY ACCIDENT', 'LICENSE NOT CARRIED/EXHIBIT', 'LICENSE NOT CARRIED/EXHIBITED', 'LITTER LESS 15LB/27 CUBIC FT', 'LITTER ON PRIVATE LAND', 'LITTER PUB HGHWY/MOT VEH', 'LOAD NOT SECURE/SUPPORTS TRUCK', 'LOUD / HARSH HORN', 'LOUD DEFECTIVE MUFFLER', 'MANATEE PROTECTION ZONES (MPZ)', 'MAXIMUM BUMPER HEIGHTS/NONE', 'MCYCLE / NO HEADGEAR', 'MCYCLE IMPROPER LANE USE', 'MCYCLE IMPROPER RIDING', 'MCYCLE NO/DEFECTIVE HARSH HORN', 'MCYCLE NO/IMP REARVIEW MIRROR', 'MCYCLE NONE/IMPROPER MUFFLER', 'MCYCLE OPER BETWEEN LANE/VEH', 'MCYCLE PASS WITHIN OCCUP LANE', 'MCYCLE W/O / IMP HEAD LAMP', 'MCYCLE W/O / IMP RED REFLECTOR', 'MCYCLE W/O / IMP STOP LAMP', 'MCYCLE W/O / IMP TAIL LAMP', 'MCYCLE W/O EYE PROTECTION', 'MCYCLE W/O FOOTREST PASSG', 'MCYCLE WITHOUT MULTIBEAM LIGHT', 'MCYCLE/MOPED HEAD/EYE DEVICE', 'MCYCLE/MOPED IMP RIDE/SITTING', 'MISREPRESENTATION OF INSURANCE', 'MISUSE DEALER OR MANUFACTURER LICENSE', 'MOTOCYCLE W/O PROPER HEADLIGHT', 'MOVING TRAFFIC VIOL-DRIVE ON PERMANENTLY REVOKED DRIVER LICE', 'MOVING TRAFFIC VIOL-RECKLESS DRIVE DAMAGE PERSON OR PROPERTY', 'MOVING TRAFFIC VIOL-RECKLESS DRIVING 1ST OFF', 'MTRCYCLE/MOPED: TAG IMPROPERLY AFFIXED CONCEALED OBSCURED', 'MUNICIPAL ORDINANCE VIOL', 'MUST HAVE PIP INS CARD', 'NEGLECT CHILD-UNATTENDED CHILD IN MTR VEH EXCESS OF 15 MINS', 'NO BRAKE/TURN/SIGNALS LIGHTED', 'NO HEAD LAMPS RAIN/FOG/SMK/ECT', 'NO HELMET/INSURANCE MOTORCYCLE', 'NO LAMP/FLAG ON PROJECTED LOAD', 'NO LAMPS/ILLUMINATING DEVICES', 'NO SAFETY BELTS- OPERATOR/PASSG UNDER 18', 'NO STOP LAMP', 'NO STOP/SHIFT AT RR CROSSING', 'NO STOPLIGHT/TURN IND', 'NO TAG LIGHT', 'NO TURN SIGNAL LIGHT', 'NO/FAIL CARRY PHYSICAL EXAM', 'NO/IMPROPER TURN/STOP SIGNAL GIVEN', 'NONE/DEF REAR VIEW MIRROR', 'NONE/IMPROPER BRAKES', 'OBSTRUCT TRAFFIC', 'OBSTRUCT/DIG UP/DISTRIB ROAD', 'OP EXH SYSM NOISE/ABATE MODIFY', 'OP VEH UNSAFE/IMPROPER EQUIP', 'OPEN CONTAINER OR CONSUMPTION OF ALCOHOL IN/ON VEHICLE', 'OPENING DOOR INTO TRAFFIC', 'OPER VEH UNSAFE/IMPROP EQUIP', 'OPER VEH WITH HEADSET ON', 'OPERATE 1/2 HR AFTER SUNSET', 'OPERATE AGAINST DL RESTRICTIONS-SPEC MECH CONTROL DEVICE REQ', 'OPERATE COMMMERCIAL VEHICLE WO VALID', 'OPERATE MOTOR VEHICLE W/O DRIVERS LICENSE', 'OPERATE MOTOR VEHICLE WO VALID LICENS', 'OPERATE MOTORCYCLE WO LICENSE', 'OPERATE W/ILLEGAL SUNSCREEN', 'OPERATING NON-CMV NOT PROPERLY INSURED PROOF OF INS REQUIRED', 'OPERATING WHILE DL SUSPENDED/CANCELLED/REVOKED-NO PRIOR', 'OPERATION AFTER EXPIRATION', 'OPERATOR BOATING SAFETY ID CARD AND PHOTO ID', 'OPN CONTNR ON IN/STOP/PRK VEH', 'OVER HEIGHT OF LOAD', 'OVERTAKING AND PASSING A BICYCLE (IMPROP DISTANCE)', 'OVERTAKING AND PASSING A VEH (CUTTING IN)', 'OVERTAKING/PASSING A VEH-FAIL TO GIVE ROW TO OVERTAKING VEH', 'PARENT/GUARDIAN ALLOW BIKE VIOLATION', 'PARK HANDICAPPED ZONE', 'PARK/OBSTRUCT DISABLE PK SPACE', 'PARK/PROHIB/BY TRAFFIC DEVICE', 'PARKED IN NO PARK ZONE', 'PASS IN NO PASSING ZONE', 'PASS STOPPED SCHOOL BUS', 'PASS VEH WHEN YIELD TO PEDEST', 'PASSG RIDING ON EXTERIOR OF VEHICLE', 'PASSING IN NO PASSING ZONE', 'PASSING WITHIN 100` OF INTERSCT APPROACH', 'PASSING WITHIN 100` OF RR CROSSING APPROACH', 'PED CROS RD RIGHT ANGL/SHORTRT', 'PED CROSS INTERSECT DIAGONALLY', 'PED FAIL OBEY TRAFFIC SIG', 'PED FAIL TO CROSS IN X-WALK', 'PED FAIL TO YIELD TO TRAFFIC', 'PED FAILED TO YIELD TO EMERGENCY VEH', 'PED LEAVE PLACE OF SAFETY', 'PED/FAIL OBEY TRAF SIG/INTERSC', 'PEDESTRAIN OBSTRUCTING TRAFFIC', 'PERMIT UNAUTHORIZED PERSON TO DRIVE', 'PERMIT UNLICENSED MINOR TO DRIVE', 'POSS OF OPEN CONT IN M/V', 'POSS OF OPEN CONT IN M/V DRIVE', 'POSSESS COUNTERFEIT DL OR ID', 'POSSESS MORE THAN ONE VALID DRIVERS L', 'POSSESS STOLEN DL OR ID', 'PROJECTING LOAD ON PASSG VEH', 'PROPELLING A MOPED SIDEWALK', 'PUBLIC ORDER CRIMES-FAIL TO REGISTER MOPED', 'PUBLIC ORDER CRIMES-OBSTRUCTION OF PUBLIC STREETS WO PERMIT', 'PUBLIC ORDER CRIMES-VIOL NONRESIDENT EXEMPTION FROM REGIS', 'R/R CROSSING - FAIL TO OBEY TRAFFIC CONTROL DEVICE', 'R/R CROSSING- INSUFFICIENT SPACE TO DRIVE COMPLETELY THROUGH', 'RAN STOP SIGN', 'REAR LAMP/REFLECTOR COLOR IMP', 'REAR WINDOW NONTRANSPARENT', 'RECKLESS DRIVING-DRIVES ANY VEH WILLFUL DISREGARD FOR SAFETY', 'RECKLESS OPERATION', 'REGISTRATION REQUIRED', 'RESIST OFFICER-FAIL TO OBEY POLICE OR FIRE DEPARTMENT', 'RESIST OFFICER-FLEE ELUDE LEO WITH LIGHTS SIREN ACTIVE', 'RESIST OFFICER-REFUSE TO ACCEPT SIGN CITATION OR POST BOND', 'RESTRCTION FOR WNDOW BEHND DRV', 'RESTRICTON FOR WNDOW BEHND DRV', 'RIDE W/O HANDS ON HANDLE BAR', 'RIDING BIKE WITH NO OR IMPROPER LIGHT', 'RIDING BIKE WITH NO/IMP LIGHT', 'SIDE WIND/REST SUNSCREEN', 'SKATE/COASTER/TOY ON ROADWAY', 'SLOW BIKE FAIL RIDE RIGHT CURB', 'SLOW SPEED/IMPEDE TRAFFIC', 'SPEED TO FAST COND/SPECIAL HAZ', 'SPEED TO FAST FOR COND / CURVE', 'SPEED TOO FAST/CONDITIONS', 'SPEED ZONE VIOLATION', 'SPEED/BUSN/RESID/INTRSTATE/4LN', 'SPEED/RACING ON HIGHWAY', 'SPEEDING/SCHOOLBUS RES/BUSN/IN', 'SPLASH / SPRAY SUPPRESSANT DEV', 'SPLASH/SPRAY SUPPRESSANT DEV', 'STAND IN RD/ SOLICT RIDE/BUSNS', 'STAND/PARK PROH/FIRE HYDRANT', 'STAND/PARK PROHIBIT BY SIGN', 'STAND/PARKING PROHIB/DRIVEWAY', 'STND/PARK PROHIB BIKE LANE', 'SUDDEN STOP WITHOUT SIGNAL', 'SUNSCRN/SIGN/COVERING ON WNDSH', 'TAG UNSECURED/OBSCURED/IMPROPER DISPLAY/DEFACED/NONE', 'TAIL LIGHTS NONE/IMPROPER', 'TEMPORARY TAG - EXPIRED 7 DAYS OR LESS', 'TEXTING WHILE DRIVING', 'TEXTING WHILE DRIVING SECONDARY OFFENSE', 'TO FAST FOR COND NAROW/WIND RD', 'TOO FAST FOR CONDITIONS', 'TRAFFIC OFFENSE-DUI ALCOHOL OR DRUGS', 'TRAFFIC OFFENSE-DUI ALCOHOL OR DRUGS 3RD VIOL MORE THAN 10 Y', 'TRAFFIC OFFENSE-DUI ALCOHOL OR DRUGS 3RD VIOL W/IN 10 YEARS', 'TRAFFIC OFFENSE-DUI AND DAMAGE PROPERTY', 'TRAFFIC OFFENSE-PARTICIPATE IN UNLAWFUL RACE', 'TRAFFIC OFFENSE-REFUSE TO SUBMIT DUI TEST AFTER LIC SUSP', 'TRAFFIC VIOLATION/ANIMAL', 'TRANSPORTER LICENSE PLATES', 'TURNED WHEN UNSAFE/NO SIGNAL', 'TV RECEIVERS IN DRIVERS VIEW', 'TWO LGTD HEADLAMP/REQ/M/V', 'TWO LIGHTED LAMPS MIN REQUIRED', 'U-TURN: IMPROPER/UNSAFE/PROHIBITED', 'UNAUTHOR/DISP/BLUE/RED LIGHT', 'UNDER 16/NO MCYCLE/150 CM DISP', 'UNL/SPEED IN SCHOOL ZONE', 'UNLAW DISP BLUE LIGHTS', 'UNLAW NUMBER OF PERSON ON BIKE', 'UNLAWFUL NUMBER PERSON ON BIKE', 'UNLAWFUL SPEED POSTED MUNICIP/COUNTYRD', 'UNLAWFUL SPEED POSTED STATE/INTERSCT', 'UNLAWFUL SPEED SCHOOL ZONE', 'UNLAWFULLY OPERATE ATV ON PUBLIC ROAD STREET/HWAY', 'UNNECESSARY USE OF HORN', 'UNSECURED LOAD / TRUCK', 'VEH DAMAGE ROAD SURFACE', 'VEH DEPRIVE MCYCLE OF LANE', 'VEH FAIL USE DUE CARE-PED/BIKE', 'VEH W/O LIGHTS NIGHT', 'VESSELS: EXPIRED VESSEL REGISTRATION', 'VESSELS: NO REGISTRATION CERTIFICATE', 'VIOL DRIVERS LIC/RESTRICTION', 'VIOLATE DRIVERS LICENSE LAW', 'VIOLATION NONRESIDENT REQUIREMENTS FOR DRIVERS LIC', 'VIOLATION OF NAVIGATION RULES', 'VIOLATION OF RESTRICTED AREAS', 'VIOLATION OF SAFETY EQUIPMENT REGULATIONS', 'VIOLATION RESTRICTED AREA', 'WALK LEFT SIDE WHEN NO SIDEWLK', 'WEARING HEADSET/LISTENING DEV', 'WINDSHIELD VIOLATION', 'WINDSHLD NONE/UPRGHT/FIXED/GLS', 'WRONG HEADLIGHT NBR/LOC', 'WRONG LANE/ROTARY/ONE-WAY']
In [29]:
citation_counts = [
(
len([datum[CITATION_CHARGE]
for datum in get_data()
if datum[CITATION_CHARGE] == citation]),
citation.lower() or "NONE SPECIFIED".lower()
) for citation in citations
]
In [30]:
# add headers
citation_counts = [('Count', 'Citation', ), ] + citation_counts
# create table with make_table
make_table(citation_counts)
# apply some styles to the table after it is created
set_column_style(0, width='100', bold=True, color='hsla(225, 80%, 94%, 1)')
set_column_style(1, width='100')
Out[30]:
Count Citation 1086 none specified 8 all on board pwc shall wear approved pfd 2 altered exhaust system 289 attach tag (license plate) not assigned 1 atv/safety equip/accd/under 16 59 bike regulations violations 126 block intersection/crosswalk 261 careless driving 2 careless operation 1 careless operation of vessel 150 child restraint required 2 child under 6 yoa shall wear approved pfd 8 coast guard safety equipment required 1 counterfeiting of-lic plates validation stickers mobile home 26 crash - diabled veh obstruct traffic - driv fail to move veh 13 crash - driv fail to rpt crash w injury/death/damage to lea 2 crash - fail remove obstruct attended veh - prop dam 7 crash - fail report info to injured person 2 crash - failure of veh occup to make report if driv unable 6 crash - leave scene involving injury w/o rendering aid 132 crash - no proof insurance all parties (24 hr clock rule) 10 crash - no proof of insurance 2 crash -give false information or reports to pol 187 crash leave scene w/o giving information (specify damage $$) 281 crash-driv fail rpt crash w inj/death/damage to lea ($500) 26 crash-fail to leave info unattended vehicle - prop damage 1 damage prop-crim misch-intrf w trf cont dev < 200 dols 1 defective windshield wipers 1 disobey flashing signal/yellow 6 disobey flashing signals/red 14 disobey lane control device 1 disobey no change of lane sign 12 disobey no pass zone sign 6 disobey red flashing signal 17 disobey steady red light ftyrow one way st 7 disobey stop/yield sign 2 disobey yellow light 833 disobey/avoid red light 247 disobey/avoid red light/turning 1395 disobey/avoid traffic device 70 disobeyed stop/yield sign 3 display of registration decal 4 display of registration numbers and letters 1 display of truck tags: front/rear trucks cmv 1 display special state plates wo appli 3 display/obscur unauth traf dev 1 diving from any publicly owned (road) bridge (not csx) 10 dl possession/display/permitting use of susp/rev/canc/dq dl 2 dl suspended/ financial responsibility 12 driv on wrong side divided hwy 2 driv one-way street 2 driv permit riding on exterior 6 drive across divided section 3 drive across/on median 14 drive around detour/barricade 1 drive lic susp comml veh 2nd or subsq 77 drive on sidewalk/bike path 8 drive round/railroad gate/barr 119 drive veh unsafe/defect equip 3 drive w sus rev dl habit traffic off 2 drive w susp revkd dl for ftp child s 201 drive while lic susp 1st off 73 drive while lic susp 2nd off 51 drive while lic susp 3rd or subsq off 2 drive while lic susp comml veh 1st of 70 drive while lic susp habitual offende 1536 drive while license susp w/o knowledge 40 drive while license suspended  revoked  cancelled w/know 795 drive while license suspended/revoked/canceled/w/knowledge 1 drive wo lic causes death/serious inj 2 drive wo valid comml drivers license 28 drive wrong lane or side 3 drive wrong side of roadway 191 driver present non current insurance 1 driver view obstructed 1 drivers view obstructed 4 driving on airless tire 3 driving thru safety zone 3 driving under the influence 201 driving w/ exp lic > 6mo 36 driving w/o lights 20 driving wrong lane or side 62 driving wrong way down one-way 9 drop / shift / leak load 1 drop or uncovered load 1 drugs-possession of controlled substance 13 drv left side in no pass zone 15 drv safe/dist rr after signal 2 drv w/o lghts twilght/fog/rain 9 dui alcohol or drugs  2nd offense 40 dui alcohol or drugs  1st offense 2 dui alcohol or drugs  3rd offense within 10 years 20 dui ubal>.15 or accom by pers < 18yoa 24 dui w/dam to prop or person of another 3 dui-unlaw bld alch-.15 or > or accom by pers < 18y/o 1st off 1 dui-unlaw bld alch-.15 or > or accom by pers < 18y/o 2nd off 1 dui-unlaw bld alch-bui 1st or 2nd violation 1 dui-unlaw bld alch-bui 1st violation 3 emit excess exhaust fumes 6 engine run/key in ignition 15 engine run/key/set brake 21 equip violation/migrant transp 154 exceed speed lim in work zone 106 expired d/l less than 6 months 49 expired mtr veh reg over 6 mos subsq 506 expired mtr veh registration over 6 months 1st off 1691 expired tag less than 6 mos 99 expired tag/less than 6 months 57 fail change address/name 4 fail cover/secure load 18 fail dim headlghts/imp adjust 1 fail dim headlights/imp adjust 10 fail dim lights from rear 308 fail drive in single lane 4 fail drive to right/slow 2 fail give turn/stop signal 626 fail to change address on dl 4 fail to change name on dl 5 fail to dim headlights 1273 fail to display veh reg 55 fail to drive in single lane 1 fail to lower dive flag 9 fail to notify hsmv chg of address 6 fail to obey cmv rules 10 fail to obey police or fire department 8 fail to obey sign/signal 255 fail to register motor veh 14 fail to signal turn properly 10 fail to stop remain accdnt involv non-ser injry 3 fail to stop remain accdnt involving serious injry 31 fail to stop steady red indication 93 fail to use designated lane/drive w/i single lane 1 fail to wear bike helmet 1 fail to yield right-of-way to pedestrian 104 fail turn as directed 104 fail use designated lane 21 fail use sidewalk/ped 2155 fail wear safety belt/operator 48 failed to yield - approach/enter intersection 47 failed to yield at a four-way stop-intersection 26 failed to yield to emergency vehicle 31 failed to yield/stop at a yield intersection 1 failure of emergency vehicle to use warning dev 5 failure to move over for emergency vehicle 7 failure to move over/slow down for emg veh 6 failure to obey dl restrictions ordered by court 74 failure to obey restrictions placed on dl 4 failure to slow down for emergency veh/wrecker 4864 failure to use due care 1 flee/elude police-aggrav fleeing w injury or damage 14 flee/elude police-fail to obey leo order to stop 3 flee/elude police-flee elude leo at high speed 14 flee/elude police-flee w disregard of safety to pers or prop 106 florida seat belt law violation 165 fnt st pass/ovr 18/seat-belt violation 2 follow fire apparatus to close 1 following to close w/tow/truck 288 following too closely 38 forgery of-alter veh regis sticker certif obscure plate 2 fraud-display handicap park prmt that belongs anoth 3 fraud-imperson-display possess fictitious identification car 1 fraud-imperson-false id given to leo 2 fraud-imperson-non blind person carry white cane 2 fraud-improper temporary tag unlawful use 1 fraud-misuse of temp tag to avoid registr veh 1 fraud-unlawful lending of drivers license 9 fty - vehichle in intersections (all others must yield) 2 fty x/sec inoperative signal 2 fty-violation veh on left yields to veh on right 18 fty/s at sidewalk- alley/bldg/priv rd/dr wy to veh/ped appro 152 fty/s at sidewalk- alley/bldg/priv rd/drive way to veh appr 13 fty/stop at sidewalk from alley/bldg/priv rd/drive way 10 ftyrow enter state highwy 1 ftyrow to highway worker 25 ftyrow to ped at crosswalk with signage 10 ftyrow to ped at intersection with traffic ctrl device 4 ftyrow to ped when no signal 530 ftyrow when turning left 2 ftyrow x/county paved road 1 golfcart improper operation of 1 green arrow veh facing failed to yld row while turning 13 green light veh facing failed to yld row while turning 2 hazardous without comply w federal regulations 53 head lamp violation 16 headlights required / tinted 3 health-safety-tamper with pollution control device subsq off 1 illegal op of nonconform moped 1 imp backing sholder/lm acc fac 1 imp lens on red light 2 imp park one/two way rd/angle 2 imp park/agnst flow/curb 1 way 13 imp start from park/stop posit 12 imp stop on sidewalk 2 imp stop roadway/xsection 193 imp stop un/load pasg limt acs 46 imp sunscrn at top of wndshld 2 imp/no rear stop/lamps 699 improper backing 34 improper center lane use 1206 improper change of lane- pull in front of veh same direction 121 improper change of lane-pass when meeting oncoming veh 4 improper horn/warning dev 106 improper left turn 9 improper or unsafe equip / cmv 24 improper parking unincorp area 24 improper parking/two way road 9 improper pass - not specified 3 improper pass on right 1 improper pass oncoming 3 improper pass overtake right 2 improper pass veh proceed opp dir-ea must give half roadway 3 improper pass veh proceeding opposite direction 78 improper pass/lane change 2 improper passing on right 23 improper passing on right - driving of pavement 124 improper right turn 3 improper stop on bike path 4 improper stop on crosswalk 19 improper stop/rr track 26 improper stop/stand/park 3 improper temporary tag unlawful use 4 improper towing 88 improper use hov lane 6 improper/no bike brake 3 inadequate serv/brakes 1 injurious material/road 6 learner dl/operate invalid hrs 272 learners drivers lic viol 2 learners drivers license vio 25 learners drivers license viol 38 leave highway avoid traff dev 1 leave scene of vessel accident or injury 5 leaving scene of any accident 611 license not carried/exhibit 88 license not carried/exhibited 6 litter less 15lb/27 cubic ft 2 litter on private land 14 litter pub hghwy/mot veh 17 load not secure/supports truck 4 loud / harsh horn 1 loud defective muffler 1 manatee protection zones (mpz) 2 maximum bumper heights/none 2 mcycle / no headgear 1 mcycle improper lane use 1 mcycle improper riding 1 mcycle no/defective harsh horn 5 mcycle no/imp rearview mirror 1 mcycle none/improper muffler 43 mcycle oper between lane/veh 23 mcycle pass within occup lane 3 mcycle w/o / imp head lamp 3 mcycle w/o / imp red reflector 3 mcycle w/o / imp stop lamp 3 mcycle w/o / imp tail lamp 25 mcycle w/o eye protection 1 mcycle w/o footrest passg 1 mcycle without multibeam light 5 mcycle/moped head/eye device 1 mcycle/moped imp ride/sitting 11 misrepresentation of insurance 1 misuse dealer or manufacturer license 1 motocycle w/o proper headlight 44 moving traffic viol-drive on permanently revoked driver lice 1 moving traffic viol-reckless drive damage person or property 2 moving traffic viol-reckless driving 1st off 2 mtrcycle/moped: tag improperly affixed  concealed  obscured 10 municipal ordinance viol 107 must have pip ins card 1 neglect child-unattended child in mtr veh excess of 15 mins 3 no brake/turn/signals lighted 7 no head lamps rain/fog/smk/ect 18 no helmet/insurance motorcycle 1 no lamp/flag on projected load 39 no lamps/illuminating devices 91 no safety belts- operator/passg under 18 7 no stop lamp 1 no stop/shift at rr crossing 1 no stoplight/turn ind 107 no tag light 3 no turn signal light 4 no/fail carry physical exam 15 no/improper turn/stop signal given 1 none/def rear view mirror 2 none/improper brakes 15 obstruct traffic 2 obstruct/dig up/distrib road 2 op exh sysm noise/abate modify 9 op veh unsafe/improper equip 29 open container or consumption of alcohol in/on vehicle 21 opening door into traffic 766 oper veh unsafe/improp equip 1 oper veh with headset on 2 operate 1/2 hr after sunset 10 operate against dl restrictions-spec mech control device req 1 operate commmercial vehicle wo valid 48 operate motor vehicle w/o drivers license 1048 operate motor vehicle wo valid licens 58 operate motorcycle wo license 3 operate w/illegal sunscreen 3172 operating non-cmv not properly insured proof of ins required 34 operating while dl suspended/cancelled/revoked-no prior 1 operation after expiration 11 operator boating safety id card and photo id 5 opn contnr on in/stop/prk veh 1 over height of load 92 overtaking and passing a bicycle (improp distance) 46 overtaking and passing a veh (cutting in) 7 overtaking/passing a veh-fail to give row to overtaking veh 2 parent/guardian allow bike violation 16 park handicapped zone 20 park/obstruct disable pk space 9 park/prohib/by traffic device 20 parked in no park zone 3 pass in no passing zone 10 pass stopped school bus 1 pass veh when yield to pedest 2 passg riding on exterior of vehicle 3 passing in no passing zone 5 passing within 100` of intersct approach 2 passing within 100` of rr crossing approach 1 ped cros rd right angl/shortrt 2 ped cross intersect diagonally 15 ped fail obey traffic sig 83 ped fail to cross in x-walk 16 ped fail to yield to traffic 1 ped failed to yield to emergency veh 75 ped leave place of safety 11 ped/fail obey traf sig/intersc 27 pedestrain obstructing traffic 25 permit unauthorized person to drive 6 permit unlicensed minor to drive 2 poss of open cont in m/v 5 poss of open cont in m/v drive 1 possess counterfeit dl or id 4 possess more than one valid drivers l 1 possess stolen dl or id 2 projecting load on passg veh 1 propelling a moped sidewalk 2 public order crimes-fail to register moped 2 public order crimes-obstruction of public streets wo permit 4 public order crimes-viol nonresident exemption from regis 4 r/r crossing - fail to obey traffic control device 1 r/r crossing- insufficient space to drive completely through 1662 ran stop sign 1 rear lamp/reflector color imp 1 rear window nontransparent 64 reckless driving-drives any veh willful disregard for safety 1 reckless operation 16 registration required 21 resist officer-fail to obey police or fire department 7 resist officer-flee elude leo with lights siren active 1 resist officer-refuse to accept sign citation or post bond 42 restrction for wndow behnd drv 23 restricton for wndow behnd drv 14 ride w/o hands on handle bar 20 riding bike with no or improper light 73 riding bike with no/imp light 374 side wind/rest sunscreen 1 skate/coaster/toy on roadway 2 slow bike fail ride right curb 120 slow speed/impede traffic 6 speed to fast cond/special haz 2 speed to fast for cond / curve 15 speed too fast/conditions 55 speed zone violation 9 speed/busn/resid/intrstate/4ln 2 speed/racing on highway 3 speeding/schoolbus res/busn/in 5 splash / spray suppressant dev 1 splash/spray suppressant dev 39 stand in rd/ solict ride/busns 3 stand/park proh/fire hydrant 2 stand/park prohibit by sign 6 stand/parking prohib/driveway 1 stnd/park prohib bike lane 3 sudden stop without signal 2 sunscrn/sign/covering on wndsh 203 tag unsecured/obscured/improper display/defaced/none 58 tail lights none/improper 9 temporary tag - expired 7 days or less 25 texting while driving 1 texting while driving secondary offense 1 to fast for cond narow/wind rd 40 too fast for conditions 28 traffic offense-dui alcohol or drugs 1 traffic offense-dui alcohol or drugs 3rd viol more than 10 y 2 traffic offense-dui alcohol or drugs 3rd viol w/in 10 years 24 traffic offense-dui and damage property 2 traffic offense-participate in unlawful race 12 traffic offense-refuse to submit dui test after lic susp 1 traffic violation/animal 1 transporter license plates 37 turned when unsafe/no signal 1 tv receivers in drivers view 5 two lgtd headlamp/req/m/v 16 two lighted lamps min required 142 u-turn: improper/unsafe/prohibited 6 unauthor/disp/blue/red light 1 under 16/no mcycle/150 cm disp 1755 unl/speed in school zone 2 unlaw disp blue lights 2 unlaw number of person on bike 4 unlawful number person on bike 6873 unlawful speed posted municip/countyrd 177 unlawful speed posted state/intersct 337 unlawful speed school zone 4 unlawfully operate atv on public road  street/hway 15 unnecessary use of horn 9 unsecured load / truck 1 veh damage road surface 2 veh deprive mcycle of lane 20 veh fail use due care-ped/bike 47 veh w/o lights night 3 vessels: expired vessel registration 5 vessels: no registration certificate 7 viol drivers lic/restriction 1 violate drivers license law 24 violation nonresident requirements for drivers lic 2 violation of navigation rules 1 violation of restricted areas 4 violation of safety equipment regulations 3 violation restricted area 4 walk left side when no sidewlk 27 wearing headset/listening dev 23 windshield violation 1 windshld none/uprght/fixed/gls 4 wrong headlight nbr/loc 4 wrong lane/rotary/one-way
In [31]:
# render the table
display(HTML(render()._repr_html_()))
Count Citation 1086 none specified 8 all on board pwc shall wear approved pfd 2 altered exhaust system 289 attach tag (license plate) not assigned 1 atv/safety equip/accd/under 16 59 bike regulations violations 126 block intersection/crosswalk 261 careless driving 2 careless operation 1 careless operation of vessel 150 child restraint required 2 child under 6 yoa shall wear approved pfd 8 coast guard safety equipment required 1 counterfeiting of-lic plates validation stickers mobile home 26 crash - diabled veh obstruct traffic - driv fail to move veh 13 crash - driv fail to rpt crash w injury/death/damage to lea 2 crash - fail remove obstruct attended veh - prop dam 7 crash - fail report info to injured person 2 crash - failure of veh occup to make report if driv unable 6 crash - leave scene involving injury w/o rendering aid 132 crash - no proof insurance all parties (24 hr clock rule) 10 crash - no proof of insurance 2 crash -give false information or reports to pol 187 crash leave scene w/o giving information (specify damage $$) 281 crash-driv fail rpt crash w inj/death/damage to lea ($500) 26 crash-fail to leave info unattended vehicle - prop damage 1 damage prop-crim misch-intrf w trf cont dev < 200 dols 1 defective windshield wipers 1 disobey flashing signal/yellow 6 disobey flashing signals/red 14 disobey lane control device 1 disobey no change of lane sign 12 disobey no pass zone sign 6 disobey red flashing signal 17 disobey steady red light ftyrow one way st 7 disobey stop/yield sign 2 disobey yellow light 833 disobey/avoid red light 247 disobey/avoid red light/turning 1395 disobey/avoid traffic device 70 disobeyed stop/yield sign 3 display of registration decal 4 display of registration numbers and letters 1 display of truck tags: front/rear trucks cmv 1 display special state plates wo appli 3 display/obscur unauth traf dev 1 diving from any publicly owned (road) bridge (not csx) 10 dl possession/display/permitting use of susp/rev/canc/dq dl 2 dl suspended/ financial responsibility 12 driv on wrong side divided hwy 2 driv one-way street 2 driv permit riding on exterior 6 drive across divided section 3 drive across/on median 14 drive around detour/barricade 1 drive lic susp comml veh 2nd or subsq 77 drive on sidewalk/bike path 8 drive round/railroad gate/barr 119 drive veh unsafe/defect equip 3 drive w sus rev dl habit traffic off 2 drive w susp revkd dl for ftp child s 201 drive while lic susp 1st off 73 drive while lic susp 2nd off 51 drive while lic susp 3rd or subsq off 2 drive while lic susp comml veh 1st of 70 drive while lic susp habitual offende 1536 drive while license susp w/o knowledge 40 drive while license suspended  revoked  cancelled w/know 795 drive while license suspended/revoked/canceled/w/knowledge 1 drive wo lic causes death/serious inj 2 drive wo valid comml drivers license 28 drive wrong lane or side 3 drive wrong side of roadway 191 driver present non current insurance 1 driver view obstructed 1 drivers view obstructed 4 driving on airless tire 3 driving thru safety zone 3 driving under the influence 201 driving w/ exp lic > 6mo 36 driving w/o lights 20 driving wrong lane or side 62 driving wrong way down one-way 9 drop / shift / leak load 1 drop or uncovered load 1 drugs-possession of controlled substance 13 drv left side in no pass zone 15 drv safe/dist rr after signal 2 drv w/o lghts twilght/fog/rain 9 dui alcohol or drugs  2nd offense 40 dui alcohol or drugs  1st offense 2 dui alcohol or drugs  3rd offense within 10 years 20 dui ubal>.15 or accom by pers < 18yoa 24 dui w/dam to prop or person of another 3 dui-unlaw bld alch-.15 or > or accom by pers < 18y/o 1st off 1 dui-unlaw bld alch-.15 or > or accom by pers < 18y/o 2nd off 1 dui-unlaw bld alch-bui 1st or 2nd violation 1 dui-unlaw bld alch-bui 1st violation 3 emit excess exhaust fumes 6 engine run/key in ignition 15 engine run/key/set brake 21 equip violation/migrant transp 154 exceed speed lim in work zone 106 expired d/l less than 6 months 49 expired mtr veh reg over 6 mos subsq 506 expired mtr veh registration over 6 months 1st off 1691 expired tag less than 6 mos 99 expired tag/less than 6 months 57 fail change address/name 4 fail cover/secure load 18 fail dim headlghts/imp adjust 1 fail dim headlights/imp adjust 10 fail dim lights from rear 308 fail drive in single lane 4 fail drive to right/slow 2 fail give turn/stop signal 626 fail to change address on dl 4 fail to change name on dl 5 fail to dim headlights 1273 fail to display veh reg 55 fail to drive in single lane 1 fail to lower dive flag 9 fail to notify hsmv chg of address 6 fail to obey cmv rules 10 fail to obey police or fire department 8 fail to obey sign/signal 255 fail to register motor veh 14 fail to signal turn properly 10 fail to stop remain accdnt involv non-ser injry 3 fail to stop remain accdnt involving serious injry 31 fail to stop steady red indication 93 fail to use designated lane/drive w/i single lane 1 fail to wear bike helmet 1 fail to yield right-of-way to pedestrian 104 fail turn as directed 104 fail use designated lane 21 fail use sidewalk/ped 2155 fail wear safety belt/operator 48 failed to yield - approach/enter intersection 47 failed to yield at a four-way stop-intersection 26 failed to yield to emergency vehicle 31 failed to yield/stop at a yield intersection 1 failure of emergency vehicle to use warning dev 5 failure to move over for emergency vehicle 7 failure to move over/slow down for emg veh 6 failure to obey dl restrictions ordered by court 74 failure to obey restrictions placed on dl 4 failure to slow down for emergency veh/wrecker 4864 failure to use due care 1 flee/elude police-aggrav fleeing w injury or damage 14 flee/elude police-fail to obey leo order to stop 3 flee/elude police-flee elude leo at high speed 14 flee/elude police-flee w disregard of safety to pers or prop 106 florida seat belt law violation 165 fnt st pass/ovr 18/seat-belt violation 2 follow fire apparatus to close 1 following to close w/tow/truck 288 following too closely 38 forgery of-alter veh regis sticker certif obscure plate 2 fraud-display handicap park prmt that belongs anoth 3 fraud-imperson-display possess fictitious identification car 1 fraud-imperson-false id given to leo 2 fraud-imperson-non blind person carry white cane 2 fraud-improper temporary tag unlawful use 1 fraud-misuse of temp tag to avoid registr veh 1 fraud-unlawful lending of drivers license 9 fty - vehichle in intersections (all others must yield) 2 fty x/sec inoperative signal 2 fty-violation veh on left yields to veh on right 18 fty/s at sidewalk- alley/bldg/priv rd/dr wy to veh/ped appro 152 fty/s at sidewalk- alley/bldg/priv rd/drive way to veh appr 13 fty/stop at sidewalk from alley/bldg/priv rd/drive way 10 ftyrow enter state highwy 1 ftyrow to highway worker 25 ftyrow to ped at crosswalk with signage 10 ftyrow to ped at intersection with traffic ctrl device 4 ftyrow to ped when no signal 530 ftyrow when turning left 2 ftyrow x/county paved road 1 golfcart improper operation of 1 green arrow veh facing failed to yld row while turning 13 green light veh facing failed to yld row while turning 2 hazardous without comply w federal regulations 53 head lamp violation 16 headlights required / tinted 3 health-safety-tamper with pollution control device subsq off 1 illegal op of nonconform moped 1 imp backing sholder/lm acc fac 1 imp lens on red light 2 imp park one/two way rd/angle 2 imp park/agnst flow/curb 1 way 13 imp start from park/stop posit 12 imp stop on sidewalk 2 imp stop roadway/xsection 193 imp stop un/load pasg limt acs 46 imp sunscrn at top of wndshld 2 imp/no rear stop/lamps 699 improper backing 34 improper center lane use 1206 improper change of lane- pull in front of veh same direction 121 improper change of lane-pass when meeting oncoming veh 4 improper horn/warning dev 106 improper left turn 9 improper or unsafe equip / cmv 24 improper parking unincorp area 24 improper parking/two way road 9 improper pass - not specified 3 improper pass on right 1 improper pass oncoming 3 improper pass overtake right 2 improper pass veh proceed opp dir-ea must give half roadway 3 improper pass veh proceeding opposite direction 78 improper pass/lane change 2 improper passing on right 23 improper passing on right - driving of pavement 124 improper right turn 3 improper stop on bike path 4 improper stop on crosswalk 19 improper stop/rr track 26 improper stop/stand/park 3 improper temporary tag unlawful use 4 improper towing 88 improper use hov lane 6 improper/no bike brake 3 inadequate serv/brakes 1 injurious material/road 6 learner dl/operate invalid hrs 272 learners drivers lic viol 2 learners drivers license vio 25 learners drivers license viol 38 leave highway avoid traff dev 1 leave scene of vessel accident or injury 5 leaving scene of any accident 611 license not carried/exhibit 88 license not carried/exhibited 6 litter less 15lb/27 cubic ft 2 litter on private land 14 litter pub hghwy/mot veh 17 load not secure/supports truck 4 loud / harsh horn 1 loud defective muffler 1 manatee protection zones (mpz) 2 maximum bumper heights/none 2 mcycle / no headgear 1 mcycle improper lane use 1 mcycle improper riding 1 mcycle no/defective harsh horn 5 mcycle no/imp rearview mirror 1 mcycle none/improper muffler 43 mcycle oper between lane/veh 23 mcycle pass within occup lane 3 mcycle w/o / imp head lamp 3 mcycle w/o / imp red reflector 3 mcycle w/o / imp stop lamp 3 mcycle w/o / imp tail lamp 25 mcycle w/o eye protection 1 mcycle w/o footrest passg 1 mcycle without multibeam light 5 mcycle/moped head/eye device 1 mcycle/moped imp ride/sitting 11 misrepresentation of insurance 1 misuse dealer or manufacturer license 1 motocycle w/o proper headlight 44 moving traffic viol-drive on permanently revoked driver lice 1 moving traffic viol-reckless drive damage person or property 2 moving traffic viol-reckless driving 1st off 2 mtrcycle/moped: tag improperly affixed  concealed  obscured 10 municipal ordinance viol 107 must have pip ins card 1 neglect child-unattended child in mtr veh excess of 15 mins 3 no brake/turn/signals lighted 7 no head lamps rain/fog/smk/ect 18 no helmet/insurance motorcycle 1 no lamp/flag on projected load 39 no lamps/illuminating devices 91 no safety belts- operator/passg under 18 7 no stop lamp 1 no stop/shift at rr crossing 1 no stoplight/turn ind 107 no tag light 3 no turn signal light 4 no/fail carry physical exam 15 no/improper turn/stop signal given 1 none/def rear view mirror 2 none/improper brakes 15 obstruct traffic 2 obstruct/dig up/distrib road 2 op exh sysm noise/abate modify 9 op veh unsafe/improper equip 29 open container or consumption of alcohol in/on vehicle 21 opening door into traffic 766 oper veh unsafe/improp equip 1 oper veh with headset on 2 operate 1/2 hr after sunset 10 operate against dl restrictions-spec mech control device req 1 operate commmercial vehicle wo valid 48 operate motor vehicle w/o drivers license 1048 operate motor vehicle wo valid licens 58 operate motorcycle wo license 3 operate w/illegal sunscreen 3172 operating non-cmv not properly insured proof of ins required 34 operating while dl suspended/cancelled/revoked-no prior 1 operation after expiration 11 operator boating safety id card and photo id 5 opn contnr on in/stop/prk veh 1 over height of load 92 overtaking and passing a bicycle (improp distance) 46 overtaking and passing a veh (cutting in) 7 overtaking/passing a veh-fail to give row to overtaking veh 2 parent/guardian allow bike violation 16 park handicapped zone 20 park/obstruct disable pk space 9 park/prohib/by traffic device 20 parked in no park zone 3 pass in no passing zone 10 pass stopped school bus 1 pass veh when yield to pedest 2 passg riding on exterior of vehicle 3 passing in no passing zone 5 passing within 100` of intersct approach 2 passing within 100` of rr crossing approach 1 ped cros rd right angl/shortrt 2 ped cross intersect diagonally 15 ped fail obey traffic sig 83 ped fail to cross in x-walk 16 ped fail to yield to traffic 1 ped failed to yield to emergency veh 75 ped leave place of safety 11 ped/fail obey traf sig/intersc 27 pedestrain obstructing traffic 25 permit unauthorized person to drive 6 permit unlicensed minor to drive 2 poss of open cont in m/v 5 poss of open cont in m/v drive 1 possess counterfeit dl or id 4 possess more than one valid drivers l 1 possess stolen dl or id 2 projecting load on passg veh 1 propelling a moped sidewalk 2 public order crimes-fail to register moped 2 public order crimes-obstruction of public streets wo permit 4 public order crimes-viol nonresident exemption from regis 4 r/r crossing - fail to obey traffic control device 1 r/r crossing- insufficient space to drive completely through 1662 ran stop sign 1 rear lamp/reflector color imp 1 rear window nontransparent 64 reckless driving-drives any veh willful disregard for safety 1 reckless operation 16 registration required 21 resist officer-fail to obey police or fire department 7 resist officer-flee elude leo with lights siren active 1 resist officer-refuse to accept sign citation or post bond 42 restrction for wndow behnd drv 23 restricton for wndow behnd drv 14 ride w/o hands on handle bar 20 riding bike with no or improper light 73 riding bike with no/imp light 374 side wind/rest sunscreen 1 skate/coaster/toy on roadway 2 slow bike fail ride right curb 120 slow speed/impede traffic 6 speed to fast cond/special haz 2 speed to fast for cond / curve 15 speed too fast/conditions 55 speed zone violation 9 speed/busn/resid/intrstate/4ln 2 speed/racing on highway 3 speeding/schoolbus res/busn/in 5 splash / spray suppressant dev 1 splash/spray suppressant dev 39 stand in rd/ solict ride/busns 3 stand/park proh/fire hydrant 2 stand/park prohibit by sign 6 stand/parking prohib/driveway 1 stnd/park prohib bike lane 3 sudden stop without signal 2 sunscrn/sign/covering on wndsh 203 tag unsecured/obscured/improper display/defaced/none 58 tail lights none/improper 9 temporary tag - expired 7 days or less 25 texting while driving 1 texting while driving secondary offense 1 to fast for cond narow/wind rd 40 too fast for conditions 28 traffic offense-dui alcohol or drugs 1 traffic offense-dui alcohol or drugs 3rd viol more than 10 y 2 traffic offense-dui alcohol or drugs 3rd viol w/in 10 years 24 traffic offense-dui and damage property 2 traffic offense-participate in unlawful race 12 traffic offense-refuse to submit dui test after lic susp 1 traffic violation/animal 1 transporter license plates 37 turned when unsafe/no signal 1 tv receivers in drivers view 5 two lgtd headlamp/req/m/v 16 two lighted lamps min required 142 u-turn: improper/unsafe/prohibited 6 unauthor/disp/blue/red light 1 under 16/no mcycle/150 cm disp 1755 unl/speed in school zone 2 unlaw disp blue lights 2 unlaw number of person on bike 4 unlawful number person on bike 6873 unlawful speed posted municip/countyrd 177 unlawful speed posted state/intersct 337 unlawful speed school zone 4 unlawfully operate atv on public road  street/hway 15 unnecessary use of horn 9 unsecured load / truck 1 veh damage road surface 2 veh deprive mcycle of lane 20 veh fail use due care-ped/bike 47 veh w/o lights night 3 vessels: expired vessel registration 5 vessels: no registration certificate 7 viol drivers lic/restriction 1 violate drivers license law 24 violation nonresident requirements for drivers lic 2 violation of navigation rules 1 violation of restricted areas 4 violation of safety equipment regulations 3 violation restricted area 4 walk left side when no sidewlk 27 wearing headset/listening dev 23 windshield violation 1 windshld none/uprght/fixed/gls 4 wrong headlight nbr/loc 4 wrong lane/rotary/one-way
Content source: dm-wyncode/zipped-code
Similar notebooks: