Skip to content

Shiny app leveraging Fantasy Premier League's API data. Developed as a package using the golem framework.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

thomaszwagerman/fplboard

Repository files navigation

fplboard

Lifecycle: experimental Codecov test coverage R-CMD-check

The goal of fplboard is to create a dashboard to easily extract useful information from the Fantasy Premier League (FPL) API.

This dashboard is built on top of fplscrapR, but also has its own native functions.

fplboard is built in a modular way using the golem framework. Each module has its own functionality and is an individual menu item, meaning features will be added to this package slowly over time.

The dashboard's theme is imitating the FPL's website. The goal of fplboard is just to have a bit of fun with your team's or mini-league data. From a developer's perspective, I'm experimenting with ways of presenting data in R/Shiny (I think there's ggplot, kable, gt and reactable so far), as well as some trying some Shiny development techniques (implementing reactive themeing, custom loading screens).

Installation

You can install the development version of fplboard like so:

remotes::install_github("thomaszwagerman/fplboard")

library(fplboard)

If you want to run the app locally, all you need to do is:

devtools::load_all()

run_app()

Examples

This is a basic example which shows a function that return expected points table for a given team.

Under the hood it relies on fplscrapR’s get_entry_player_picks() and get_player_info() functions.

Let’s have a look at the table:

Another bit of functionality is plotting minileague point over time, using fplscrapR::get_league_entries() information:

Or by rank for each gameweek:

About

Shiny app leveraging Fantasy Premier League's API data. Developed as a package using the golem framework.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Packages

No packages published