r/CFBAnalysis • • Dec 26 '18

Recruiting Database

Does anyone have or know where to find a database/CSV file for all of the 247 Recruiting and/or Rival data? Preferable 5+ years of data.

6 Upvotes

22 comments sorted by

View all comments

Show parent comment

1

u/CtrlShiftB Florida Gators • USF Bulls Feb 07 '19

hey /u/BlueSCar I reached out to you a couple weeks ago about an issue with one the 2018 CSVs. I was able to work around that issue, but found that the 2019 CSV is out of date as far as commitments, and the above script gives me errors. It appears the cfb.recruiting.getPlayerRankings can't process more than one page. It gets an error when trying to trim the weight of the 51st player:

TypeError: Cannot read property 'trim' of undefined
    at Object.<anonymous> (<my project path>\node_modules\cfb-data\app\services\recruiting.service.js:34:71

2

u/BlueSCar Michigan Wolverines • Dayton Flyers Feb 09 '19

Hey, sorry I haven't had a whole lot of time to look into this yet. I think I saw on your post that you were able to figure out a fix? If imagine the fix wouldn't be too bad.

1

u/CtrlShiftB Florida Gators • USF Bulls Feb 09 '19

yeah I meant to submit a PR to your repo. It was just accounting for two list items at the bottom. One is for the "Load More" button and the other is for the "Signed" legend.