-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Begin work on Fantasy Football example of 01kanpsack problem. #13
- Loading branch information
1 parent
dc06006
commit 9040386
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|