DOI: 10.15468/dl.kk8338
title: Occurrence Download

description: A dataset containing 19952 records in GBIF matching the query:
SELECT
GBIF_EQDGCode(
2,
decimalLatitude,
decimalLongitude,
COALESCE(coordinateUncertaintyInMeters, 1000)
) AS eqdg_code,
speciesKey,
"year",
species,
class,
kingdom,
phylum,
datasetKey,
publishingOrgKey,
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 (2884309, 2884444, 2135304, 2884422, 2884744, 2444658, 2479187, 2227300, 1623664, 2069682, 1594046, 1746366, 1746367, 2120313, 2566416, 5294641, 5358466, 5358521, 2516302, 2516294, 5358492, 4427617, 2074526, 5358457, 5358467, 1014445, 5789510, 5358508, 5637947, 5636539, 2687286, 2687265, 3021368, 7818643, 3020791, 3021408, 3021730, 3021922, 7931731, 3022160, 3021496, 3021046, 3022511, 3021850, 3022609, 2154154, 2154153, 2154161, 2154158, 3023221, 3022668, 7403027, 2480089, 1175102, 1175088, 8321970, 10880804, 2624112, 3502826, 2623903, 2623742, 3502537, 8308049, 2092925, 2095244, 2095325, 2095331, 8294966, 2705042, 9040692, 2120938, 2291334, 3152212, 7296187, 3000699, 3147761, 2685776, 2685796, 2685783, 4020824, 5229045, 5229044, 5229072, 5229055, 2479226, 5229067, 2480181, 1639769, 1376899, 2153912, 5420380, 5420509, 2920461, 2921300, 2334438, 1365959, 5275406, 5349239, 5349242, 3054377, 2340003, 3669210, 4939559, 7857921, 3646556, 2514950, 6017057, 2515046, 3379333, 2515050, 7239354, 2514679, 2514359, 2515420, 7161901, 1419547, 5163732, 2091992, 2733861, 2486131, 2486151, 2733897, 9083815, 9789951, 2352479, 2733856, 2977647, 5420901, 2730484, 2988222, 2479804, 2479813, 2988188, 2988172, 4820533, 2465382, 2465369, 2465380, 2465346, 2429965, 1388541, 2988162, 3172569, 5363119, 5362573, 3190647, 2880074, 2880506, 2877959, 2879737, 2878470, 2880808, 2880580, 8326061, 2876873, 2879098, 2878190, 2881720, 2878058, 2878373, 2881060, 2878554, 2881630, 2879574, 2880340, 2881118, 2879947, 2878564, 2879328, 8313153, 2880130, 2880652, 2878688, 8386328, 8879961, 7384449, 2284101, 10708059, 10842219, 2879411, 8086561, 2878092, 2130794, 4092178, 3033363, 3033374, 2093868, 2093865, 2093849, 8319856, 11096478, 2439244, 2439261, 2439270, 2439262, 3040983, 5293210, 2441038, 5293243, 5373368, 2763095, 3672078, 3040252, 3040253, 2446599, 3063618, 4038485, 2889173, 2889088, 6371424, 3039491, 5371539, 5216933, 2359823, 2359816, 4291199, 2183657, 5865934, 2086649, 2524248, 2524228, 5371542, 1169564, 2071999, 7480375, 2736747, 4091996, 3944613, 4167103, 7328114, 4174730, 2069580, 4173541, 7327990, 1739381, 3179997, 1995066, 1192190, 1095716, 5544210, 8532149, 3190544, 5337499, 5337479, 5337491, 1043326, 7472834, 5380041, 3084027, 5352251, 2897658, 3141665, 5335872, 3053406, 3053376, 3009087, 7827393, 3002461, 3005039, 3007455, 3003244, 3008635, 8174785, 7307157, 2906226, 2906263, 2733750, 2733755, 2990801, 2996841, 2991314, 2992071, 8181078, 2993094, 2993394, 2989183, 2997417, 2995149, 8234521, 2995482, 11892760, 2996625, 3114229, 5572994, 2888995, 2294129, 7261386, 7960831, 3360238, 2551542, 2551317, 2551285, 2551274, 2551571, 2551356, 8195144, 2888870, 4034949, 3779755, 2706171, 2706173, 2732489, 2732493, 2732552, 2732503, 2732511, 4925538, 2703912, 2703935, 2436468, 2436469, 2436661, 6121218, 3085402, 5328909, 5329111, 5329007, 8176939, 7645931, 5372513, 5372639, 5372984, 5372952, 5372605, 7595433, 8215487, 5372829, 5372854, 5372800, 5372933, 5227370, 2351271, 6447933, 3083953, 3083957, 3083955, 2927030, 9278365, 10902460, 2927066, 6409706, 2927041, 5274861, 5274864, 5274860, 5274863, 1866356, 4780912, 6629, 6369819, 2888728, 2888723, 3176088, 3176076, 2770677, 2770547, 2889785, 3125948, 8086757, 8017915, 3197314, 7102086, 4285715, 5359538, 3828291, 2733431, 1556990, 4127352, 2422519, 3190533, 3190642, 2075936, 2075971, 2075929, 3071110, 4675827, 2704432, 10773256, 7758879, 2945453, 5219681, 5239938, 5239982, 5239959, 3101235, 9456514, 5179562, 2133453, 2284133, 5179027, 2198080, 5169044, 5168969, 7612956, 5403742, 5403743, 2153693, 2153705, 2153703, 1420801, 2188450, 5562619, 11159773, 7992434, 5792323, 7600569, 10334868, 7360607, 3109117, 2978335)
AND "year" &lt;=2022
AND decimalLatitude IS NOT NULL AND decimalLongitude IS NOT NULL
GROUP BY
eqdg_code,
"year",
species,
speciesKey,
class,
phylum,
kingdom,
decimalLatitude,
decimalLongitude,
publishingOrgKey,
datasetKey,
family ORDER BY 
eqdg_code ASC,
"year" ASC,
speciesKey ASC,
family ASC


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