DOI: 10.15468/dl.2bjag6
title: Occurrence Download

description: A dataset containing 4549 records in GBIF matching the query:
SELECT
GBIF_EQDGCode(
2,
decimalLatitude,
decimalLongitude,
COALESCE(coordinateUncertaintyInMeters, 1000)
) AS eqdg_code,
speciesKey,
"year",
species,
class,
kingdom,
family,
COUNT(DISTINCT specieskey) AS unique_species_count,
COUNT(*) as occurrence_count,COUNT(*), decimalLatitude AS Latitude,decimalLongitude AS Longitude, MIN(COALESCE(coordinateUncertaintyInMeters, 1000)) AS minCoordinateUncertaintyInMeters, IF(ISNULL(family), NULL, SUM(COUNT(*)) OVER (PARTITION BY family)) AS familyCount
FROM occurrence 
WHERE countrycode = 'ZA'
AND NOT ARRAY_CONTAINS(issue, 'ZERO_COORDINATE')
AND NOT ARRAY_CONTAINS(issue, 'COORDINATE_OUT_OF_RANGE')
AND NOT ARRAY_CONTAINS(issue, 'COORDINATE_INVALID')
AND NOT ARRAY_CONTAINS(issue, 'COUNTRY_COORDINATE_MISMATCH')
AND taxonkey IN (1736995, 1737015, 5284237, 1008593, 2007322, 1304834, 2013904, 1419472, 3170473, 3170471, 2362030, 1739553, 2459559, 11098505, 10908766, 1652991, 1652950, 5284275, 5284278, 5284278, 3189958, 3188684, 7286349, 2683969, 2684036, 2684046, 7230669, 7719763, 2684030, 7663695, 3610757, 2927498, 2927545, 2927484, 2479529, 5229105, 5229101, 5229110, 3035222, 3035225, 2860896, 6962435, 2683264, 2683252, 2683287, 2683217, 2683297, 2683286, 5170439, 1737847, 1220839, 2683235, 2498344, 2498343, 1171601, 1013526, 1013597, 8193274, 5362215, 7282677, 3952885, 6381277, 11432762, 11013549, 7282605, 3952332, 2705275, 2705267, 2705272, 2431862, 5674825, 2704395, 2715443, 2713929, 2716311, 2716673, 2716106, 2714186, 4286975, 4052487, 4055335, 4054801, 2153513, 10630160, 2153509, 6718373, 8422579, 9389553, 9462754, 9617405, 9496022, 9377414, 9274039, 9262170, 9583372, 5326006, 10757415, 1247421, 5171231, 7566970, 2650829, 2735421, 5354656, 5286163, 4412366, 2090128, 8395049, 8192795, 2090121, 2090129, 2090098, 2474238, 2985617, 2705308, 2049512, 4149975, 5220136, 5387165, 5225573, 1594795, 8848763, 10865839, 1595205, 1586753, 2968773, 2968532, 5420852, 2772623, 2456065, 2772620, 7894250, 2928755, 2928740, 2928747, 2928751, 2928741, 4204692, 4204646, 7697789, 7769165, 2284005, 5077529, 3787903, 2956183, 2956174, 2956176, 2469870, 8151328, 7725323, 7772922, 5739805, 5218022, 5218028, 9724339, 4145704, 2482451, 2498393, 2498405, 2703197, 1095863, 8745918, 5781358, 5190777, 5781277, 2703316, 2650993, 5360097, 2967060, 2967221, 2967319, 5305277, 5305181, 3085412, 2086988, 8075301, 6477846, 5707434, 2702445, 4410238, 9794485, 4410236, 4410240, 2702450, 2702451, 12249594, 1219185, 7498955, 5687341, 5293187, 2122282, 4194194, 4194197, 4047017, 2888711, 2742427, 5046451, 5289960, 2193846, 5289987, 1252429, 3205218, 5383898, 3190008, 2479365, 4461350, 2754476, 4070760, 3032974, 4070051, 4069846, 7973323, 5200414, 2650858, 7317695, 5188737, 2294144, 5376337, 4555875, 2283953, 2070133, 4745325, 11476756, 5376426, 8435025, 3101193, 5421144, 5830619, 5545783, 5545821, 5406688, 3763387, 10961470, 5304574, 5304469, 5304583, 5304436, 5226207, 11041822, 2287072, 4371623, 5074599, 5074534, 5073713, 5073820, 2452317, 4020527, 8605062, 1740828, 7126715, 2422538, 7126699, 5656379, 2925655, 5176496, 2735829, 2735804, 2736010)
AND "year" &gt;2022
AND decimalLatitude IS NOT NULL AND decimalLongitude IS NOT NULL
GROUP BY
eqdg_code,
speciesKey,
"year",
species,
class,
kingdom,
decimalLatitude,
decimalLongitude,
family ORDER BY 
eqdg_code ASC,
"year" ASC,
speciesKey ASC,
family ASC


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