I have been trying to use the fuzzy join package to join the "conservation status" column from the con_filtered_report_groups data frame to the report_groups_order dataframe that has the rest of the information i am wanting to use. I want to join them so that they are matched by the species name which is a column in both dataframes.
I have tried this code
fuzzy_left_join(x=report_groups_order, y = con_filtered_report_groups, by = "species_name", match_fun= TRUE)
and this is error that appears
Error in `purrr::as_mapper()`:
! Can't convert `.f`, `TRUE`, to a function.
Backtrace:
1. fuzzyjoin::fuzzy_left_join(...)
2. fuzzyjoin::fuzzy_join(x, y, by, match_fun, mode = "left", ...)
4. purrr:::as_mapper.default(match_fun)
5. rlang::as_function(.f)
I may not have the correct code to make this happen
Any advice for help would be appreciated