Script to pull a list of teams for a given year. Ruby example translated to R with rvest.