Giter Club home page Giter Club logo

Comments (6)

jthomasmock avatar jthomasmock commented on June 12, 2024

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.

jthomasmock avatar jthomasmock commented on June 12, 2024

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.

jthomasmock avatar jthomasmock commented on June 12, 2024

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.

jthomasmock avatar jthomasmock commented on June 12, 2024

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.

jthomasmock avatar jthomasmock commented on June 12, 2024

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.

wk-years

from espnscraper.

jthomasmock avatar jthomasmock commented on June 12, 2024

Closing this as it is working again but please let me know if you have any issues @JerrickBackous

from espnscraper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.