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

Collecting Awesome Usage Of {ffscrapr} #280

Open
tanho63 opened this issue Apr 24, 2021 · 7 comments
Open

Collecting Awesome Usage Of {ffscrapr} #280

tanho63 opened this issue Apr 24, 2021 · 7 comments
Labels
documentation 📚 add or clarify supporting information to make it easier to use functions good first issue 🚪 easy wins for new contributors help wanted ❤️ we'd love your help!

Comments

@tanho63
Copy link
Member

tanho63 commented Apr 24, 2021

Got any cool examples of how you've used ffscrapr?

I'd love to hear about it and build up a directory page of blog posts, code snippets, Shiny apps etc that can help inspire future analysis and dev! Please comment here if you've got such a thing.

Examples of things I'm keen on hearing about:

  • managing a salary cap league
  • tracking an MFL auction
  • revisiting league history and bad beats
  • and anything else!
@tanho63 tanho63 added documentation 📚 add or clarify supporting information to make it easier to use functions help wanted ❤️ we'd love your help! good first issue 🚪 easy wins for new contributors labels Apr 24, 2021
@tanho63 tanho63 pinned this issue Apr 24, 2021
@tanho63 tanho63 mentioned this issue Apr 24, 2021
@TheMathNinja
Copy link
Contributor

Things I've created via ffscrapr:

  1. Tracked historical value of rookie draft pick by draft slot in our dynasty league (using ff_draft() in conjunction with using ff_playerscores() for points and ff_starters() / ff_starterpositions() to calculate positional baselines)
  2. Tracked salary allocation vs. player value to determine positional buy-lows / auction targets in a salary cap league
  3. Used ff_franchises() in conjunction with ff_standings() to predict team performance before Week 1 and set equitable schedules accordingly.

@tanho63
Copy link
Member Author

tanho63 commented Apr 25, 2021

@TheMathNinja Awesome! Any code examples published anywhere? 😀

@TheMathNinja
Copy link
Contributor

Yes, the scheduler is public (the other ones would take a bit of work for me to take out my "special sauce").

Just be forewarned that this code was written almost a year ago, so it's a much earlier version of ffscrapr, and also just 1-2 months into me learning how to code in R, haha. I'll re-visit it this July/August for an update, I imagine.

https://github.com/TheMathNinja/NFLdataprojects/blob/master/Football-Analytics-Labs/FAFLschedgeneratorv3.R

@draftydesert277
Copy link

draftydesert277 commented May 9, 2021

I don't know if you're familiar with Tableau, but you could check out the beginnings of a "league dashboard" I'm working on: https://public.tableau.com/profile/steve.goedken#!/vizhome/Book1_16193733190810/Draft

@cincysam6
Copy link

Tan,

This is a really great package. Working on a Shiny App to compile a league website that will look at a wide variety of historical league stats that ESPN doesn't keep like all time record vs opponent. The league goes back on ESPN to like 2007 and has had stable members the whole time so really interested in seeing who historically the best drafter in the league has been, if any owner is particularly adept at late round value, things like that.

@cincysam6
Copy link

@tanho63 Building a Blog on my fantasy league. Eventually will do some more sophisticated things and want to build a shiny app, but this has been fun for my family fantasy league that we've done for 25 years.

https://kfl-analytics.netlify.app/

@TheMathNinja
Copy link
Contributor

TheMathNinja commented Aug 24, 2024

Another great use: IDP commissioners know how controversial position designation can be. I use mfl_players() and espn_players() to scrape for position discrepancies between the 2 platforms and then use this short list to let PFF break ties. I publish and tweet the result as “True Position Cheatsheet” for other MFL GM’s to utilize for position changes. Saves so much time and controversy as a commissioner!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📚 add or clarify supporting information to make it easier to use functions good first issue 🚪 easy wins for new contributors help wanted ❤️ we'd love your help!
Projects
None yet
Development

No branches or pull requests

4 participants