The fuzzywuzzyR package is a fuzzy string matching implementation of the fuzzywuzzy python package. It uses the Levenshtein Distance to calculate the differences between sequences. More details on the functionality of fuzzywuzzyR can be found in the blog-post and in the package Vignette.
UPDATE 26-07-2018: A Singularity image file is available in case that someone intends to run fuzzywuzzyR on Ubuntu Linux (locally or in a cloud instance) with all package requirements pre-installed. This allows the user to utilize the fuzzywuzzyR package without having to spend time on the installation process.
Python (>= 2.4)
difflib
fuzzywuzzy ( >=0.15.0 )
python-Levenshtein ( >=0.12.0, optional, provides a 4-10x speedup in String Matching, though may result in differing results for certain cases)
Before the installation of any python modules one should check the python-configuration using :
reticulate::py_config()
All modules should be installed in the default python configuration (the configuration that the R-session displays as default), otherwise errors will occur during package installation.
Python2
-get install python-pip
sudo apt--upgrade pip
sudo pip install
pip install fuzzywuzzy-Levenshtein pip install python
Python 3
-get install python3-pip
sudo apt--upgrade pip
sudo pip3 install
pip3 install fuzzywuzzy-Levenshtein pip3 install python
:\Python27;C:\Python27\Scripts C
pip install fuzzywuzzy-Levenshtein pip install python
To install the package from CRAN use,
install.packages('fuzzywuzzyR')
and to download the latest version from Github use the install_github function of the devtools package,
devtools::install_github(repo = 'mlampros/fuzzywuzzyR')
Use the following link to report bugs/issues,
https://github.com/mlampros/fuzzywuzzyR/issues
If you use the code of this repository in your paper or research please cite both fuzzywuzzyR and the original software https://CRAN.R-project.org/package=fuzzywuzzyR/citation.html:
@Manual{,
= {{fuzzywuzzyR}: Fuzzy String Matching in R},
title = {Lampros Mouselimis},
author = {2021},
year = {R package version 1.0.5},
note = {https://CRAN.R-project.org/package=fuzzywuzzyR},
url }