Skip to content

dcavacec/ff-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ff-data

Fantasy football data app

Purpose

The fantasy football draft is tonight, and I haven't prepared. To make it more likely I'm unprepared when it begins, let's create a simple app to provide historical fantasy football points data.

Goals

  • Access historical ff points data in a web page/app
  • Easily modify the dataset to summarize, filter, etc.
  • Demonstrate skills
    • Version control
    • Client code
    • Server code

Requirements

  • Avoid frameworks and libraries where possilbe

Data Source Analysis

  • FF Points are dependent on scoring settings in each league
    • FFToday has data back to 2001 and calculates points based on league settings you provide, but I don't see an API. I don't see terms of use or robots.txt.
    • [FantasyData] (https://fantasydata.com/nfl/fantasy-football-leaders) has a similar data span, but doesn't calculate points. Free tier limits results.
    • Didn't find an API for the historical data that isn't premium

Plan

  1. Use FFToday as source because it calculates points and offers a nice metric (consistency) for free.
  2. Pull 2023 table for each relevant position based on defined scoring rules (URL parameter).
  3. Normalize positions results.
  4. Store normalized results in document database to limit overhead.
  5. Create basic SPA which serves the full dataset in a table.
  6. Provide interface to add filters, change sorting, etc.

Features

  • Sort by any column
  • Filter any column

Design

About

Fantasy football data app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published