knitr::opts_chunk$set(echo = T, message=F, warning=F, error=F, collapse = TRUE,
                      comment=NA, R.options=list(width=220),   # code 
                      dev.args=list(bg = 'transparent'), dev='png',                                 # viz
                      fig.align='center', out.width='75%', fig.asp=.75,                 
                      cache.rebuild=F, cache=F)                                                     # cache

538 Football Club Rankings

Installation

Use the devtools package to install this package from GitHub.

devtools::install_github('m-clark/five38clubrankings')

Get the rankings and summaries

The main function gets the club rankings, while others will use dplyr to get by-country and by-league averages.

library(five38clubrankings)
rankings_2018 = get_club_rankings()
library(five38clubrankings)
data("rankings_2018")
get_country_averages(rankings_2018)
get_league_averages(rankings_2018)


m-clark/five38clubrankings documentation built on May 30, 2019, 12:47 p.m.