Sports Analytics in Practice with R