3 ms·
I have some concerns about the direction that certain packages within tidyverse, particularly dplyr, are heading. One issue I've noticed is the increasing freq
by VeninVidiaVicii 4y ago
I have some concerns about the direction that certain packages within tidyverse, particularly dplyr, are heading.
One issue I've noticed is the increasing frequency of warnings, such as when performing left or inner joins. These warnings can be a bit overwhelming at times.
However, it's worth noting that you can suppress these warnings by using the "multiple='all'" parameter, which is easy to fumble when you’re exploring data, why not simply "all=TRUE”? It seems like a lack of ergonomics and considering user experience.
- nojito 4y agojoins are one of the biggest causes of data quality and integrity issues in the data space.
- VeninVidiaVicii 4y agoYeah maybe, but chaining a bunch of joins together when exploring some new data is a thing I do all the time. Then, 4-5 warnings push my results off the screen. It’s infuriating.
- naijaboiler 4y agoI avoid joins in R like a plague. Been burned. If I am working with a finite number of colummns, I just use base R match and add column by column. yes it breaks DRY but I don't get weird surprises. and I can re-run any section of the code at any time from any point without breaking things or joining the same and creating unintended duplicate columns
- LaserPineapple 4y agoWhat kind of weird surprises have you run into? Are they specific to R?
- victorbohr 4y agoTake a look at the powerjoin package. It let's you specify strict rules for your joins, for example requiring unique keys in the right-side table when doing a left join. It's got some other neat features as well.