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.path = "man/figures/README-", fig.align='center', out.width='75%', fig.asp=.75, cache.rebuild=F, cache=F) # cache
This package just grabs the table located at https://projects.fivethirtyeight.com/global-club-soccer-rankings/, and additionally does some summary by league and country. You can get the csv at https://github.com/fivethirtyeight/data/tree/master/soccer-spi, but that doesn't have country or one-week change. The main function is get_club_rankings
.
The usual GitHub installation. devtools package required.
devtools::install_github('m-clark/five38clubrankings')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.