DOI: 10.15468/dl.sm9pb2
title: Occurrence Download

description: A dataset containing 1 records in GBIF matching the query:
SELECT
 kingdom,
 kingdomkey,
 phylum,
 phylumkey,
 class,
 classkey,
 "order",
 orderkey,
 family,
 familykey,
 genus,
 genuskey,
 species,
 specieskey,
 "year",
 IF(ISNULL(familykey), NULL, SUM(COUNT(*)) OVER (
 PARTITION BY familykey, "year")) familycount,
 IF(ISNULL(genuskey), NULL, SUM(COUNT(*)) OVER (
 PARTITION BY genuskey, "year")) genuscount,
 COUNT(*) occurrences,
 MIN(GBIF_TEMPORALUNCERTAINTY(eventdate, eventtime)) mintemporaluncertainty,
 MIN(COALESCE(coordinateuncertaintyinmeters, 1000)) mincoordinateuncertaintyinmeters
FROM
 occurrence
WHERE
 occurrence.basisofrecord = 'HUMAN_OBSERVATION'
 AND (occurrence.decimallatitude &gt;= 35.21477 AND occurrence.decimallatitude &lt;= 42.23575 AND (occurrence.decimallongitude &gt;= -79.43287 AND occurrence.decimallongitude &lt;= -68.37615) AND GBIF_WITHIN('POLYGON ((-70.82422 41.91471, -76.38569 42.23575, -79.43287 36.81655, -75.53496 35.25226, -75.52965 35.21477, -75.52094 35.21493, -72.5806 36.40669, -68.78769 39.36343, -68.37615 41.7125, -68.7421 41.74546, -69.63804 41.73605, -69.98506 41.73134, -70.09232 41.70308, -70.3447 41.66539, -70.52137 41.72192, -70.82422 41.91471))', occurrence.decimallatitude, occurrence.decimallongitude) = TRUE OR GBIF_WITHIN('POLYGON((-66.27605 41.74942,-69.9821 41.74942,-68.39379 41.69014,-68.26143 41.67037,-66.27605 41.74942))', occurrence.decimallatitude, occurrence.decimallongitude) = TRUE OR GBIF_WITHIN('POLYGON((-66.27605 41.74396,-68.71092 41.71208,-68.6682 39.50724,-66.19062 40.61876,-66.27605 41.74396))', occurrence.decimallatitude, occurrence.decimallongitude) = TRUE OR occurrence.decimallatitude &gt;= 35.23979 AND occurrence.decimallatitude &lt;= 41.83173 AND (occurrence.decimallongitude &gt;= -75.48791 AND occurrence.decimallongitude &lt;= -59.71797) AND GBIF_WITHIN('POLYGON ((-66.29363 41.74495, -75.48791 35.23979, -70.36704 35.80811, -59.71797 35.94956, -59.71797 41.83173, -66.29363 41.74495))', occurrence.decimallatitude, occurrence.decimallongitude) = TRUE)
 AND occurrence.hascoordinate = TRUE
 AND occurrence.hasgeospatialissues = FALSE
 AND occurrence.occurrencestatus = 'PRESENT'
 AND occurrence.publishingorgkey IN ('c98a8d0d-cab2-4506-8c0f-c91a5e4996b9', 'c3ad790a-d426-4ac1-8e32-da61f81f0117')
 AND (CAST(occurrence.taxonkey AS INTEGER) = 980 OR CAST(occurrence.acceptedtaxonkey AS INTEGER) = 980 OR CAST(occurrence.kingdomkey AS INTEGER) = 980 OR CAST(occurrence.phylumkey AS INTEGER) = 980 OR CAST(occurrence.classkey AS INTEGER) = 980 OR CAST(occurrence.orderkey AS INTEGER) = 980 OR CAST(occurrence.familykey AS INTEGER) = 980 OR CAST(occurrence.genuskey AS INTEGER) = 980 OR CAST(occurrence.specieskey AS INTEGER) = 980)
 AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_MATCH_FUZZY', TRUE)
 AND (occurrence.specieskey IS NOT NULL AND occurrence."year" IS NOT NULL)
GROUP BY
 occurrence.kingdom,
 occurrence.kingdomkey,
 occurrence.phylum,
 occurrence.phylumkey,
 occurrence.class,
 occurrence.classkey,
 occurrence."order",
 occurrence.orderkey,
 occurrence.family,
 occurrence.familykey,
 occurrence.genus,
 occurrence.genuskey,
 occurrence.species,
 occurrence.specieskey,
 occurrence."year"

 The dataset's 1 records were derived from 1 constituent datasets; see https://api.gbif.org/v1/occurrence/download/0037727-251025141854904/datasets/export for details.
 
Data from some individual datasets included in this download may be licensed under less restrictive terms.