Created
February 10, 2015 15:24
-
-
Save tucotuco/3413d20e056c80bec0b2 to your computer and use it in GitHub Desktop.
BigQuery SQL to create old-style harvest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
pubdate, | |
url, | |
eml, | |
dwca, | |
title, | |
icode, | |
"description" as description, | |
contact, | |
orgname, | |
email, | |
emlrights, | |
"1" as count, | |
citation, | |
networks, | |
"harvestid" as harvestid, | |
id, | |
acceptednameusage, | |
acceptednameusageid, | |
accessrights, | |
associatedmedia, | |
associatedoccurrences, | |
associatedreferences, | |
associatedsequences, | |
associatedtaxa, | |
basisofrecord, | |
bed, | |
behavior, | |
bibliographiccitation, | |
catalognumber, | |
class, | |
collectioncode, | |
collectionid, | |
continent, | |
coordinateprecision, | |
coordinateuncertaintyinmeters, | |
country, | |
countrycode, | |
county, | |
datageneralizations, | |
datasetid, | |
datasetname, | |
dateidentified, | |
day, | |
decimallatitude, | |
decimallongitude, | |
disposition, | |
dynamicproperties, | |
earliestageorloweststage, | |
earliesteonorlowesteonothem, | |
earliestepochorlowestseries, | |
earliesteraorlowesterathem, | |
earliestperiodorlowestsystem, | |
enddayofyear, | |
establishmentmeans, | |
eventdate, | |
eventid, | |
eventremarks, | |
eventtime, | |
family, | |
fieldnotes, | |
fieldnumber, | |
footprintspatialfit, | |
footprintsrs, | |
footprintwkt, | |
formation, | |
geodeticdatum, | |
geologicalcontextid, | |
georeferencedby, | |
georeferenceddate, | |
georeferenceprotocol, | |
georeferenceremarks, | |
georeferencesources, | |
georeferenceverificationstatus, | |
group, | |
habitat, | |
higherclassification, | |
highergeography, | |
highergeographyid, | |
highestbiostratigraphiczone, | |
identificationid, | |
identificationqualifier, | |
identificationreferences, | |
identificationremarks, | |
identificationverificationstatus, | |
identifiedby, | |
individualcount, | |
organismid as individualid, | |
informationwithheld, | |
infraspecificepithet, | |
institutioncode, | |
institutionid, | |
island, | |
islandgroup, | |
kingdom, | |
language, | |
latestageorhigheststage, | |
latesteonorhighesteonothem, | |
latestepochorhighestseries, | |
latesteraorhighesterathem, | |
latestperiodorhighestsystem, | |
lifestage, | |
lithostratigraphicterms, | |
locality, | |
locationaccordingto, | |
locationid, | |
locationremarks, | |
lowestbiostratigraphiczone, | |
materialsampleid, | |
maximumdepthinmeters, | |
maximumdistanceabovesurfaceinmeters, | |
maximumelevationinmeters, | |
member, | |
minimumdepthinmeters, | |
minimumdistanceabovesurfaceinmeters, | |
minimumelevationinmeters, | |
modified, | |
month, | |
municipality, | |
nameaccordingto, | |
nameaccordingtoid, | |
namepublishedin, | |
namepublishedinid, | |
namepublishedinyear, | |
nomenclaturalcode, | |
nomenclaturalstatus, | |
occurrenceid, | |
occurrenceremarks, | |
occurrencestatus, | |
order, | |
originalnameusage, | |
originalnameusageid, | |
othercatalognumbers, | |
ownerinstitutioncode, | |
parentnameusage, | |
parentnameusageid, | |
phylum, | |
pointradiusspatialfit, | |
preparations, | |
previousidentifications, | |
recordedby, | |
recordnumber, | |
dumps.Amazonia_20150206.references as dc_references, | |
reproductivecondition, | |
license as rights, | |
rightsholder, | |
samplingeffort, | |
samplingprotocol, | |
scientificname, | |
scientificnameauthorship, | |
scientificnameid, | |
sex, | |
specificepithet, | |
startdayofyear, | |
stateprovince, | |
subgenus, | |
taxonconceptid, | |
taxonid, | |
taxonomicstatus, | |
taxonrank, | |
taxonremarks, | |
type, | |
typestatus, | |
verbatimcoordinates, | |
verbatimcoordinatesystem, | |
verbatimdepth, | |
verbatimelevation, | |
verbatimeventdate, | |
verbatimlatitude, | |
verbatimlocality, | |
verbatimlongitude, | |
verbatimsrs, | |
verbatimtaxonrank, | |
vernacularname, | |
waterbody, | |
year | |
FROM [dumps.Amazonia_20150206] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment