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

description: A dataset containing 46144 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 (3110686, 3110588, 2431950, 2431993, 4106349, 4106335, 5207891, 3034182, 5325614, 5289845, 2118188, 2441005, 6467649, 7916836, 6070572, 2925870, 1873071, 9536503, 2307610, 2307609, 9347941, 4410206, 5421368, 1366671, 2498089, 2498073, 9761484, 2498083, 9581438, 10780800, 1625041, 1625082, 1624997, 1625211, 1625094, 1625078, 2706079, 4932035, 2706107, 2706080, 7571113, 9510074, 5274878, 7587595, 3177431, 3177412, 3177418, 3177448, 2765862, 2765833, 1419902, 1076964, 5407147, 5407100, 5407193, 5407273, 5407123, 5407099, 2466939, 2467218, 4287413, 1317433, 7572133, 3083508, 11881073, 11432836, 2465003, 2465017, 2465006, 7552819, 8035698, 9439381, 5013798, 2705975, 1095895, 2474937, 3076723, 2889355, 2441065, 4541848, 9198247, 2083015, 1268379, 1127701, 3276149, 5003657, 5597304, 4559460, 1364107, 1364004, 1364062, 1364011, 4502332, 1269151, 2072331, 2072302, 2072061, 2072152, 4385970, 2072648, 2072761, 2153563, 2153629, 2153583, 2153632, 4462568, 1364786, 1364787, 1364750, 1364625, 1364679, 1364710, 1364706, 6149336, 1984954, 2217363, 5371879, 5328593, 2130075, 2307759, 2307757, 2307760, 1420817, 2480506, 10756551, 5959233, 5959231, 5959227, 5959230, 5959224, 1166198, 5212877, 2479104, 2479146, 2479106, 2479115, 2479127, 2479158, 2479113, 3036972, 2684984, 2684918, 2684921, 7942204, 2684969, 2684977, 3170442, 2882803, 2941295, 2732609, 2732621, 5414379, 5414375, 5558193, 2736531, 2736599, 2736579, 2736602, 6363863, 2733957, 2733994, 2733946, 2733997, 2733953, 2733965, 2888485, 4373982, 2114151, 2888490, 1747125, 4598454, 9003393, 2294097, 8411755, 1751184, 2744904, 2874004, 2203611, 2536847, 2536891, 5363613, 2704505, 10633968, 5180090, 3154909, 3120790, 2984573, 3765081, 2984565, 2984566, 2078945, 2330496, 5200467, 2703041, 3170241, 1261558, 4911642, 3158040, 5279840, 5279834, 2768556, 2768358, 2768503, 2768780, 2768465, 2768513, 2768693, 2768686, 2768491, 7442017, 2768517, 2778437, 1592739, 1592666, 2469995, 2470001, 7927609, 5225722, 5225715, 2650613, 7310861, 4258670, 4257107, 7310592, 2650676, 7392080, 7785659, 8420388, 4258239, 2253561, 5187508, 2332123, 5419572, 5239766, 9635169, 2437140, 1530880, 2491419, 4413919, 3083793, 3757875, 3083773, 6285586, 3083667, 6454863, 3083771, 2153995, 2153994, 2087689, 2087616, 2076745, 3033077, 4162100, 2684878, 3951322, 7282135, 7282098, 9739431, 6067827, 2705300, 2705297, 8174035, 1374530, 5170476, 5170479, 5170516, 5170474, 9461994, 2440934, 5220128, 2705290, 2498255, 2498261, 2498259, 2705924, 3190474, 4196474, 2650107, 4196486, 2746231, 6310683, 2746315, 3129663, 3185109, 5087326, 5087578, 8210640, 8347805, 8070510, 7930834, 8203136, 5087454, 8137983, 5087583, 5087436, 7592756, 7775152, 7753649, 5087606, 5087479, 7582032, 5087263, 7498452, 5087241, 5087312, 5087230, 5087530, 7796941, 8021093, 2517878, 4745302, 2115706, 5228229, 2943830, 4144244, 4141692, 2705754, 2705761, 7661971, 3191340, 7124454, 5638492, 7124338, 7124257, 8233803, 8144360, 7374086, 7124071, 2027775, 2940428, 3771938, 3082835, 3082920, 5221810, 5221821, 4243007, 2953550, 2953861, 2953715, 2953871, 2502977, 2953251, 2768035, 2768029, 5535537, 4366603, 2874718, 2874717, 4301052, 7024571, 2012126, 4410235, 9732611, 2735560, 3033868, 3982087)
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 46144 records were derived from 83 constituent datasets; see https://api.gbif.org/v1/occurrence/download/0039730-250811113504898/datasets/export for details.
 
Data from some individual datasets included in this download may be licensed under less restrictive terms.