DOI: 10.15468/dl.66kcbg
title: Occurrence Download

description: A dataset containing 102559 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 (3981472, 3981543, 3982254, 3033896, 3832804, 3845259, 5331532, 5331916, 9118014, 3974372, 5389402, 5392065, 5391845, 5371869, 5680555, 7893065, 9675087, 2502938, 5383085, 8901465, 9102011, 2444873, 2444888, 2733941, 5150243, 1995681, 2013328, 5151589, 1997215, 2874863, 7296915, 4079323, 4078658, 1378120, 7296794, 2464899, 2464915, 9632100, 7772778, 2320810, 2888374, 3086282, 2457884, 2457942, 5954958, 5954691, 3086281, 1340503, 1868664, 3938821, 7151936, 5415104, 2441025, 2441022, 2441133, 5229203, 2444681, 5602466, 5200757, 2704103, 5553651, 5384862, 2120633, 7167078, 2926102, 5289852, 5289861, 5677204, 5289847, 7861320, 5289853, 2910221, 5284011, 5284014, 3269077, 2078544, 2078588, 8119595, 7323082, 3671823, 7426033, 8053313, 7323035, 9732258, 5224625, 2153424, 2153441, 2153425, 2153435, 2153428, 2153443, 2153432, 3670980, 3095120, 3144654, 2121936, 2297154, 1488614, 2952673, 2736794, 2736827, 7530646, 3042751, 7903057, 2074893, 2130874, 2131090, 2131024, 3042624, 7278636, 5383031, 2702792, 2703723, 2703760, 2703670, 4122609, 5361944, 2970463, 1370636, 1370788, 8170495, 9099468, 11085843, 5341758, 2128763, 12254482, 6402571, 8278148, 3173337, 3173338, 3173340, 5217160, 4984851, 8181293, 7288296, 5304827, 2845171, 8785060, 7993636, 8848401, 3190449, 8234570, 7797090, 2736211, 2736254, 2736247, 2984671, 2479870, 2479888, 1870532, 1870530, 2882443, 1264122, 2968353, 4308862, 9751099, 2958715, 5294071, 1249682, 2982155, 2982131, 2981788, 2982188, 8220878, 5341129, 1502577, 5341132, 5303453, 5303420, 5353669, 5219542, 5219541, 2684283, 2684338, 2684303, 2684290, 3611175, 2684296, 2684273, 2684320, 2684334, 2480030, 10839147, 2498384, 8230386, 2882482, 2014607, 2683936, 9531830, 9125207, 3098183, 1552876, 1552928, 5414566, 4556967, 3590783, 3189636, 7152692, 7313945, 3189637, 3189635, 3172549, 3142398, 2465240, 5007225, 5219173, 5407583, 5303151, 5303128, 8034409, 2076336, 7471562, 2441056, 5178057, 6370689, 5375388, 4286942, 1411953, 1469969, 5716128, 5178595, 3189935, 2494686, 3189939, 3114643, 3114763, 8185959, 3114721, 3114667, 9611745, 2722515, 9297729, 9353037, 2722760, 2874484, 5414420, 5536282, 3759330, 5293727, 2875818, 2875842, 1044114, 1735231, 3138253, 1044381, 3138332, 3054289, 2738902, 2738916, 2738914, 3169652, 3190134, 5357108, 5357125, 5357140, 8408169, 5357169, 5390398, 5333230, 5333294, 5332911, 7579806, 1941588, 2891927, 2891932, 2891930, 2891926, 3172615, 7568973, 3169830, 4388518, 8879545, 2910886, 5219702, 4827382, 2436637, 1621573, 2297229, 2643172, 2984476, 3190511, 2926887, 5284702, 5284698, 5284682, 5406696, 7878348, 5663215, 5406697, 8688929, 3169169, 2984492, 2984481, 4159594, 2984482, 5671747, 5828197, 5289737, 5828201, 5289739, 5290192, 5289731, 5828233, 5828220, 5828232, 9416767, 3128305, 3128962, 3129000, 3128091, 3128888, 3128151, 4274163, 2441533, 2888740, 2945570, 5680033, 2685265, 2219289, 8909697, 5221013, 6360715, 3085458, 2074364, 2074362, 1626096, 5483135, 2153860, 2153851, 2153854, 5356354)
AND "year" &lt;=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 102559 records were derived from 91 constituent datasets; see https://api.gbif.org/v1/occurrence/download/0039754-250811113504898/datasets/export for details.
 
Data from some individual datasets included in this download may be licensed under less restrictive terms.