-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.oppexp20`
(
  cmte_id STRING OPTIONS(description="Filer Identification Number"),
  amndt_ind STRING OPTIONS(description="Amendment Indicator"),
  rpt_yr INT64 OPTIONS(description="Report Year"),
  rpt_tp STRING OPTIONS(description="Report Type"),
  image_num INT64 OPTIONS(description="Image Number"),
  line_num STRING OPTIONS(description="Line Number"),
  form_tp_cd STRING OPTIONS(description="Form Type"),
  sched_tp_cd STRING OPTIONS(description="Schedule Type"),
  name STRING OPTIONS(description="Contributor/Lender/Transfer Name"),
  city STRING OPTIONS(description="City/Town"),
  state STRING OPTIONS(description="State"),
  zip_code STRING OPTIONS(description="Zip Code"),
  transaction_dt DATE OPTIONS(description="Transaction Date(MMDDYYYY)"),
  transaction_amt FLOAT64 OPTIONS(description="Transaction Amount"),
  transaction_pgi STRING OPTIONS(description="Primary General Indicator"),
  purpose STRING OPTIONS(description="Purpose"),
  category STRING OPTIONS(description="Disbursement Category Code"),
  category_desc STRING OPTIONS(description="Disbursement Category Code Description"),
  memo_cd STRING OPTIONS(description="Memo Code"),
  memo_text STRING OPTIONS(description="Memo Text"),
  entity_tp STRING OPTIONS(description="Entity Type"),
  sub_id INT64 NOT NULL OPTIONS(description="FEC Record Number"),
  file_num INT64 OPTIONS(description="File Number / Report ID"),
  tran_id STRING OPTIONS(description="Transaction ID"),
  back_ref_tran_id STRING OPTIONS(description="Back Reference Transaction ID")
);

INSERT INTO `bigquery-public-data.fec.oppexp20` (cmte_id, amndt_ind, rpt_yr, rpt_tp, image_num, line_num, form_tp_cd, sched_tp_cd, name, city, state, zip_code, transaction_dt, transaction_amt, transaction_pgi, purpose, category, category_desc, memo_cd, memo_text, entity_tp, sub_id, file_num, tran_id, back_ref_tran_id) VALUES ('C00000422', 'N', 2020, '12G', 202010219326742022, '21B', 'F3X', 'SB', 'STROTHER NUCKELS STRATEGIES', 'WASHINGTON', 'DC', '200182917', '2020-10-13', -325000.0, NULL, '9/29 EXPENSE REPORTED AS I.E.', NULL, NULL, NULL, NULL, 'ORG', 4120220201963125025, 1459207, 'BEF2EB2B0A04E494B89B', NULL), ('C00000422', 'N', 2019, 'M12', 201912169166288743, '21B', 'F3X', 'SB', 'RAZ MOBILE', 'KANSAS CITY', 'MO', '641082673', '2019-11-30', 68.0, NULL, 'CREDIT CARD PROCESSING FEES', NULL, NULL, NULL, NULL, 'ORG', 4121620191681552304, 1366293, 'B7232ACD23F074AC4B79', NULL), ('C00000422', 'N', 2020, 'M3', 202003099203795754, '21B', 'F3X', 'SB', 'CHASE PAYMENTECH', 'SALEM', 'NH', '030795916', '2020-02-29', 2597.07, NULL, 'CREDIT CARD BANK CHARGES', NULL, NULL, NULL, NULL, 'ORG', 4030920201702795947, 1388567, 'BCFF11C77381F46F8AF5', NULL), ('C00000422', 'N', 2020, 'M3', 202003099203795754, '21B', 'F3X', 'SB', 'RAZ MOBILE', 'KANSAS CITY', 'MO', '641082673', '2020-02-29', 42.65, NULL, 'CREDIT CARD PROCESSING FEE', NULL, NULL, NULL, NULL, 'ORG', 4030920201702795948, 1388567, 'B2A628EDEF51F4CD1ACF', NULL), ('C00000422', 'N', 2019, 'M6', 201906179150072991, '21B', 'F3X', 'SB', 'RAZ MOBILE', 'KANSAS CITY', 'MO', '641082673', '2019-05-31', 251.3, NULL, 'CREDIT CARD PROCESSING FEES', NULL, NULL, NULL, NULL, 'ORG', 4061720191658121897, 1334310, 'BDE53799466414F41BE7', NULL);