Comments (6)
You are correct in that 2020 was hard-coded, but inside the function.
code inside function(season = 2020, ...)
sets the "default" value so you can call get_college_qbr()
and it would return 2020's data.
I've corrected the internals (had duplicated httr::GET()
) so that it will reflect specific years again.
Thanks for the bug report!
from espnscraper.
ESPN's API endpoint is not playing nicely 😢
Diagnosing the correct "seasonType" which should be 2 or 3, but is only returning either season level or bowls.
from espnscraper.
So apparently ESPN has removed all weekly college QBR data from prior to 2020.
I'll continue looking but it may just not be available. 😭
It's not even available on the basic webpage:
https://www.espn.com/college-football/qbr/_/view/weekly/season/2019/week/3
from espnscraper.
Ok - I have fixed this now @JerrickBackous - ESPN altered the college API to return ALL weeks paginated. So now the function takes a bit longer but does return a whole season of weekly data at once as far as I can tell (approx 1600 obs/year).
from espnscraper.
I have confirmed weekly data going back to 2004 note that the latest package version is 0.5.1 and uses the syntax below:
espnscrapeR::get_college_qbr(2018, type = "weekly")
- feel free to give it a try, but I'll also be uploading raw data to a central repo in the future.
from espnscraper.
Closing this as it is working again but please let me know if you have any issues @JerrickBackous
from espnscraper.
Related Issues (20)
- Wrong team in ESPN API? HOT 4
- get_nfl_boxscore_players(game_id = "401220131") HOT 4
- Connection Error HOT 2
- get_nfl_teams() Error 403 HOT 3
- get_athlete() Error: Not Found (HTTP 404) HOT 1
- List of Player ID's HOT 1
- Some boxscores do not appear HOT 1
- 2022 Pass Win Rates Update HOT 2
- Error in player name for players on multiple teams throughout the year HOT 1
- Installation Assistance HOT 1
- `scrape_team_stats_nfl` gives error when `role="defense"` HOT 2
- Defense type in scrape_espn_stats() HOT 1
- Add 2023 win rates? HOT 2
- ESPN Data inconsistent HOT 3
- Intragame win probability HOT 3
- Unable to pull 2020 College QBR HOT 2
- Two stray commas causing get_nfl_schedule to fail HOT 1
- College QBR Data missing HOT 6
- keep venue in get_schedule_data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espnscraper.