knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of ffespn is to get ESPN fantasy football projections.
You can install the development version of ffespn from github with:
remotes::install_github("dfs-with-r/ffespn")
This is a basic example which shows you how to get projections for week 0 (the preseason).
library(ffespn) # use default espn league qb <- ffespn_projections(2022, 0, "QB") qb # use custom league dt <- ffespn_projections(2022, 0, "DT", league_id = "134971153") dt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.