comparing pairs in r
reclin::compare_pairs(by = c("x", "y"), default_comparator = lcs())
#default_comparator can also take identical(), jaccard(), jaro_winkler()
#as argument
#Choosing a comparator and the columns to compare is highly dataset-dependent,
#so it's best to try out different combinations
#to see which works best on the dataset you're working with.