Skip to main content

Methods

How the data were collected, defined, classified, and checked.

In brief

  • Sources: every recall notice from the US Consumer Product Safety Commission (CPSC) Recalls API, and every consumer product recall from Health Canada’s Recalls and Safety Alerts open data, plus each Health Canada recall page.
  • Case definition: written rules select bicycle, e-bike, component, and accessory recalls, and exclude helmets, exercise bikes, motorbikes, scooters, child carriers, toys, and maintenance chemicals.
  • Linking: joint US and Canadian recalls are linked so each counts once.
  • Classification: rules code what was recalled, the part that failed, and the hazard.
  • Validation: 100 records labelled by hand to develop the rules, and 40 more held back as an independent test.
  • Reproducibility: everything runs from R scripts in the GitHub repository, and every manual decision is recorded with a reason.

1. Data sources

Source What was used Coverage on this site
US CPSC Recalls API All recall records (title, description, products, hazards, injuries, remedies, units, country of manufacture) Trends from 2000
Health Canada Recalls and Safety Alerts Consumer product recalls from the open data file, plus each recall’s web page for its date, description, hazard, units sold, and place of origin Trends from 2008

Data were downloaded in November 2026. Records up to 12 November 2026 are included.

2. Case definition

The full case definition, version 1.3, is in methods/case-definition.md, with every rule pattern in case_definition_rules.csv. In short:

  • A broad keyword and product-code search found candidate records in each source.
  • Exclusion rules removed out-of-scope products, matching only the product name, because descriptions often mention bicycles in passing.
  • Remaining records were marked confirmed (a bicycle product code, or a bicycle or component named) or probable (an accessory or e-bike part with bicycle context). Both count as cases.
  • 2 records were settled by documented manual review.
Candidate records by source and case status
Status Health Canada US CPSC Total
confirmed 188 439 627
probable 4 3 7
excluded 31 129 160
not_case 0 3 3

3. Linking joint recalls

Many recalls are announced in both countries. Canadian notices were linked to US notices in three stages: an exact match on the Health Canada web address listed in the US record (25 notices), a match on recall date (within 14 days) and product-name similarity (54), and manual review (6). Linked notices share an event ID and count once in combined totals.

4. Classification

Each case was coded on three questions:

  • What was recalled: complete bicycle, complete e-bike, component, accessory, or e-bike battery, charger, or power part.
  • What failed: fork, frame, stem or handlebar, brakes, wheels, hubs, or tires, drivetrain or pedals, saddle or seatpost, e-bike electrical system, accessory, or other.
  • Hazard: fall or crash, fire or burn, laceration, or other (with a finer detail field).

For whole bikes, the failed part is the first part named in the hazard text (“The fork’s steerer tube can crack…”). For parts recalled on their own, it is the part itself. Every pattern is in classification_rules.csv.

The rules were refined in four versions. Each fix came from a specific error:

  • “Bicycle Forks” counted as whole bikes. The rule looking for a bike word followed by “for” or “by” matched the start of “Forks”. Fixing it raised accuracy for what was recalled from 82% to 95% in the development sample.
  • A bike carrier called the “Explore” counted as a fire hazard, because “explo” was meant to catch “explosion”.
  • “Non-Electric” bikes counted as e-bikes, and a chain “connector” counted as an electrical part.
  • The “Ride-On” brand of brake cables was excluded as a ride-on toy.

5. Validation

Two samples were labelled by hand, without seeing the rules’ answers:

  • Development sample (100 records): used to find and fix errors in the rules. Its figures are optimistic, because the rules were tuned on it.
  • Holdout sample (40 records): drawn after the rules were frozen and never used to change them. These are the figures to rely on.

Both samples were stratified (e-bike cases, other cases, and non-cases), and weighted figures are scaled back to the full dataset. Intervals are 95% Wilson intervals for proportions and stratified bootstrap intervals for weighted figures and kappa. “Adjudicated” figures correct labelling slips found on review, each recorded with a reason in validation/.

