dplyr
is one of the most popular R
packages. It is powerful and important. But is it in fact easily comprehensible?
dplyr
makes sense to those of us who use it a lot. And we can teach part time R
users a lot of the common good use patterns.
But, is it an easy task to study and characterize dplyr
itself?
Please take our advanced dplyr
quiz to test your dplyr
mettle.
Categories: Opinion
jmount
Data Scientist and trainer at Win Vector LLC. One of the authors of Practical Data Science with R.
I’m officially freaking out – thanks for publishing
As far as I can tell the “
starwars
” example in the quiz has been wrong since it was introduced in the dplyr 0.7.0 announcement of 2017-06-13. The work around I think is to add extra “!!
“s to the code (meaning perhapsdplyr
is fine, and the example was what is wrong). But frankly that is just me trying things until something works like the documentation claims it should.Below is the issue:
dplyr
“pronoun mode” renames columns- which means if you try to use those columns you run into trouble (unless you add the extra “!!
“s, which don’t seem to be part of the example or pronoun documentation).