Skip to content

Commit

Permalink
Don't remove non-matched
Browse files Browse the repository at this point in the history
  • Loading branch information
snacktavish authored Apr 24, 2024
1 parent 7088c13 commit 7351722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/datelife_query.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ make_datelife_query <- function(input = c("Rhea americana", "Pterocnemia pennata
if (use_tnrs_global) {
# process names even if it's a "higher" taxon name:
cleaned_names_tnrs <- clean_tnrs(tnrs_match(input = cleaned_names),
remove_nonmatches = TRUE)
remove_nonmatches = FALSE)
# recover original names of invalid taxa and unmatched:
cleaned_names <- gsub("_", " ", cleaned_names)
ii <- !tolower(cleaned_names) %in% cleaned_names_tnrs$search_string
Expand Down

0 comments on commit 7351722

Please sign in to comment.