-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.irs_990.irs_990_ez_2013`
(
  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 $1,000?"),
  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)")
);

INSERT INTO `bigquery-public-data.irs_990.irs_990_ez_2013` (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 ('416038710', 201304, 3, 981, 75495, 29475, 41, 0, 0, 0, 0, 0, 0, 0, 199, 878, -679, 3118, 108431, 122427, -13996, 0, 138095, 142174, 4079, 138095, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 9, 0, 0, 178626, 0, 0, 178626, 0, 178626, 178626, 220, 0, 0, 178846, 0, 244467, 0, 0, 0, 0, 244467, 179, 0, 179, 244288, 244467, 179, 0, 179, 0, 0, 244646), ('112422678', 201112, 3, 67708, 18365, 1522, 1202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88797, 59429, 29368, 0, 152508, 280684, 128176, 152508, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 7, 0, 0, 470017, 0, 0, 470017, 0, 470017, 470017, 7805, 0, 0, 477822, 0, 470017, 0, 0, 0, 0, 470017, 0, 0, 0, 470017, 470017, 7805, 0, 7805, 0, 0, 477822), ('261965634', 201212, 3, 13681, 216, 5239, 0, 0, 0, 0, 0, 38444, 25198, 13246, 0, 0, 0, 0, 32382, 30574, 1808, 0, 15007, 17307, 2300, 15007, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 7, 0, 0, 167001, 0, 0, 167001, 0, 167001, 167001, 0, 0, 0, 167001, 0, 167001, 0, 0, 0, 0, 167001, 0, 0, 0, 167001, 167001, 0, 0, 0, 0, 0, 167001), ('203355496', 201209, 3, 8323, 18763, 1335, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28421, 16913, 11508, 0, 33777, 34448, 671, 33777, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 7, 0, 0, 34031, 0, 0, 34031, 0, 34031, 34031, 0, 0, 37373, 71404, 0, 34031, 0, 0, 0, 0, 34031, 0, 0, 0, 34031, 34031, 0, 0, 0, 0, 37373, 71404), ('273823320', 201212, 3, 33808, 127695, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 161553, 95183, 66370, 0, 73829, 169013, 95184, 73829, 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 0, 0, 0, 'N', 'N', 9, 0, 0, 161503, 0, 0, 161503, 0, 161503, 161503, 0, 0, 50, 161553, 0, 33808, 127695, 50, 0, 0, 161553, 0, 0, 0, 161553, 161553, 0, 0, 0, 0, 0, 161553);