Dear All, I would like to announce a one-function package dedupewider. I have used it to find companies connected by some telephone numbers to collapse it into one row, e.g. in case of this table:
|tel_1|tel_2|name| ------------------------ |1111|2222|nam1| |2222|3333|nam2| |3333|4444|nam3| all records will be collapsed into one record with 4 unique telephone numbers (optionally all unique names or information from other columns can be kept). Perhaps it will be helpful for you as well. Link to CRAN: https://CRAN.R-project.org/package=dedupewider Best regards, Grzegorz Smoliński _______________________________________________ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.