-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.irs_990.irs_990_ez_2014`
(
  ein STRING NOT NULL OPTIONS(description="Employer Identification Number"),
  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 2014 dataset"
);

INSERT INTO `bigquery-public-data.irs_990.irs_990_ez_2014` (ein, 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 ('311483263', 201212, 3, 146842, 2936, 0, 0, 0, 0, 0, 0, 5527, 464, 5063, 0, 0, 0, 0, 154841, 165998, -11157, 0, 262006, 266435, 4429, 262006, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 7, 0, 0, 871145, 0, 0, 871145, 0, 871145, 871145, 0, 0, 35940, 907085, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), ('237549170', 201305, 3, 0, 0, 3473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3473, 3573, -100, 0, 1389, 1389, 0, 1389, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15056, 0, 0, 0, 0, 15056, 0, 0, 0, 15056, 15056, 530, 0, 530, 0, -209, 15377), ('850442876', 201306, 3, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 150, 0, 144, 0, 7995, 7995, 0, 7995, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 15, 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), ('43252294', 201309, 3, 3190, 0, 17180, 5, 0, 0, 0, 0, 6653, 3829, 2823, 8062, 3827, 4234, 1000, 28432, 30172, -1740, 0, 121682, 126807, 4200, 122607, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163699, 93180, 0, 0, 0, 256878, 0, 0, 0, 256870, 256870, 140, 0, 140, 0, 0, 257010), ('264366297', 201309, 3, 2685, 0, 0, 13, 0, 0, 0, 0, 5998, 1412, 4586, 0, 0, 0, 0, 7284, 6718, 566, 0, 8324, 8324, 0, 8324, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 7, 0, 0, 11168, 0, 0, 11168, 0, 11168, 11168, 181, 0, 26745, 38094, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);