I have one data.frame with multiple columns. The first column contains company names. These have been entered by users and many values contain similar strings representing the same entity. For example Company A Pty. Company A Pty. Ltd. Company A Georgia.
I would like to replace these variations with a single common string Company A in another column. I have looked at stringdist and other functions- but they don't seem to support this use case.
This would then allow me to summarise/aggregate based on that common string.
Third party tools such as Google Refine would work - but I would prefer to operate within R.