Text this: Statistical data cleaning with applications in R