fuzzy LEFT join with R

后端 未结 1 1871
醉梦人生
醉梦人生 2021-01-16 06:04
library(tidyverse)
library(fuzzyjoin)

df1 <- tibble(col1 = c(\"apple\", \"banana\", \"carrot\"),
              col2 = as.numeric(0:2),
              col3 = as.nu         


        
1条回答
  •  孤城傲影
    2021-01-16 06:47

    Voila :)

    fuzzy_left_join(df1, df2, match_fun = ci_str_detect, by = c(col1 = "col4"))
    

    0 讨论(0)
提交回复
热议问题