DOI: 10.15468/dl.ue6qxg
title: Occurrence Download

description: A dataset containing 36125 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 (2687870, 5560403, 2761337, 5668625, 1886729, 2927069, 5613347, 3172618, 7316625, 3794661, 2122151, 4670654, 2054029, 2153931, 1547108, 2965531, 9151957, 3188508, 3773061, 5416091, 5415719, 5416153, 5415487, 9242924, 5415958, 5415728, 5415881, 5415723, 9567342, 5415972, 5415853, 5415976, 5415842, 5415474, 11054444, 5415829, 5415481, 5415735, 5415832, 5415477, 5415887, 5416005, 8193400, 1554655, 2076279, 2490609, 1178390, 1178432, 1178440, 1178480, 1178438, 5415989, 5415476, 9606290, 5415913, 3188511, 5914287, 4556287, 7024691, 2479798, 2971095, 1032839, 2169064, 1032773, 2971016, 3863519, 5219721, 2475444, 4553855, 2438482, 2121217, 1170711, 5341511, 5025312, 5711863, 5183974, 6273099, 3889976, 3889017, 5284231, 3185393, 3185314, 5200696, 10675621, 10772914, 5211250, 5211240, 5211245, 2394563, 2307727, 2307726, 9173089, 9404220, 4024622, 2297108, 5398634, 5398421, 5398828, 3763589, 5355870, 5355670, 5355738, 2969310, 7808904, 1048510, 1048511, 2969431, 2969284, 8227956, 2970213, 2883784, 3086240, 2501248, 2484391, 2484396, 2706022, 2078181, 2153651, 2217354, 3171145, 2874581, 4114049, 2492371, 5789505, 11001249, 2594602, 5225657, 5225681, 2868241, 7995001, 2985500, 3745031, 5339879, 3752368, 3752344, 3054181, 3752366, 5361889, 5361888, 2941155, 8160440, 7429082, 7474091, 2475215, 2704002, 5421335, 5219019, 5643189, 2621854, 2622260, 2479407, 4264680, 2892634, 3047811, 3746220, 2297460, 3172657, 3746146, 3746005, 3660686, 5361785, 5361760, 5406817, 2285683, 2492938, 7746544, 5357190, 2470411, 2470368, 2470376, 2470341, 2470318, 2470370, 7279778, 1419910, 3180085, 2480102, 2687779, 10102998, 5329293, 2767912, 5371712, 5674177, 5674047, 5289834, 5289831, 5289833, 9613389, 1210685, 1210765, 1995651, 1106495, 1106484, 2122079, 5708806, 9412965, 5339133, 2865574, 12077950, 12007768, 11981609, 12040176, 12088252, 12033990, 11949898, 11982854, 12131735, 12121376, 12009008, 2970805, 11971853, 2970835, 11965841, 12104805, 1048365, 11967058, 9301639, 9277901, 9491851, 8497397, 11689892, 1247433, 4290716, 2493740, 2493739, 2048197, 2327326, 1791862, 9614913, 1247491, 1247490, 12153432, 2078062, 2479509, 2479795, 2970892, 2187559, 2078254, 2896888, 4990162, 5421126, 5788470, 2479593, 2498180, 2650930, 2650927, 3169756, 2078852, 2153998, 2153997, 2154001, 6718395, 2977687, 5348474, 2705687, 5341754, 2928783, 2928774, 8876855, 1305235, 2193165, 7938907, 2363714, 8227431, 2874878, 7842594, 5218390, 2482614, 2874928, 2874979, 2874984, 7551339, 2479977, 7280516, 7802465, 2882420, 2268145, 5185976, 2268160, 5592338, 8810827, 5383717, 3877218, 3695385, 4410231, 3152240, 3617566, 5219900, 4410647, 2307764, 1049379, 1049377, 2495190, 2265576, 1168776, 1720967, 2162537, 4180201, 7427554, 5415341, 5371889, 3188924, 7161723, 3188894, 7711250, 7322393, 3188805, 3188867, 3664589, 7322757, 3188875, 3665147, 3188859, 2130726, 2130589, 2130669, 4987896, 3188830, 4650395, 9442110, 10846442, 4412446, 10421359, 8389548, 5204034, 5204019, 5204024, 3188815, 5415040, 5290105, 2977222, 7362921, 3094884, 1385478, 2276151, 1553166, 1553122, 5843908, 2038171, 3094910, 3094939, 3659811, 5384186, 5384050, 7388512, 8014872, 5384064, 5384047, 5384076, 7283961, 5384142, 7407757, 7283697, 7283648, 5624755, 4314720, 2372367, 4285694, 2190965, 5384075, 5384035, 2486593, 2154331, 7767867, 7978390, 2772370, 2037214, 3173278, 2193852, 8204814, 2493711, 4995642, 2436940, 5706393, 5220165, 3173271, 1043870, 1043875, 3173272, 10906775, 2410854, 2134305, 2428083, 2286060, 2703463, 4564216, 6712096, 2441122, 5332305, 5329515, 1017419, 5190769, 5190768, 5190767, 1995337, 2967471, 8427624, 2498305, 2498302, 2891755, 3188629, 6180498, 5221158, 7321499, 3152235, 9110773, 5535507, 5535488, 5535474, 2226990, 7155406, 5535442, 8373079, 2441396)
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 36125 records were derived from 78 constituent datasets; see https://api.gbif.org/v1/occurrence/download/0039875-250811113504898/datasets/export for details.
 
Data from some individual datasets included in this download may be licensed under less restrictive terms.