DOI: 10.15468/dl.7pny8q
title: Occurrence Download

description: A dataset containing 14414 records in GBIF matching the query:
SELECT
GBIF_EQDGCode(
2,
decimalLatitude,
decimalLongitude,
COALESCE(coordinateUncertaintyInMeters, 1000)
) AS eqdg_code,
speciesKey,
"year",
species,
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 (12236061, 2075189, 2075301, 2075274, 1074584, 5216573, 2139331, 7672713, 2092833, 5117463, 8424012, 1419322, 5568446, 6313089, 5218434, 5328774, 5328709, 5623114, 7281375, 7551118, 2925889, 4058202, 4068166, 2925895, 4067782, 2480075, 5884888, 2265658, 5815559, 5815560, 2307762, 4067418, 2925892, 7295503, 3039269, 3039270, 2731882, 7426040, 2458438, 4030980, 7290944, 2440938, 2401958, 7880979, 4011653, 4011254, 2424091, 2424089, 4704197, 5395928, 2865448, 5329263, 5290319, 2491534, 5290299, 8909809, 1365443, 5290148, 4104489, 2683825, 2683784, 2683718, 2683676, 2683674, 2683777, 2683713, 2683746, 2683779, 2683799, 2683712, 2683805, 2683790, 2683803, 2683719, 2683782, 2683702, 2683804, 2683757, 2683750, 2683699, 2153733, 2683710, 2683800, 7135609, 4036721, 2763050, 2120754, 3850993, 2513611, 2294275, 2479598, 2154133, 2154132, 2154134, 2154131, 2961170, 2961144, 4151590, 1878470, 1878490, 10073044, 2465228, 2465191, 2653284, 2653377, 2192068, 11210999, 1737131, 2868323, 5787168, 2440891, 7924597, 2687937, 2687927, 5940700, 1857251, 2189719, 1365824, 2705325, 2219294, 2219303, 5684950, 5333409, 5682550, 3146717, 3146791, 5219616, 3147168, 4213288, 2225776, 3146683, 1946737, 3024146, 2075983, 2075997, 1541217, 9677963, 3482798, 1219047, 5676924, 2541576, 7659098, 5349565, 5349620, 5349524, 2436548, 5349768, 5349619, 5349500, 5789080, 5231412, 5231414, 5225647, 5225641, 2493660, 2493661, 2493663, 10758623, 2493669, 2493662, 2198061, 8130309, 8367487, 2154127, 5221283, 1419894, 2873939, 2888380, 2759896, 6437432, 3176604, 3176907, 3176546, 3176962, 3176836, 3177077, 3176185, 3176973, 3176464, 3177027, 3176863, 3176422, 7795934, 3176932, 3176398, 3177230, 3176253, 3176857, 3176747, 3176830, 3176197, 3176811, 3176179, 3176767, 3176723, 3176313, 3176995, 3176305, 3177088, 3176739, 3176816, 3176905, 3177143, 3176920, 3176481, 3177157, 3176839, 3176672, 3177167, 3176325, 3176597, 3716950, 3176934, 3176819, 3176577, 11850888, 3177094, 3176189, 3176897, 3176556, 3177099, 3176541, 3176637, 3177046, 3176787, 3176772, 3176225, 3177028, 3176515, 3176283, 3176232, 3176997, 3176497, 3176602, 3177019, 3177109, 3177058, 3176271, 3176561, 3176477, 3176430, 3176502, 3177295, 3176778, 3176829, 3176794, 3176404, 3176755, 3176810, 3177285, 3177184, 3176388, 3176336, 3177115, 3176707, 3177146, 3176289, 3177130, 3177273, 3176463, 3176368, 3176665, 3177246, 3176406, 3176703, 3176641, 3176213, 3176982, 3176683, 3176678, 3176655, 3176479, 3177039, 3176566, 11103280, 3176743, 3177050, 3177306, 3177119, 3177274, 3177224, 3176553, 3176535, 3176419, 3177189, 3177330, 3177175, 3176229, 3176634, 3176475, 3177269, 3177219, 3176719, 3176930, 3176386, 3176835, 3176453, 3176999, 3176234, 3176605, 3177112, 1388155, 1230404, 5229204, 9540465, 4410245, 3176865, 3717653, 2294109, 9018605, 4291399, 4410232, 2072955, 5225713, 5225710, 7340335, 5789082, 5416882, 5417867, 1231574, 2154038, 5416458, 3169137, 7102937, 3069706, 8203538, 3065059, 3065005, 3064495, 3063803, 3069095, 3066051, 3069957, 3066965, 3066435, 3069804, 3067157, 3069460, 3066386, 3067891, 3066465, 3064221, 3064163, 3064472, 2494097, 3067098, 1622201, 8379851, 1249184, 1413563, 3070418, 9813242, 7718394, 3024256, 2882316, 5094789, 5094693, 10691906, 6391461, 8909595, 8979506, 2435035, 1249668, 3039046, 3181977, 4093871, 5164047, 4093859, 4093751, 4093742, 2706232, 2327735, 2704951, 2704922, 5572164, 5571887, 5571880, 5571773, 5361919, 5361909, 7262403, 5361903, 5570631, 5361899, 5570636, 7467639, 5834140, 5361930, 5571827, 5361935, 5361929, 5571130, 5571438, 3189977, 3152111, 5574508, 3086861, 8175271, 2479087, 2479068, 2479081, 3835106, 2494077, 3575990, 3034922, 5227919, 5227839, 1420651, 8351995, 1420680, 3874338, 3874358, 2927459)
AND "year" &gt; 2022
AND decimalLatitude IS NOT NULL AND decimalLongitude IS NOT NULL
GROUP BY
eqdg_code,
speciesKey,
"year",
species,
decimalLatitude,
decimalLongitude,
family ORDER BY 
eqdg_code ASC,
"year" ASC,
speciesKey ASC,
family ASC


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