Skip to content

Commit

Permalink
Begin work on Fantasy Football example of 01kanpsack problem. #13
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsardar committed Feb 13, 2019
1 parent dc06006 commit 9040386
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions vignettes/fantasty-football.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: "Fantasty Football As A Knapsack Problem"
author: "Adam Sardar"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Vignette Title}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

Now I just need to learn how to play Fantasy football!!

https://towardsdatascience.com/using-apis-google-sheets-to-assess-fantasy-premier-league-prospects-1a2598c4b25e

This could be kinda fun - you can even poll previous weeks, so you could asses past performance over the season.

https://www.kaggle.com/delayedkarma/fantasy-premier-league-20182019

https://www.reddit.com/r/FantasyPL/comments/a7ye2z/fantasy_premier_league_api/
https://github.com/RagtimeWilly/FplClient

https://public.tableau.com/profile/mike.croom#!/vizhome/GraphofFPLPlayerPerformanceagainstcost/AveragePoints?publish=yes

```{r}
FPLdata <- fromJSON("https://fantasy.premierleague.com/drf/bootstrap-static")
FPLdata$stats_options
setDT(FPLdata$elements)
```

1: GK
2: DEF
3: MID
4: FWD

0 comments on commit 9040386

Please sign in to comment.