Skip to content

Commit

Permalink
Remove patch: not needed anymore
Browse files Browse the repository at this point in the history
Issue trias-project/unified-checklist#32 has been closed.
  • Loading branch information
damianooldoni committed Jul 4, 2022
1 parent c85d2e3 commit 25a0b5a
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/05_occurrence_indicators_preprocessing.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -132,34 +132,6 @@ taxa_df <-

## Remove some taxa

We remove the following species:

- [Anser fabalis (Latham, 1787)](https://www.gbif.org/species/2498027)
- [Anser anser (Linnaeus, 1758)](https://www.gbif.org/species/2498036)
- [Branta leucopsis (Bechstein, 1803)](https://www.gbif.org/species/5232464)

as discussed in [issue #32](https://github.com/trias-project/unified-checklist/issues/32).

```{r taxa_to_remove}
taxa_to_remove_speciesKey <- c(
# Anser fabalis (Latham, 1787)
2498027,
# Anser anser (Linnaeus, 1758)
2498036,
# Branta leucopsis (Bechstein, 1803)
5232464
)
```

Important: this step is a patch waiting for a new version of the [Global Register of Introduced and Invasive Species - Belgium](https://www.gbif.org/dataset/6d9e952f-948c-4483-9807-575348147c7e).

```{r remove_taxa}
# Remove from occurrence data
df <-
df %>%
filter(!taxonKey %in% taxa_to_remove_speciesKey)
```

### Taxa in unified checklist without occurrences

There is a group of taxa defined in the unified checklist which are not present in the occurrence data, i.e. the presence of these taxa, although confirmed by authoritative's checklists, is still not sustained by observations:
Expand Down

0 comments on commit 25a0b5a

Please sign in to comment.