-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fda_food.food_events`
(
  report_number STRING OPTIONS(description="The report number"),
  reactions STRING OPTIONS(description="Information on the reactions or symptoms experienced by the individual involved"),
  outcomes STRING OPTIONS(description="Information on known outcomes or consequences of the adverse event. For more info, refer: https://open.fda.gov/food/event/reference/"),
  products_brand_name STRING OPTIONS(description="The reported brand name of the product."),
  products_industry_code STRING OPTIONS(description="The FDA industry code for the product. Results in this endpoint are generally limited to products tagged with industry codes related to human food and nutritional supplements or cosmetics.  For more info, refer: https://open.fda.gov/food/event/reference/"),
  products_role STRING OPTIONS(description=""),
  products_industry_name STRING OPTIONS(description="The FDA industry name associated with the product."),
  date_created DATE OPTIONS(description="Date the report was received by FDA."),
  date_started DATE OPTIONS(description="Date of the adverse event (when it was considered to have started)."),
  consumer_gender STRING OPTIONS(description="The reported gender of the consumer. Female = Female Male = Male Not Available = Unknown"),
  consumer_age FLOAT64 OPTIONS(description="The reported age of the consumer at the time of the adverse event report, expressed in the unit in the field age_unit"),
  consumer_age_unit STRING OPTIONS(description="Encodes the unit in which the age of the consumer is expressed.  Day(s) = age is expressed in days Week(s) = age is expressed in weeks Month(s) = age is expressed in months Year(s) = age is expressed in years Decade(s) = age is expressed in decades Not Available = Unknown")
);

INSERT INTO `bigquery-public-data.fda_food.food_events` (report_number, reactions, outcomes, products_brand_name, products_industry_code, products_role, products_industry_name, date_created, date_started, consumer_gender, consumer_age, consumer_age_unit) VALUES ('163487', '"ASPERGERS DISORDER", ATTENTION DEFICIT/HYPERACTIVITY DISORDER, AUTISM, BIRTH TRAUMA, DRUG EXPOSURE DURING PREGNANCY, SKULL MALFORMATION', 'Hospitalization, Other Serious or Important Medical Event', 'FLINTSTONES COMPLETE (MULTIVITAMINS + MINERALS) CHEWABLE TABLET', '54', 'SUSPECT', 'Vit/Min/Prot/Unconv Diet(Human/Animal)', '2013-03-15', '2003-08-13', 'Male', nan, NULL), ('140976', '"BARRETTS OESOPHAGUS"', 'Other Serious or Important Medical Event', 'CITRACAL PLUS (CALCIUM CARBONATE + VITAMIN D) FILM-COATED TABLET', '54', 'SUSPECT', 'Vit/Min/Prot/Unconv Diet(Human/Animal)', '2011-06-22', 'NaT', 'Male', nan, NULL), ('140976', '"BARRETTS OESOPHAGUS"', 'Other Serious or Important Medical Event', 'VITAMIN C', '54', 'CONCOMITANT', 'Vit/Min/Prot/Unconv Diet(Human/Animal)', '2011-06-22', 'NaT', 'Male', nan, NULL), ('109790', '"BARRETTS OESOPHAGUS", DYSPHAGIA, DYSPNOEA, HYPERSENSITIVITY, MUCOUS MEMBRANE DISORDER', 'Visited Emergency Room', 'EGG BEATERS EGG SUBSTITUTE', '15', 'SUSPECT', 'Egg/Egg Prod', '2008-10-14', 'NaT', 'Male', nan, NULL), ('160251', '"BASEDOWS DISEASE"', 'Other Serious or Important Medical Event', 'CENTRUM  (MULTIMINERALS, MULTIVITAMINS) TABLET', '54', 'SUSPECT', 'Vit/Min/Prot/Unconv Diet(Human/Animal)', '2012-12-18', 'NaT', 'Female', nan, NULL);