Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with fg_bat_leaders() html scrape #18

Closed
forrestdiamond opened this issue Mar 23, 2017 · 1 comment
Closed

Issue with fg_bat_leaders() html scrape #18

forrestdiamond opened this issue Mar 23, 2017 · 1 comment

Comments

@forrestdiamond
Copy link

forrestdiamond commented Mar 23, 2017

I've been trying to use the fg_bat_leaders() command, but it looks like the new Fangraphs layout broke the html scraper. I get an Error in .[[24]] : subscript out of bounds. When I tried copy and pasting the function guts to find the error I found the failure comes on the initial read_html() call. I assume something in the paste0() needs to be changed with the FG update, but I could be wrong!

Is anyone else getting this result?

@BillPetti
Copy link
Owner

Yup, page structure shifted. Try reinstalling, should work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants