Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Using Alteryx to Scrape NFL Data

zm1
6 - Meteoroid

I recently discovered nflscrapR, an R package that allows you to pull play by play data for NFL football games. As an extreme beginner to R, I haven't successfully found instructions on how to get started with leveraging this rich dataset. However, I know Alteryx! And I know that Alteryx has a lot of capabilities with R. Has anyone used Alteryx with the nflscrapR package successfully? I have tried to install the package according to the instructions on nflscrapR's GitHub:

 

 

 

# Must install the devtools package
install.packages("devtools")

# Then can install using the devtools package from:
devtools::install_github(repo = "maksimhorowitz/nflscrapR")

 

 

When I run this, I get this error: 

Error: R (1): Error: (converted from warning) packages 'plyr', 'Rcpp' are in use and will not be installed 

I'm assuming this is because I already have the 'plyr' and 'Rcpp' packages installed. How do you get around this and start scraping?

 

Also, I'm generally interested in using Alteryx for Fantasy Football. I built some workflows this year using ESPN's Fantasy Football API to automatically pull information for my leagues. It made running an office league much easier! Would be glad to share some templates if anyone is interested.

2 REPLIES 2
joshuaburkhow
ACE Emeritus
ACE Emeritus

Oh man! This looks sweet! I would absolutely love to see what you got so far. Did you try the other installation path on this? 

 

# or the following (these are the exact same packages):
devtools::install_github(repo = "ryurko/nflscrapR")

Documentation says they are exactly the same 

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
freemajb
5 - Atom

I'm fairly new to Alteryx, but I would love to see your template on how you did this!

Labels