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
Use the devtools
package to install this package from GitHub.
devtools::install_github('m-clark/five38clubrankings')
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.