Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jthomasmock/espnscrapeR

Scrapes Or Collects NFL Data From ESPN
https://github.com/jthomasmock/espnscrapeR

Last synced: 3 months ago
JSON representation

Scrapes Or Collects NFL Data From ESPN

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# espnscrapeR

The goal of espnscrapeR is to collect or scrape QBR, NFL standings, and stats from ESPN.

## Installation

The development version from [GitHub](https://github.com/) with:

``` r
# install.packages("remotes")
remotes::install_github("jthomasmock/espnscrapeR")
```
## Example

```{r example}
library(espnscrapeR)
```

```{r}
# Get NFL QBR for the 2019 regular season week 4
get_nfl_qbr("2019", season_type = "Regular", week = 4)
```

```{r}
# Get NFL standings for 2010
get_nfl_standings(2010)
```

```{r}
# Get NFL
scrape_espn_stats(2019, stat = "rushing")
```

```{r}
# Get college QBR for 2014 week 5
get_college_qbr(season = 2014, type = "weekly")
```

```{r}
# Get NFL teams with logos, colors, alternatives, etc
get_nfl_teams()
```