-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
35 lines (23 loc) · 1.56 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
output:
md_document:
variant: gfm
---
[![Build Status](https://travis-ci.org/m-clark/five38clubrankings.svg?branch=master)](https://travis-ci.org/m-clark/five38clubrankings)
[![codecov](https://codecov.io/gh/m-clark/five38clubrankings/branch/master/graph/badge.svg)](https://codecov.io/gh/m-clark/five38clubrankings)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/m-clark/five38clubrankings?branch=master&svg=true)](https://ci.appveyor.com/project/m-clark/five38clubrankings)
```{r setup, echo=FALSE, include=FALSE, cache=FALSE}
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
```
# five38clubrankings
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`.
### Installation
The usual GitHub installation. **devtools** package required.
```{r eval=FALSE}
devtools::install_github('m-clark/five38clubrankings')
```