Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jthomasmock/espnscraper
Scrapes Or Collects NFL Data From ESPN
https://github.com/jthomasmock/espnscraper
Last synced: 13 days ago
JSON representation
Scrapes Or Collects NFL Data From ESPN
- Host: GitHub
- URL: https://github.com/jthomasmock/espnscraper
- Owner: jthomasmock
- License: other
- Created: 2020-03-16T16:23:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T17:53:54.000Z (9 months ago)
- Last Synced: 2024-08-13T07:13:41.914Z (3 months ago)
- Language: R
- Homepage: https://jthomasmock.github.io/espnscrapeR/
- Size: 13.8 MB
- Stars: 51
- Watchers: 4
- Forks: 10
- Open Issues: 7
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
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%"
)
```
# espnscrapeRThe 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()
```