DOI: 10.15468/dl.menvcy
title: Occurrence Download

description: A dataset containing 15992 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 (3172327, 7325877, 3172358, 6433113, 3172347, 5167151, 2494422, 1846314, 1573679, 3172348, 3172371, 2474393, 5865936, 3172334, 6028927, 6029305, 5221973, 5221988, 7315286, 5334217, 3169842, 5252196, 8250866, 2769796, 1876542, 5844008, 5228224, 9326020, 9457155, 2193574, 2193474, 2350580, 3132570, 7122389, 2885906, 3103082, 7329866, 7416506, 3189571, 8231835, 5335125, 2778728, 2446249, 2446300, 2447367, 11192822, 2447302, 2447322, 2198591, 5293090, 2441535, 2495494, 2495495, 2495486, 5231030, 5293087, 3169513, 5347796, 3996031, 2441205, 2977460, 2687885, 5667614, 3141115, 2959514, 2959443, 5578264, 8426726, 11174915, 5188667, 8082978, 2013501, 2181915, 2705484, 6097732, 8247889, 4360294, 5341168, 5607665, 2653133, 1032054, 1203278, 5225876, 2268131, 9454074, 2456135, 7977204, 2153711, 6718384, 2153721, 2153716, 6718385, 2153712, 1736574, 6274448, 6274446, 3084911, 3152658, 2891792, 7451829, 7287387, 7287382, 7287304, 7287734, 2891791, 7287628, 7287547, 1994576, 2474945, 8455875, 1713034, 7287149, 3995682, 3152195, 2964802, 3085188, 2516752, 6063677, 4562197, 8949148, 5892434, 9133361, 4440583, 6892747, 1032497, 1032494, 8323485, 3995995, 3995628, 7287627, 7287606, 3998462, 2131878, 5371655, 7702969, 9604583, 7889215, 8292104, 2902066, 6401337, 4092405, 4092274, 4092253, 4092146, 5170425, 5170457, 5170467, 2154080, 8349172, 4092017, 10821012, 7298425, 3786672, 5384195, 5384187, 2177741, 2295309, 2533043, 2533041, 7423726, 7280999, 3711847, 3036170, 8351737, 9245228, 2758716, 7883492, 2758601, 2758700, 5635607, 8281308, 5187692, 9206251, 3119232, 3119230, 8108800, 1420795, 2294287, 1879408, 2925790, 2554614, 2594765, 2925767, 3141855, 2083970, 9066541, 5959942, 5221528, 7856103, 2445005, 5220174, 9758136, 11008739, 3038724, 10931636, 2192100, 1577153, 3034825, 5297495, 2434271, 7511482, 3685338, 8282016, 2683996, 2684020, 2610645, 2684003, 5188671, 7025492, 5223725, 4804402, 6894812, 2684075, 2161710, 2013617, 2154084, 2684099, 7896318, 3036460, 2153656, 3071171, 7304061, 7525852, 3938385, 7279127, 3152559, 9064581, 3152583, 3152560, 2703056, 5201074, 1043082, 4262743, 2441031, 2854321, 8805956, 2153490, 2706164, 5970107, 3072641, 4117271, 7886346, 7999797, 5384931, 2351413, 3039410, 3852193, 2402105, 2984535, 5380015, 2074122, 2874151, 3877971, 2895700, 9278750, 2985994, 8460523, 1617721, 9023167, 2985993, 8592945, 5329570, 5786666, 11055820, 5329266, 2454428, 2328302, 7674056, 5226073, 5329641, 2864584, 9266574, 4468381, 2641977, 5017514, 5415348, 5415355, 2705781, 2950750, 2950730, 2904461, 2904440, 8281671, 2735601, 2493646, 2735592, 2735600, 3711564, 3189525, 3189497, 3713491, 5217671, 5217700, 2076852, 2076866, 3189486, 1817797, 3712851, 3715163, 7931200, 2121452, 2121593, 2121447, 2095940, 2095937, 2362473, 3093911, 2154022, 2154021, 3093702, 1309534, 3173196, 2080592, 5900343, 2489989, 5229910, 2926815, 2459658, 6043516, 5414222, 5414258, 7315699, 9613239, 7832732, 5414248, 5414252, 7154501, 4193715, 5289717, 7389356, 9357542, 5289715, 2527979, 8370390, 8161292, 2972405, 2972257, 5357677, 3802360, 3802334, 2928631, 7324166, 3682029, 2928624, 2928598, 11065948, 2928534, 2928576, 2928547, 5298231)
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 15992 records were derived from 87 constituent datasets; see https://api.gbif.org/v1/occurrence/download/0019830-250802193616735/datasets/export for details.
 
Data from some individual datasets included in this download may be licensed under less restrictive terms.