Skip to content

Commit

Permalink
fix: do not include fossil species in GBIF checklist
Browse files Browse the repository at this point in the history
Fix #11
  • Loading branch information
larsgw committed Aug 22, 2023
1 parent fc49ca7 commit 20f8fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
}

async function getOccurrencesBySpecies (taxon, countryCode) {
const baseUrl = `https://api.gbif.org/v1/occurrence/search?facet=speciesKey&country=${countryCode.toUpperCase()}&taxon_key=${taxon}&limit=0`
const baseUrl = `https://api.gbif.org/v1/occurrence/search?facet=speciesKey&country=${countryCode.toUpperCase()}&taxon_key=${taxon}&year=0,9999&limit=0`

const species = []
const pageSize = 100
Expand Down

0 comments on commit 20f8fe3

Please sign in to comment.