DOI: 10.15468/dl.4hde63
title: Occurrence Download

description: A dataset containing 49769 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 (2219254, 2119934, 2524027, 2702462, 5402631, 7066201, 2905600, 2905493, 2905676, 2905475, 2905700, 2905713, 8678014, 3172499, 5388602, 3172272, 2219218, 2219223, 2219222, 5178283, 3172266, 3172261, 3682631, 3072953, 2348164, 3072900, 3073017, 3072985, 2735138, 4205640, 11328291, 3054372, 3054357, 3054368, 7258855, 2701311, 4939210, 2684487, 2684378, 2684610, 2684507, 2684616, 2684363, 2684709, 2684626, 2684591, 2684410, 2684633, 2684615, 2684451, 2684640, 2684621, 2684500, 2684844, 2684773, 2684598, 2684528, 2684391, 4200862, 2985940, 2985934, 7750564, 7308478, 3896450, 5371450, 3852095, 3190508, 5706360, 5706379, 5220161, 5220162, 7261415, 5220159, 5220163, 3152102, 5405641, 5421179, 5421178, 2502805, 5421180, 8848208, 2888706, 1419851, 1419912, 5536025, 8595864, 2530926, 1770117, 5419997, 5356345, 5012511, 5248629, 5248639, 2738429, 2775257, 3140510, 3140490, 3989710, 3989399, 1115398, 2493686, 2493687, 2493680, 3132776, 3188725, 1586570, 2154327, 9366139, 5224476, 8170369, 5224464, 9799308, 11135291, 5224471, 9089978, 5224492, 2455847, 2455875, 5845380, 7341507, 2489075, 3188724, 7279388, 2268350, 2927324, 2925303, 2686212, 2153959, 2153939, 2153960, 2153949, 2153975, 2154268, 2393172, 1045833, 2157944, 5190459, 2739274, 2739287, 8562027, 3034015, 5224691, 5231397, 9171148, 8946986, 5420912, 3082500, 4160417, 5376811, 5376925, 5376514, 5377060, 9164170, 2089006, 5376961, 5376692, 2394503, 4990490, 4990492, 4784562, 1380757, 7965100, 1373308, 1379261, 2683490, 9461121, 9415352, 2683485, 2117035, 3181709, 11787668, 3181720, 5772222, 8114276, 4409643, 2970418, 8848598, 2494372, 7893210, 3997379, 2731966, 10629177, 5960712, 5960723, 2706347, 4134259, 4129814, 3104314, 2958707, 5832783, 3978152, 2683840, 2736466, 8008690, 5175654, 2736393, 2736413, 3172301, 3172297, 3172296, 3172291, 3172294, 3172300, 2753371, 2295442, 2295438, 5175936, 5175940, 5328736, 5415004, 5415001, 3082319, 3082297, 1316908, 1032860, 1032872, 10390933, 1274872, 2077142, 2077159, 5415011, 5415016, 5415020, 1032057, 1031520, 1553410, 1553384, 3702542, 3152824, 8790531, 10731462, 1381483, 8838450, 1197568, 1197579, 1197557, 3152861, 2427091, 3190002, 2427821, 5332491, 8116657, 3660239, 7304140, 2733424, 2733456, 2733413, 2733469, 2733446, 2733422, 2733464, 2733481, 2733485, 2733437, 1224079, 2733395, 2733400, 1740524, 4129708, 2706241, 2706237, 2493615, 2493624, 2493594, 4845776, 2493598, 2282731, 4554410, 7587950, 2706218, 2706242, 2969156, 2491725, 9104148, 5227966, 5227984, 2415460, 5334240, 1994567, 5063973, 2360859, 3188429, 5420991, 5421024, 4410653, 4410669, 5706141, 5406662, 2964025, 7660710, 2963817, 9523461, 2700934, 7973914, 2446647, 1820406, 3347323, 11757060, 2288831, 8331025, 3799026, 2650436, 5239500, 8184903, 2436603, 2960735, 3188747, 3188736, 2891785, 8406703, 2891787, 5334194, 2094191, 2254204, 5220318, 8914748, 2984580, 2074940, 2077747, 2039415, 2441001, 7820753, 12340747, 2945047, 3039521, 7925303, 3153787, 3152974, 3153099, 3153955, 3152997, 9605163, 3153260, 3153228, 3152927, 3153215, 3153639, 2443212, 9260388, 3981426, 3756029, 3152767, 3001365, 3001270, 3001362, 3001244, 3001108, 3001509, 3935079, 3935047, 3933415, 3152378, 3152377, 3152268, 3152775, 3152776, 3152693, 2493572, 1863978, 3189421, 3618936, 3190638, 3060998, 7883401, 3060710, 2885158, 1887561)
AND "year" &lt;= 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 49769 records were derived from 82 constituent datasets; see https://api.gbif.org/v1/occurrence/download/0019871-250802193616735/datasets/export for details.
 
Data from some individual datasets included in this download may be licensed under less restrictive terms.