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

Statcast Search (scrape_statcast_savant) Error: Can't assign 92 names to a 94-column data.table #334

Closed
admiralrpi opened this issue May 13, 2024 · 2 comments

Comments

@admiralrpi
Copy link

Describe the bug
After 2 new fields added, function will not scrape the columns correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

Statcast function error

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@admiralrpi admiralrpi changed the title Error: Can't assign 92 names to a 94-column data.table Statcast Search (scrape_statcast_savant) Error: Can't assign 92 names to a 94-column data.table May 13, 2024
@camdenk
Copy link
Collaborator

camdenk commented May 13, 2024

Download the dev version with devtools::install_github("BillPetti/baseballr") and this should be fixed!

@camdenk camdenk closed this as completed May 13, 2024
@admiralrpi
Copy link
Author

admiralrpi commented May 13, 2024 via email

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

No branches or pull requests

2 participants