DOI: 10.15468/dl.yjz2za
title: Occurrence Download

description: A dataset containing 18122 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 (2424454, 2121338, 2121271, 3613488, 4089798, 2683634, 2683629, 2683652, 2683642, 2683625, 7155766, 5353583, 5506920, 5264836, 5353590, 5383999, 5384000, 2092472, 2440958, 2440954, 7282182, 2928790, 6403186, 2928794, 7300082, 9349171, 2337568, 3000632, 3000610, 3000679, 2209401, 2076486, 2074434, 12186175, 9156243, 2495840, 2479710, 2683884, 2683866, 2683849, 2683880, 5354652, 2734529, 2734724, 2734571, 2734637, 2734661, 2734676, 2734595, 2734378, 2734507, 2734532, 2734735, 2734713, 2734422, 2734414, 2734396, 2734708, 2734551, 2449133, 2734738, 2736625, 6275380, 4732893, 2744140, 2703077, 3749056, 3748684, 3746867, 7335298, 5178032, 2441905, 4648595, 4417558, 4648609, 4648604, 5220285, 9319067, 1883200, 1883157, 2153536, 2153525, 2153546, 2153539, 2153545, 2153537, 1043493, 1043498, 8385794, 7985243, 3083838, 5415072, 4264738, 5219944, 7275851, 5217208, 2494821, 2466087, 3670460, 5845582, 2854008, 5289618, 1111797, 5955395, 1914511, 2774998, 2401726, 5403800, 8537667, 5102671, 3044349, 5072733, 2154364, 2968203, 3087725, 1885282, 1885282, 1785145, 9534100, 1047392, 1047387, 5228034, 8026254, 5064167, 2885828, 2885793, 5290133, 4934732, 2650332, 2073544, 5159444, 2073347, 5392252, 3033991, 4356092, 3033987, 3113414, 3112887, 3112785, 3113051, 6135471, 1202288, 3112801, 7130688, 6437976, 2925396, 4272371, 8077391, 7647136, 6433679, 3831801, 3190160, 3190157, 2495922, 5202683, 5202793, 5239483, 2330198, 10884831, 5249883, 9761991, 3033558, 2925351, 7307919, 7999246, 2539197, 3889087, 7866157, 2946600, 5326272, 5326276, 1876665, 1739220, 7330290, 5421060, 1364911, 2874564, 8130034, 2735294, 7737021, 5712981, 2735227, 2296807, 2295977, 2295976, 2735304, 12215185, 2874865, 8999550, 2735117, 3071476, 5272096, 12337463, 2895345, 2895528, 8524134, 2155863, 2895378, 2706301, 5228112, 9791464, 1178580, 5406687, 7566648, 6100954, 2353152, 5231865, 5231853, 5231823, 2495455, 2495863, 6371450, 5330776, 5358255, 3698691, 8064279, 8040307, 3699497, 3698794, 7227469, 3993027, 7286744, 1377352, 1469145, 3994354, 3992884, 4532125, 1007737, 1749666, 1193629, 1193609, 1193470, 1193491, 7623185, 5082036, 3992808, 8391312, 5421045, 2928390, 8069501, 1378607, 5242777, 3678857, 2370703, 8836837, 9785354, 2007383, 2475364, 8190231, 2738262, 2911479, 2911525, 4259738, 3152081, 7649215, 5662425, 5662394, 5341264, 5341290, 5341289, 7294715, 2766411, 1703163, 5858758, 3133938, 8365953, 3082240, 3082263, 8288790, 7161076, 2446592, 3082245, 3082234, 2482507, 2482513, 2482499, 2704521, 2704523, 2876060, 2875979, 2875968, 2876072, 2876049, 5418394, 5418431, 5418444, 5418434, 5418493, 5185697, 5418385, 5418386, 5418455, 7759829, 2475264, 2020655, 1169988, 3169083, 5293281, 5293447, 1257637, 1257941, 3098912, 2756876, 3190522, 3026004, 3026035, 3026162, 3026190, 3025781, 3025617, 3025576, 3025572, 3026074, 2474128, 2474156, 2474141, 2474162, 3026107, 2489440, 7916436, 4408321, 6477773, 9346762, 3082562, 2944949, 5362054, 3015045, 7790614, 3015106, 8240558, 8252683, 3013561, 3014468, 8441668, 9220780, 3015596, 8555468, 1749354, 3014805, 9047268, 2475211, 7219976, 5415081, 2853668, 2853612, 2853896, 2853652, 6100997, 1736629, 2853929, 4928395, 2150043, 2444432, 2444356, 2444433, 9111295, 9142689, 6157440, 2444480, 8421777, 2444408, 8945077, 2747927, 2942820, 3149965, 1601912, 1043717)
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 18122 records were derived from 9 constituent datasets; see https://api.gbif.org/v1/occurrence/download/0040059-250811113504898/datasets/export for details.
 
Data from some individual datasets included in this download may be licensed under less restrictive terms.