Agreement between the rules and hand labels (estimate and 95% interval)
Measure Development, first rules Development, final rules Holdout Holdout, adjudicated
Case definition: positive predictive value 99% (93% to 100%) 99% (93% to 100%) 100% (90% to 100%) 100% (90% to 100%)
Case definition: negative predictive value 90% (70% to 97%) 90% (70% to 97%) 83% (44% to 97%) 100% (61% to 100%)
Case definition: sensitivity (weighted) 98% (94% to 100%) 98% (94% to 100%) 96% (89% to 100%) 100% (100% to 100%)
Case definition: specificity (weighted) 94% (84% to 100%) 94% (84% to 100%) 100% (100% to 100%) 100% (100% to 100%)
What was recalled: accuracy 82% (72% to 89%) 95% (88% to 98%) 97% (85% to 100%) 97% (85% to 100%)
What was recalled: kappa 0.73 (0.61 to 0.85) 0.93 (0.85 to 0.98) 0.96 (0.86 to 1.00) 0.96 (0.86 to 1.00)
Failed part: accuracy 92% (84% to 96%) 92% (84% to 96%) 82% (66% to 92%) 85% (70% to 94%)
Failed part: kappa 0.91 (0.84 to 0.97) 0.91 (0.84 to 0.97) 0.80 (0.66 to 0.93) 0.83 (0.69 to 0.96)
Hazard: accuracy 92% (84% to 96%) 99% (93% to 100%) 94% (81% to 98%) 94% (81% to 98%)
Hazard: kappa 0.64 (0.32 to 0.88) 0.92 (0.66 to 1.00) 0.65 (0.00 to 1.00) 0.65 (0.00 to 1.00)

The holdout is the honest test. Accuracy for the failed part fell from 92% in development to 82% on the holdout, which is the usual cost of tuning rules on one sample. The hazard kappa has a very wide interval because almost every recall is a fall hazard, so the few disagreements carry great weight; accuracy is the more useful figure there.

Where people and rules disagreed. Most remaining disagreements are genuinely ambiguous: a fender bolt that affects the wheel, a quick release that interferes with a disc brake, rear bolts recalled on complete e-bikes. Two come from 1990s records whose hazard field says only “Fall” or “Vehicle Accident”, which gives the rules nothing to work with. One raised a fair point about the categories themselves: a bike falling off a wall hook onto someone nearby is a hazard, but not really a rider’s “fall or crash”.

The validation was done by the author, who also wrote the rules. A review by an independent domain expert is planned.

6. Signal detection

US notices only. For each series and year from 2005, the expected count is the mean of the five previous years, and Poisson 95th and 99th percentiles set the Watch and Signal thresholds, with a minimum of three recalls. The current year is compared year-to-date. Details are on the Signals page.

7. Data dictionary

