TIL the parameter .before in mutate() from {dplyr}.
It adds the new column(s) created to the *beginning* of the dataframe, instead of to the end. Quite useful!
Source: #RforDataScience (2e)
(sometimes you should read stuff you think you already know)
#rstats
I’ve taught hundreds of Harvard and MIT students data science in R and Python. In my experience, Python was easier for people with a decent computer science background. R was easier for everybody else.
A new blog post detailing the update on my R package {soccerAnimate} ⚽️
Focuses primarily on analyzing and visualizing
- Individual player performance
- Average team positioning
Link in the first comment 👇