-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.irs_990.irs_990_2015`
(
  ein STRING NOT NULL,
  elf STRING,
  tax_pd INT64,
  subseccd INT64,
  s501c3or4947a1cd STRING,
  schdbind STRING,
  politicalactvtscd STRING,
  lbbyingactvtscd STRING,
  subjto6033cd STRING,
  dnradvisedfundscd STRING,
  prptyintrcvdcd STRING,
  maintwrkofartcd STRING,
  crcounselingqstncd STRING,
  hldassetsintermpermcd STRING,
  rptlndbldgeqptcd STRING,
  rptinvstothsecd STRING,
  rptinvstprgrelcd STRING,
  rptothasstcd STRING,
  rptothliabcd STRING,
  sepcnsldtfinstmtcd STRING,
  sepindaudfinstmtcd STRING,
  inclinfinstmtcd STRING,
  operateschools170cd STRING,
  frgnofficecd STRING,
  frgnrevexpnscd STRING,
  frgngrntscd STRING,
  frgnaggragrntscd STRING,
  rptprofndrsngfeescd STRING,
  rptincfnndrsngcd STRING,
  rptincgamingcd STRING,
  operatehosptlcd STRING,
  hospaudfinstmtcd STRING,
  rptgrntstogovtcd STRING,
  rptgrntstoindvcd STRING,
  rptyestocompnstncd STRING,
  txexmptbndcd STRING,
  invstproceedscd STRING,
  maintescrwaccntcd STRING,
  actonbehalfcd STRING,
  engageexcessbnftcd STRING,
  awarexcessbnftcd STRING,
  loantofficercd STRING,
  grantoofficercd STRING,
  dirbusnreltdcd STRING,
  fmlybusnreltdcd STRING,
  servasofficercd STRING,
  recvnoncashcd STRING,
  recvartcd STRING,
  ceaseoperationscd STRING,
  sellorexchcd STRING,
  ownsepentcd STRING,
  reltdorgcd STRING,
  intincntrlcd STRING,
  orgtrnsfrcd STRING,
  conduct5percentcd STRING,
  compltschocd STRING,
  f1096cnt INT64,
  fw2gcnt INT64,
  wthldngrulescd STRING,
  noemplyeesw3cnt INT64,
  filerqrdrtnscd STRING,
  unrelbusinccd STRING,
  filedf990tcd STRING,
  frgnacctcd STRING,
  prohibtdtxshltrcd STRING,
  prtynotifyorgcd STRING,
  filedf8886tcd STRING,
  solicitcntrbcd STRING,
  exprstmntcd STRING,
  providegoodscd STRING,
  notfydnrvalcd STRING,
  filedf8282cd STRING,
  f8282cnt INT64,
  fndsrcvdcd STRING,
  premiumspaidcd STRING,
  filedf8899cd STRING,
  filedf1098ccd STRING,
  excbushldngscd STRING,
  s4966distribcd STRING,
  distribtodonorcd STRING,
  initiationfees INT64,
  grsrcptspublicuse INT64,
  grsincmembers INT64,
  grsincother INT64,
  filedlieuf1041cd STRING,
  txexmptint INT64,
  qualhlthplncd STRING,
  qualhlthreqmntn INT64,
  qualhlthonhnd INT64,
  rcvdpdtngcd STRING,
  filedf720cd STRING,
  totreprtabled INT64,
  totcomprelatede INT64,
  totestcompf INT64,
  noindiv100kcnt INT64,
  nocontractor100kcnt INT64,
  totcntrbgfts INT64,
  prgmservcode2acd INT64,
  totrev2acola INT64,
  prgmservcode2bcd INT64,
  totrev2bcola INT64,
  prgmservcode2ccd INT64,
  totrev2ccola INT64,
  prgmservcode2dcd INT64,
  totrev2dcola INT64,
  prgmservcode2ecd INT64,
  totrev2ecola INT64,
  totrev2fcola INT64,
  totprgmrevnue INT64,
  invstmntinc INT64,
  txexmptbndsproceeds INT64,
  royaltsinc INT64,
  grsrntsreal INT64,
  grsrntsprsnl INT64,
  rntlexpnsreal INT64,
  rntlexpnsprsnl INT64,
  rntlincreal INT64,
  rntlincprsnl INT64,
  netrntlinc INT64,
  grsalesecur INT64,
  grsalesothr INT64,
  cstbasisecur INT64,
  cstbasisothr INT64,
  gnlsecur INT64,
  gnlsothr INT64,
  netgnls INT64,
  grsincfndrsng INT64,
  lessdirfndrsng INT64,
  netincfndrsng INT64,
  grsincgaming INT64,
  lessdirgaming INT64,
  netincgaming INT64,
  grsalesinvent INT64,
  lesscstofgoods INT64,
  netincsales INT64,
  miscrev11acd INT64,
  miscrevtota INT64,
  miscrev11bcd INT64,
  miscrevtot11b INT64,
  miscrev11ccd INT64,
  miscrevtot11c INT64,
  miscrevtot11d INT64,
  miscrevtot11e INT64,
  totrevenue INT64,
  grntstogovt INT64,
  grnsttoindiv INT64,
  grntstofrgngovt INT64,
  benifitsmembrs INT64,
  compnsatncurrofcr INT64,
  compnsatnandothr INT64,
  othrsalwages INT64,
  pensionplancontrb INT64,
  othremplyeebenef INT64,
  payrolltx INT64,
  feesforsrvcmgmt INT64,
  legalfees INT64,
  accntingfees INT64,
  feesforsrvclobby INT64,
  profndraising INT64,
  feesforsrvcinvstmgmt INT64,
  feesforsrvcothr INT64,
  advrtpromo INT64,
  officexpns INT64,
  infotech INT64,
  royaltsexpns INT64,
  occupancy INT64,
  travel INT64,
  travelofpublicoffcl INT64,
  converconventmtng INT64,
  interestamt INT64,
  pymtoaffiliates INT64,
  deprcatndepletn INT64,
  insurance INT64,
  othrexpnsa INT64,
  othrexpnsb INT64,
  othrexpnsc INT64,
  othrexpnsd INT64,
  othrexpnse INT64,
  othrexpnsf INT64,
  totfuncexpns INT64,
  nonintcashend INT64,
  svngstempinvend INT64,
  pldgegrntrcvblend INT64,
  accntsrcvblend INT64,
  currfrmrcvblend INT64,
  rcvbldisqualend INT64,
  notesloansrcvblend INT64,
  invntriesalesend INT64,
  prepaidexpnsend INT64,
  lndbldgsequipend INT64,
  invstmntsend INT64,
  invstmntsothrend INT64,
  invstmntsprgmend INT64,
  intangibleassetsend INT64,
  othrassetsend INT64,
  totassetsend INT64,
  accntspayableend INT64,
  grntspayableend INT64,
  deferedrevnuend INT64,
  txexmptbndsend INT64,
  escrwaccntliabend INT64,
  paybletoffcrsend INT64,
  secrdmrtgsend INT64,
  unsecurednotesend INT64,
  othrliabend INT64,
  totliabend INT64,
  unrstrctnetasstsend INT64,
  temprstrctnetasstsend INT64,
  permrstrctnetasstsend INT64,
  capitalstktrstend INT64,
  paidinsurplusend INT64,
  retainedearnend INT64,
  totnetassetend INT64,
  totnetliabastend INT64,
  nonpfrea INT64,
  totnooforgscnt INT64,
  totsupport INT64,
  gftgrntsrcvd170 INT64,
  txrevnuelevied170 INT64,
  srvcsval170 INT64,
  pubsuppsubtot170 INT64,
  exceeds2pct170 INT64,
  pubsupplesspct170 INT64,
  samepubsuppsubtot170 INT64,
  grsinc170 INT64,
  netincunreltd170 INT64,
  othrinc170 INT64,
  totsupp170 INT64,
  grsrcptsrelated170 INT64,
  totgftgrntrcvd509 INT64,
  grsrcptsadmissn509 INT64,
  grsrcptsactivities509 INT64,
  txrevnuelevied509 INT64,
  srvcsval509 INT64,
  pubsuppsubtot509 INT64,
  rcvdfrmdisqualsub509 INT64,
  exceeds1pct509 INT64,
  subtotpub509 INT64,
  pubsupplesub509 INT64,
  samepubsuppsubtot509 INT64,
  grsinc509 INT64,
  unreltxincls511tx509 INT64,
  subtotsuppinc509 INT64,
  netincunrelatd509 INT64,
  othrinc509 INT64,
  totsupp509 INT64
)
OPTIONS(
  description="IRS 990 2015 dataset"
);

INSERT INTO `bigquery-public-data.irs_990.irs_990_2015` (ein, elf, tax_pd, subseccd, s501c3or4947a1cd, schdbind, politicalactvtscd, lbbyingactvtscd, subjto6033cd, dnradvisedfundscd, prptyintrcvdcd, maintwrkofartcd, crcounselingqstncd, hldassetsintermpermcd, rptlndbldgeqptcd, rptinvstothsecd, rptinvstprgrelcd, rptothasstcd, rptothliabcd, sepcnsldtfinstmtcd, sepindaudfinstmtcd, inclinfinstmtcd, operateschools170cd, frgnofficecd, frgnrevexpnscd, frgngrntscd, frgnaggragrntscd, rptprofndrsngfeescd, rptincfnndrsngcd, rptincgamingcd, operatehosptlcd, hospaudfinstmtcd, rptgrntstogovtcd, rptgrntstoindvcd, rptyestocompnstncd, txexmptbndcd, invstproceedscd, maintescrwaccntcd, actonbehalfcd, engageexcessbnftcd, awarexcessbnftcd, loantofficercd, grantoofficercd, dirbusnreltdcd, fmlybusnreltdcd, servasofficercd, recvnoncashcd, recvartcd, ceaseoperationscd, sellorexchcd, ownsepentcd, reltdorgcd, intincntrlcd, orgtrnsfrcd, conduct5percentcd, compltschocd, f1096cnt, fw2gcnt, wthldngrulescd, noemplyeesw3cnt, filerqrdrtnscd, unrelbusinccd, filedf990tcd, frgnacctcd, prohibtdtxshltrcd, prtynotifyorgcd, filedf8886tcd, solicitcntrbcd, exprstmntcd, providegoodscd, notfydnrvalcd, filedf8282cd, f8282cnt, fndsrcvdcd, premiumspaidcd, filedf8899cd, filedf1098ccd, excbushldngscd, s4966distribcd, distribtodonorcd, initiationfees, grsrcptspublicuse, grsincmembers, grsincother, filedlieuf1041cd, txexmptint, qualhlthplncd, qualhlthreqmntn, qualhlthonhnd, rcvdpdtngcd, filedf720cd, totreprtabled, totcomprelatede, totestcompf, noindiv100kcnt, nocontractor100kcnt, totcntrbgfts, prgmservcode2acd, totrev2acola, prgmservcode2bcd, totrev2bcola, prgmservcode2ccd, totrev2ccola, prgmservcode2dcd, totrev2dcola, prgmservcode2ecd, totrev2ecola, totrev2fcola, totprgmrevnue, invstmntinc, txexmptbndsproceeds, royaltsinc, grsrntsreal, grsrntsprsnl, rntlexpnsreal, rntlexpnsprsnl, rntlincreal, rntlincprsnl, netrntlinc, grsalesecur, grsalesothr, cstbasisecur, cstbasisothr, gnlsecur, gnlsothr, netgnls, grsincfndrsng, lessdirfndrsng, netincfndrsng, grsincgaming, lessdirgaming, netincgaming, grsalesinvent, lesscstofgoods, netincsales, miscrev11acd, miscrevtota, miscrev11bcd, miscrevtot11b, miscrev11ccd, miscrevtot11c, miscrevtot11d, miscrevtot11e, totrevenue, grntstogovt, grnsttoindiv, grntstofrgngovt, benifitsmembrs, compnsatncurrofcr, compnsatnandothr, othrsalwages, pensionplancontrb, othremplyeebenef, payrolltx, feesforsrvcmgmt, legalfees, accntingfees, feesforsrvclobby, profndraising, feesforsrvcinvstmgmt, feesforsrvcothr, advrtpromo, officexpns, infotech, royaltsexpns, occupancy, travel, travelofpublicoffcl, converconventmtng, interestamt, pymtoaffiliates, deprcatndepletn, insurance, othrexpnsa, othrexpnsb, othrexpnsc, othrexpnsd, othrexpnse, othrexpnsf, totfuncexpns, nonintcashend, svngstempinvend, pldgegrntrcvblend, accntsrcvblend, currfrmrcvblend, rcvbldisqualend, notesloansrcvblend, invntriesalesend, prepaidexpnsend, lndbldgsequipend, invstmntsend, invstmntsothrend, invstmntsprgmend, intangibleassetsend, othrassetsend, totassetsend, accntspayableend, grntspayableend, deferedrevnuend, txexmptbndsend, escrwaccntliabend, paybletoffcrsend, secrdmrtgsend, unsecurednotesend, othrliabend, totliabend, unrstrctnetasstsend, temprstrctnetasstsend, permrstrctnetasstsend, capitalstktrstend, paidinsurplusend, retainedearnend, totnetassetend, totnetliabastend, 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 ('366423041', 'E', 201412, 3, 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 0, 0, 'N', 0, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 0, 0, 0, 0, 'N', 0, 'N', 0, 0, 'N', 'N', 9000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 79226, 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, 0, 79226, 0, 0, 0, 0, 9000, 0, 0, 0, 0, 0, 0, 0, 450, 0, 0, 0, 1266, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10716, 503643, 0, 0, 0, 0, 0, 0, 0, 0, 0, 237510, 0, 0, 0, 0, 741153, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 741153, 0, 0, 0, 0, 0, 741153, 741153, 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), ('237081719', 'E', 201412, 4, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 2, 0, 'Y', 0, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 0, 0, 0, 0, 'N', 0, 'N', 0, 0, 'N', 'N', 5000, 0, 0, 0, 0, 0, 0, 66133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 66133, 3558, 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, 0, 69691, 0, 0, 0, 480, 5000, 0, 0, 0, 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34389, 6258, 25, 0, 0, 0, 46507, 15351, 725784, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 741135, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 741135, 741135, 741135, 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), ('61446190', 'E', 201412, 3, 'Y', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'N', 'N', 'N', 'N', 'Y', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 6, 0, 'Y', 7, 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'N', 0, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 0, 0, 0, 0, 'N', 0, 'N', 0, 0, 'N', 'N', 63422, 0, 0, 0, 0, 545550, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 151, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49397, 29628, 19769, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 565470, 0, 303695, 0, 0, 65868, 0, 112660, 0, 12437, 15814, 0, 0, 6650, 0, 0, 0, 1118, 0, 0, 0, 0, 29159, 2535, 0, 0, 0, 0, 11792, 7453, 7071, 3509, 3411, 3687, 0, 7258, 594117, 165243, 73258, 0, 0, 0, 0, 0, 130645, 6439, 348430, 0, 0, 0, 0, 17111, 741126, 11050, 0, 25000, 0, 0, 0, 0, 0, 0, 36050, 656721, 48355, 0, 0, 0, 0, 705076, 741126, 7, 0, 0, 3026958, 0, 0, 3026958, 72966, 2953992, 3026958, 2300, 0, 5778, 3035036, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), ('840951686', 'P', 201408, 3, 'Y', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'N', 'N', 'N', 'N', 'N', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'N', 'N', 'N', 'N', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 1, 0, 'Y', 19, 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 0, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 0, 0, 0, 0, 'N', 0, 'N', 0, 0, 'N', 'N', 84668, 0, 0, 0, 0, 275953, 0, 637530, 0, 0, 0, 0, 0, 0, 0, 0, 0, 637530, 262, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7748, 7748, 0, 0, 0, 0, 0, 0, 0, 0, 5915, 0, 0, 0, 0, 0, 5915, 919660, 0, 78028, 0, 0, 84668, 0, 486705, 0, 0, 0, 0, 0, 5565, 0, 0, 0, 0, 0, 2994, 0, 0, 7974, 4960, 0, 0, 39172, 0, 30338, 21095, 39497, 32994, 27563, 7832, 7296, 0, 876681, 165166, 57984, 8119, 2250, 0, 0, 0, 0, 4129, 503477, 0, 0, 0, 0, 0, 741125, 23873, 0, 0, 0, 0, 0, 773135, 0, 0, 797008, -55883, 0, 0, 0, 0, 0, -55883, 741125, 7, 0, 0, 1226394, 0, 0, 1226394, 205487, 1020907, 1226394, 1151, 0, 41514, 1269059, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), ('42826250', 'P', 201504, 7, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 0, 0, 'N', 0, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'N', 'N', 'N', 0, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 0, 0, 0, 0, 'N', 0, 'N', 0, 0, 'N', 'N', 0, 0, 0, 0, 0, 4304, 532000, 192000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192000, 336, 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, 0, 196640, 29124, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7668, 0, 0, 0, 0, 0, 0, 116242, 0, 0, 0, 8507, 0, 28537, 6972, 10, 0, 0, 0, 0, 0, 197060, 0, 511841, 0, 48000, 0, 0, 0, 0, 0, 180777, 0, 0, 0, 500, 0, 741118, 0, 0, 0, 0, 0, 0, 0, 257412, 0, 257412, 0, 0, 0, 341367, 16761, 125578, 483706, 741118, 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);