DOI: 10.15468/dl.3ecv6g
title: Occurrence Download

description: A dataset containing 29431 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 (5334278, 5599251, 2685524, 2685326, 2685464, 2685527, 3938295, 3152633, 2979180, 2980910, 2980814, 2979331, 2981303, 2979161, 2979253, 2978970, 2979559, 2980425, 2979474, 2979778, 2973176, 2979519, 2978611, 2979232, 2980514, 2978730, 2979091, 2979775, 2979000, 2981255, 2981159, 2978241, 2979014, 2978612, 2979750, 2978604, 2978525, 2979923, 2978552, 2979835, 2978771, 2979292, 2980497, 2979793, 8006976, 3057221, 5231630, 7717816, 8185590, 2449648, 1047530, 1047525, 2153835, 2153810, 2153823, 2153814, 2153833, 2153831, 3100364, 3100375, 5415455, 4542910, 2114442, 7100404, 3189863, 3768452, 3767816, 7262958, 3189866, 7262960, 3189882, 3189870, 3189883, 3189837, 3189859, 4544574, 6913105, 4544543, 4544502, 4544577, 2128510, 4544360, 1373072, 1718308, 3120284, 3120060, 1870988, 7219441, 2505278, 2023722, 2873769, 2873807, 2465136, 2465139, 2489010, 2489006, 7491932, 1751068, 2472757, 7413879, 6118049, 7270761, 1901001, 1901184, 1901034, 2077491, 2077503, 1858699, 1043097, 2441101, 2951846, 1142511, 7335661, 2651816, 2651833, 2651839, 2651826, 7335649, 2738434, 1651891, 1651430, 5289783, 5289781, 5289793, 4562554, 3034620, 4262729, 1113283, 1113284, 2949399, 8213000, 7323139, 3189824, 3189815, 8566446, 3189828, 3189807, 2687628, 11486787, 5226308, 8223649, 7375072, 7708815, 5226276, 5226321, 7635720, 2854740, 2854730, 2854736, 2854720, 7227608, 2854721, 2854723, 2854755, 2854756, 2479555, 2479544, 2479559, 2479545, 2479553, 2479546, 9770031, 2479560, 5284412, 5284415, 5284426, 5284411, 5284418, 3834893, 3834605, 7360878, 10909778, 2767031, 2767064, 2766846, 2766660, 2766636, 2766811, 2766465, 9409198, 1377762, 5400613, 5400790, 5401673, 5401760, 2444632, 9215881, 9105722, 4432690, 3002121, 2705196, 2705200, 2705195, 2706490, 2706501, 2706541, 4119826, 2706435, 1771245, 1771040, 2453368, 1043858, 3190653, 2738639, 2738701, 2498388, 2498387, 11548294, 9597482, 2551823, 2903813, 2972915, 2973197, 8343428, 2972983, 2973215, 2973031, 2973167, 2973160, 2772339, 2772483, 2772431, 2772456, 5220185, 2474029, 5228006, 2474051, 7102475, 4930679, 2012157, 4771607, 2012122, 2012137, 3205121, 1047440, 1047439, 2945092, 7301751, 2865100, 2479925, 2315382, 3169835, 3169836, 3169838, 2441370, 2857071, 2856288, 2856681, 2856457, 7792960, 2891918, 2891868, 2891902, 8941475, 5687101, 5687099, 5687103, 5687100, 5687098, 2876607, 2876184, 2876213, 9148577, 2876176, 5329904, 2777249, 2777986, 2777537, 2777374, 2777151, 2778071, 2778188, 2777254, 2777276, 2777233, 2777204, 2778019, 2777430, 2778088, 2777561, 2777280, 2777273, 2778196, 2777461, 10991736, 9412114, 9606936, 5290087, 5290090, 5667503, 5341161, 1045875, 3877487, 5301979, 7314637, 5529671, 5414411, 2753740, 3084923, 3084949, 3084939, 2493707, 2493698, 8935018, 7241995, 8168319, 8961574, 5240325, 7496350, 5384364, 2479662, 2479666, 2479631, 2479623, 2479635, 2479612, 2479646, 2479661, 2479665, 11473281, 8014163, 6721299, 2975852, 4391374, 8002952)
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 29431 records were derived from 79 constituent datasets; see https://api.gbif.org/v1/occurrence/download/0039707-250811113504898/datasets/export for details.
 
Data from some individual datasets included in this download may be licensed under less restrictive terms.