-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fda_food.food_enforcement`
(
  classification STRING OPTIONS(description="Numerical designation (I, II, or III) that is assigned by FDA to a particular product recall that indicates the relative degree of health hazard. Class I = Dangerous or defective products that predictably could cause serious health problems or death. Examples include: food found to contain botulinum toxin, food with undeclared allergens, a label mix-up on a lifesaving drug, or a defective artificial heart valve. Class II = Products that might cause a temporary health problem, or pose only a slight threat of a serious nature. Example: a drug that is under-strength but that is not used to treat life-threatening situations. Class III = Products that are unlikely to cause any adverse health reaction, but that violate FDA labeling or manufacturing laws. Examples include: a minor container defect and lack of English labeling in a retail food."),
  center_classification_date DATE OPTIONS(description=""),
  report_date DATE OPTIONS(description="Date that the FDA issued the enforcement report for the product recall."),
  postal_code STRING OPTIONS(description=""),
  termination_date DATE OPTIONS(description=""),
  recall_initiation_date DATE OPTIONS(description="Date that the firm first began notifying the public or their consignees of the recall."),
  recall_number STRING OPTIONS(description="A numerical designation assigned by FDA to a specific recall event used for tracking purposes."),
  city STRING OPTIONS(description="The city in which the recalling firm is located."),
  event_id INT64 OPTIONS(description="A numerical designation assigned by FDA to a specific recall event used for tracking purposes."),
  distribution_pattern STRING OPTIONS(description="General area of initial distribution such as, “Distributors in 6 states: NY, VA, TX, GA, FL and MA; the Virgin Islands; Canada and Japan”. The term “nationwide” is defined to mean the fifty states or a significant portion. Note that subsequent distribution by the consignees to other parties may not be included."),
  recalling_firm STRING OPTIONS(description="The firm that initiates a recall or, in the case of an FDA requested recall or FDA mandated recall, the firm that has primary responsibility for the manufacture and (or) marketing of the product to be recalled."),
  voluntary_mandated STRING OPTIONS(description="Describes who initiated the recall. Recalls are almost always voluntary, meaning initiated by a firm. A recall is deemed voluntary when the firm voluntarily removes or corrects marketed products or the FDA requests the marketed products be removed or corrected. A recall is mandated when the firm was ordered by the FDA to remove or correct the marketed products, under section 518(e) of the FD&C Act, National Childhood Vaccine Injury Act of 1986, 21 CFR 1271.440, Infant Formula Act of 1980 and its 1986 amendments, or the Food Safety Modernization Act (FSMA)."),
  state STRING OPTIONS(description="The U.S. state in which the recalling firm is located."),
  reason_for_recall STRING OPTIONS(description="Information describing how the product is defective and violates the FD&C Act or related statutes."),
  initial_firm_notification STRING OPTIONS(description="The method(s) by which the firm initially notified the public or their consignees of a recall. A consignee is a person or firm named in a bill of lading to whom or to whose order the product has or will be delivered."),
  status STRING OPTIONS(description="On-Going = A recall which is currently in progress.  Completed = The recall action reaches the point at which the firm has actually retrieved and impounded all outstanding product that could reasonably be expected to be recovered, or has completed all product corrections. Terminated = FDA has determined that all reasonable efforts have been made to remove or correct the violative product in accordance with the recall strategy, and proper disposition has been made according to the degree of hazard. Pending = Actions that have been determined to be recalls, but that remain in the process of being classified."),
  product_type STRING OPTIONS(description=""),
  country STRING OPTIONS(description="The country in which the recalling firm is located."),
  product_description STRING OPTIONS(description="Brief description of the product being recalled."),
  code_info STRING OPTIONS(description="A list of all lot and/or serial numbers, product numbers, packer or manufacturer numbers, sell or use by dates, etc., which appear on the product or its labeling."),
  address_1 STRING OPTIONS(description=""),
  address_2 STRING OPTIONS(description=""),
  product_quantity STRING OPTIONS(description="The amount of defective product subject to recall."),
  more_code_info STRING OPTIONS(description="")
);

INSERT INTO `bigquery-public-data.fda_food.food_enforcement` (classification, center_classification_date, report_date, postal_code, termination_date, recall_initiation_date, recall_number, city, event_id, distribution_pattern, recalling_firm, voluntary_mandated, state, reason_for_recall, initial_firm_notification, status, product_type, country, product_description, code_info, address_1, address_2, product_quantity, more_code_info) VALUES ('Class II', '2016-11-08', '2016-11-16', '00637', '2017-07-03', '2016-07-13', 'F-0347-2017', 'Sabana Grande', 74836, 'USA only: Florida', 'Productos La Finca, Inc.', 'Voluntary: Firm initiated', 'PR', 'Undeclared food allergen: Soy', 'E-Mail', 'Terminated', 'Food', 'United States', 'Iberia Codfish Fritter Mix', 'Lot #16076, Exp. 3/16/17 and Lot # 16089, Exp. 3/29/17', 'Zona Industrial Machuchal', 'Ave. Quilinchini #61', '282 boxes of 12 (4.5 oz) pouches each', 'nan'), ('Class II', '2018-11-06', '2018-11-14', '00757', '2019-04-24', '2018-10-04', 'F-0372-2019', 'Santa Isabel', 81245, 'US Consignees only. No government nor foreign consignees.', 'Campofresco Corp.', 'Voluntary: Firm initiated', 'PR', 'The product may be contaminated with a sanitizing solution', 'E-Mail', 'Terminated', 'Food', 'United States', 'Orange plus Citrus Beverage from Concentrate', 'Lot 81 14055 T  Expiration: Nov 25 18', 'Road  #545, Km 0.3', 'nan', '1,010 cases (8 units ea)', 'nan'), ('Class III', '2024-01-09', '2024-01-17', '00911-2317', '2024-05-01', '2023-12-07', 'F-0710-2024', 'San Juan', 93627, 'Domestic distribution only throughout Puerto Rico', 'Vita 360, LLC', 'Voluntary: Firm initiated', 'PR', 'FDA lab analysis of product sampled revealed Chromium content was determined subpotent as 16 mcg/serving or 16% of declared.', 'E-Mail', 'Terminated', 'Food', 'United States', 'Brand Name: SUPREX Plant Based Nutrition. Product Name: Carb & Sugar Block.  Product Size: 120 Vegetable Cellulose Capsules per bottle. Container description: White Plastic Bottle 300CC with white cap sealed with clear plastic Total Package size: Master Case with 81 Bottles containing 120 capsules each one. Lot no. 2633, Exp. 07/25 Manufactured in the US', 'Manufacturer Lot #2633;  Expiration Date: 07/25', '227 Calle Betances', 'nan', '1999 units', 'nan'), ('Class III', '2021-05-07', '2021-05-19', '00924', '2021-10-08', '2021-04-20', 'F-0484-2021', 'Rio Piedras', 87758, 'Domestic distribution only-PR', 'Lopez Gonzalez Santana Corporation', 'Voluntary: Firm initiated', 'PR', 'cGMP Deviation: Presence of damaged tablets', 'E-Mail', 'Terminated', 'Food', 'United States', 'BTREX PLUS, Dietary Supplement 100 Caplets', 'Lot # 33277  Exp date:12/22', 'Calle De Diego # 488 Altos', 'nan', '311 Bottles', 'nan'), ('Class III', '2021-05-19', '2021-05-26', '00924', '2021-10-08', '2020-07-13', 'F-0540-2021', 'Rio Piedras', 87759, 'Domestic distribution only-PR', 'Lopez Gonzalez Santana Corporation', 'Voluntary: Firm initiated', 'PR', 'CGMP Deviations: Presence of damaged tablets', 'E-Mail', 'Terminated', 'Food', 'United States', 'BTREX PLUS, Dietary Supplement 2 Caplets, UPC 05380930802 (Physician Samples)', 'Lot# 32179, Exp. 9/2022  Lot# 33278, Exp. 12/2022', 'Calle De Diego # 488 Altos', 'nan', 'lots #32179   1405 and Lot #33278 - 0.', 'nan');