-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.irs_990.irs_990_ez_2015`
(
  ein STRING NOT NULL OPTIONS(description="Employer Identification Number"),
  elf STRING OPTIONS(description="E-file indicator"),
  tax_pd INT64 OPTIONS(description="Tax period"),
  subseccd INT64 OPTIONS(description="Subsection code"),
  totcntrbs INT64 OPTIONS(description="Contributions gifts grants etc received"),
  prgmservrev INT64 OPTIONS(description="Program service revenue"),
  duesassesmnts INT64 OPTIONS(description="Membership dues and assessments"),
  othrinvstinc INT64 OPTIONS(description="Investment income"),
  grsamtsalesastothr INT64 OPTIONS(description="Gross amount from sale of assets"),
  basisalesexpnsothr INT64 OPTIONS(description="Cost or other basis and sales expenses"),
  gnsaleofastothr INT64 OPTIONS(description="Gain or (loss) from sale of assets"),
  grsincgaming INT64 OPTIONS(description="Gross income from gaming"),
  grsrevnuefndrsng INT64 OPTIONS(description="Special events gross revenue"),
  direxpns INT64 OPTIONS(description="Special events direct expenses"),
  netincfndrsng INT64 OPTIONS(description="Special events net income (or loss)"),
  grsalesminusret INT64 OPTIONS(description="Gross sales of inventory"),
  costgoodsold INT64 OPTIONS(description="Less: cost of goods sold"),
  grsprft INT64 OPTIONS(description="Gross profit (or loss) from sales of inventory"),
  othrevnue INT64 OPTIONS(description="Other revenue - total"),
  totrevnue INT64 OPTIONS(description="Total revenue"),
  totexpns INT64 OPTIONS(description="Total expenses"),
  totexcessyr INT64 OPTIONS(description="Excess or deficit"),
  othrchgsnetassetfnd INT64 OPTIONS(description="Other changes in net assets"),
  networthend INT64 OPTIONS(description="Net assets EOY"),
  totassetsend INT64 OPTIONS(description="Total assets e-o-y"),
  totliabend INT64 OPTIONS(description="Total liabilities e-o-y"),
  totnetassetsend INT64 OPTIONS(description="Total net worth e-o-y"),
  actvtynotprevrptcd STRING OPTIONS(description="Activity not previously reported?"),
  chngsinorgcd STRING OPTIONS(description="Significant changes to governing docs?"),
  unrelbusincd STRING OPTIONS(description="UBI over $1000?"),
  filedf990tcd STRING OPTIONS(description="Organization Filed 990T"),
  contractioncd STRING OPTIONS(description="Liquidation dissolution termination or contraction"),
  politicalexpend INT64 OPTIONS(description="Direct or indirect political expenditures"),
  filedf1120polcd STRING OPTIONS(description="File Form 1120-POL?"),
  loanstoofficerscd STRING OPTIONS(description="Loans to/from officers directors or trustees?"),
  loanstoofficers INT64 OPTIONS(description="Amount of loans to/from officers"),
  initiationfee INT64 OPTIONS(description="Initiation fees and capital contributions"),
  grspublicrcpts INT64 OPTIONS(description="Gross receipts for public use of club facilities"),
  s4958excessbenefcd STRING OPTIONS(description="Section 4958 excess benefit transactions?"),
  prohibtdtxshltrcd STRING OPTIONS(description="Party to a prohibited tax shelter transaction?"),
  nonpfrea INT64 OPTIONS(description="Reason for non-PF status"),
  totnooforgscnt INT64 OPTIONS(description="Number of organizations supported"),
  totsupport INT64 OPTIONS(description="Sum of amounts of support"),
  gftgrntsrcvd170 INT64 OPTIONS(description="Gifts grants membership fees received (170)"),
  txrevnuelevied170 INT64 OPTIONS(description="Tax revenues levied (170)"),
  srvcsval170 INT64 OPTIONS(description="Services or facilities furnished by gov (170)"),
  pubsuppsubtot170 INT64 OPTIONS(description="Public support subtotal (170)"),
  exceeds2pct170 INT64 OPTIONS(description="Amount support exceeds total (170)"),
  pubsupplesspct170 INT64 OPTIONS(description="Public support (170)"),
  samepubsuppsubtot170 INT64 OPTIONS(description="Public support from line 4 (170)"),
  grsinc170 INT64 OPTIONS(description="Gross income from interest etc (170)"),
  netincunreltd170 INT64 OPTIONS(description="Net UBI (170)"),
  othrinc170 INT64 OPTIONS(description="Other income (170)"),
  totsupp170 INT64 OPTIONS(description="Total support (170)"),
  grsrcptsrelated170 INT64 OPTIONS(description="Gross receipts from related activities (170)"),
  totgftgrntrcvd509 INT64 OPTIONS(description="Gifts grants membership fees received (509)"),
  grsrcptsadmissn509 INT64 OPTIONS(description="Receipts from admissions merchandise etc (509)"),
  grsrcptsactivities509 INT64 OPTIONS(description="Gross receipts from related activities (509)"),
  txrevnuelevied509 INT64 OPTIONS(description="Tax revenues levied (509)"),
  srvcsval509 INT64 OPTIONS(description="Services or facilities furnished by gov (509)"),
  pubsuppsubtot509 INT64 OPTIONS(description="Public support subtotal (509)"),
  rcvdfrmdisqualsub509 INT64 OPTIONS(description="Amounts from disqualified persons (509)"),
  exceeds1pct509 INT64 OPTIONS(description="Amount support exceeds total (509)"),
  subtotpub509 INT64 OPTIONS(description="Public support subtotal (509)"),
  pubsupplesub509 INT64 OPTIONS(description="Public support (509)"),
  samepubsuppsubtot509 INT64 OPTIONS(description="Public support from line 6 (509)"),
  grsinc509 INT64 OPTIONS(description="Gross income from interest etc (509)"),
  unreltxincls511tx509 INT64 OPTIONS(description="Net UBI (509)"),
  subtotsuppinc509 INT64 OPTIONS(description="Subtotal total support (509)"),
  netincunrelatd509 INT64 OPTIONS(description="Net income from UBI not in 10b (509)"),
  othrinc509 INT64 OPTIONS(description="Other income (509)"),
  totsupp509 INT64 OPTIONS(description="Total support (509)")
)
OPTIONS(
  description="IRS 990 EZ 2015 dataset"
);

INSERT INTO `bigquery-public-data.irs_990.irs_990_ez_2015` (ein, elf, tax_pd, subseccd, totcntrbs, prgmservrev, duesassesmnts, othrinvstinc, grsamtsalesastothr, basisalesexpnsothr, gnsaleofastothr, grsincgaming, grsrevnuefndrsng, direxpns, netincfndrsng, grsalesminusret, costgoodsold, grsprft, othrevnue, totrevnue, totexpns, totexcessyr, othrchgsnetassetfnd, networthend, totassetsend, totliabend, totnetassetsend, actvtynotprevrptcd, chngsinorgcd, unrelbusincd, filedf990tcd, contractioncd, politicalexpend, filedf1120polcd, loanstoofficerscd, loanstoofficers, initiationfee, grspublicrcpts, s4958excessbenefcd, prohibtdtxshltrcd, nonpfrea, totnooforgscnt, totsupport, gftgrntsrcvd170, txrevnuelevied170, srvcsval170, pubsuppsubtot170, exceeds2pct170, pubsupplesspct170, samepubsuppsubtot170, grsinc170, netincunreltd170, othrinc170, totsupp170, grsrcptsrelated170, totgftgrntrcvd509, grsrcptsadmissn509, grsrcptsactivities509, txrevnuelevied509, srvcsval509, pubsuppsubtot509, rcvdfrmdisqualsub509, exceeds1pct509, subtotpub509, pubsupplesub509, samepubsuppsubtot509, grsinc509, unreltxincls511tx509, subtotsuppinc509, netincunrelatd509, othrinc509, totsupp509) VALUES ('561943271', 'E', 201406, 3, 0, 52187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49671, 101858, 0, 101858, 834138, -66294461, 210102, 66504563, -66294461, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), ('221739910', 'P', 201312, 3, 0, 12000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 935, 12935, 3350, 9585, 0, -17345013, 77664, 17422677, -17345013, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), ('221739910', 'P', 201412, 3, 0, 15511, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15511, 7714, 7797, -20, -17337217, 38240, 17375457, -17337217, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), ('362903290', 'E', 201412, 25, 0, 0, 0, 3950, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3950, 81324, -77374, 0, -11059778, 1089, 11060867, -11059778, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), ('680041276', 'P', 201412, 3, 41008, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41008, 35015, 5993, -500, -9228242, 5993, 9349044, -9343051, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 7, 0, 0, 200593, 0, 0, 200593, 5159, 195434, 200593, 0, 0, 0, 200593, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);