The rvest implementation was the main thing that seemed like an R port of the python implementation rather than best use of rvest.
An alternate (simpler) implementation of the rvest web scraping example is at https://gist.github.com/jimhester/01087e190618cc91a213
It would be even simpler but basketball-reference designs it's tables for humans rather than for easy scraping.