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: 3 months 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-06-05T02:32:49.195Z (5 months ago)
- Language: R
- Homepage: https://jthomasmock.github.io/espnscrapeR/
- Size: 13.8 MB
- Stars: 51
- Watchers: 4
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - jthomasmock/espnscrapeR - Scrapes Or Collects NFL Data From ESPN (R)
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()
```