Skip to content

Commit

Permalink
Update get_gbif.R
Browse files Browse the repository at this point in the history
  • Loading branch information
8Ginette8 committed Feb 21, 2024
1 parent 8e648fb commit 0d1eeba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_gbif.R
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ get_gbif = function(sp_name = NULL,

cat("---> Removal of absence records...","\n")

id.abs = !(gbif.correct$individualCount %in% 0 | gbif.correct$individualCount != "PRESENT")
id.abs = !(gbif.correct$individualCount %in% 0 | gbif.correct$occurrenceStatus %in% "ABSENT")
gbif.correct = gbif.correct[id.abs,]

# Removal summary
Expand Down

0 comments on commit 0d1eeba

Please sign in to comment.