Columns in bike_recalls.csv
Variable Type Description % complete
record_id character Unique record ID. ‘US-’ plus the CPSC recall number, or ‘CA-’ plus the Health Canada identification (RA) number. Where two Canadian notices share an RA number, ‘-NID’ plus the open data NID is appended. 100.0
event_id character Recall event ID. Joint US and Canadian notices share one event ID (EV-US- plus the CPSC recall number). Use for combined counts across both countries. 100.0
source character Regulator that published the notice: US CPSC or Health Canada. 100.0
country character Country of the regulator: United States or Canada. 100.0
recall_date Date Date the recall was announced. CPSC: RecallDate. Health Canada: starting date (pages before 2022) or original published date (2022 onward), read from the recall page. 100.0
recall_year numeric Year of recall_date. 100.0
in_trend_window logical TRUE if the notice falls in the trend analysis window (US from 2000, Canada from 2008). Earlier notices are kept but not used in trend charts. 100.0
title character Notice title as published. The Health Canada ‘Archived -’ prefix is removed. 100.0
url character Link to the official recall notice. 100.0
case_status character Certainty under case definition v1.3: confirmed or probable. This dataset contains cases only. 100.0
case_reason character ID of the rule that set the case status (see methods/case_definition_rules.csv). ‘MANUAL:’ marks a documented manual override. 100.0
product_form character What was recalled: Complete bicycle, Complete e-bike, Component, Accessory, E-bike battery, charger, or power part, or Unclear. 100.0
is_ebike_related logical TRUE if the recalled product is an e-bike (including recalls that mix regular and electric bikes), an e-bike battery, charger, or power part, or a component recalled from e-bikes. Accessories made for e-bikes, such as e-bike racks, are not counted. 100.0
possible_emoto logical TRUE if e-bike related and the text describes no pedals, a throttle-only design, a speed above 28 mph or 32 km/h, or power above 750 W (US) or 500 W (Canada). Rarely triggered: notices seldom state these specifications. 100.0
emoto_evidence logical Text evidence behind possible_emoto. 0.0
failed_component character The part whose failure creates the hazard. For part-only recalls, the recalled part. Compliance problems with no failing part (for example lead paint) are Other or unclear. 100.0
components_mentioned character All component category IDs mentioned in the product name or hazard text, separated by semicolons. 96.2
hazard_group character Main injury mechanism: Fall or crash, Fire or burn, Laceration, or Other. 100.0
hazard_detail character Detailed hazard: fall_crash, fire_burn, laceration, entrapment_pinch, choking_ingestion, chemical_lead, electrical_shock, or other_injury. 100.0
hazards_mentioned character All hazard categories mentioned in the title, issue, or hazard text, separated by semicolons. 90.4
incidents_reported numeric Number of incidents, reports, complaints, or claims stated in the notice, as reported by the firm or regulator. Extracted from text. NA if no number is stated. Health Canada counts usually refer to Canada only. 84.2
injuries_reported numeric Number of injuries stated in the notice. Extracted from text. NA if no number is stated. 0 where the notice says no injuries were reported. 66.2
death_mentioned logical TRUE if the incident text mentions a death, after removing standard ‘serious injury or death’ risk wording. Review before use: may still reflect risk language rather than reported deaths. 100.0
deaths_reported logical Number of deaths, where stated as a number. 0.0
units_recalled numeric Number of units recalled or sold, parsed from units_text (first number stated). CPSC figures are usually US units. Health Canada figures are units sold in Canada. 91.5
units_text character Units text as published. 91.8
remedy_us character CPSC remedy options (for example Refund, Repair, Replace). Not available for Health Canada notices. 39.4
origin_primary character First country of manufacture named in the notice. 86.1
origin_countries character All countries of manufacture named, separated by semicolons. 86.1
linked_cpsc_id character For Health Canada notices linked to a CPSC notice, the CPSC recall number. 11.7
link_method character How a Health Canada notice was linked to CPSC: url, date_and_name, or manual. NA if not linked. 11.7
hazard_text character Hazard description from the notice (CPSC Hazards field, or the Health Canada ‘Hazard identified’ or ‘Issue’ section). 99.4
description_text character Product description from the notice. 100.0

8. Downloads

To count recalls across both countries, count distinct event_id values. For trends, filter to in_trend_window.

9. Data credits and licences

  • US Consumer Product Safety Commission, Recalls API (saferproducts.gov). US government work, public domain. Accessed November 2026.
  • Health Canada, Recalls and Safety Alerts (open.canada.ca and recalls-rappels.canada.ca). Contains information licensed under the Open Government Licence – Canada. Accessed November 2026.
  • Code: MIT licence. Data keep their original licences.

This is an independent project using public data. It is not affiliated with or endorsed by the US Consumer Product Safety Commission, Health Canada, or any company named in the records. Brand names appear only as published in the official notices.

Cite as: Branch, E. (2026). Bike recall surveillance: bicycle, e-bike, and component recalls in the United States and Canada (version 1.0). https://emmabranch.github.io/bike-recall-surveillance/