Skip to content

Commit

Permalink
exact find cols
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Ruete committed Nov 6, 2020
1 parent e28d3d7 commit 7ca60ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/organizeBirds.R
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ organizeBirds <- function(x,
}

# Simplify species names to reduce epitets and author names
sppCol.df <- findCols(sppCol, x@data)
sppCol.df <- findCols(sppCol, x@data, exact = TRUE)
if (length(sppCol.df) > 0){
if (!is.null(simplifySppName) && simplifySppName == TRUE){
x@data[, sppCol.df] <- simplifySpp(x@data, sppCol.df)
Expand Down

0 comments on commit 7ca60ad

Please sign in to comment.