ffscrapr 1.2.2

Minor patches to dp_import functions to address issues discovered by CRAN checks.

Also adds minor helper function, dp_cleannames, which is a utility function for cleaning player names that removes common suffixes, preiods, and apostrophes.

Minor patches

ffscrapr 1.2.1

Minor patches

ffscrapr 1.2.0

The main goal of ffscrapr 1.2.0 is to add a full set of methods for Fleaflicker. This release also adds improved caching options, including writing to your filesystem for persistent caching (see the vignette!), and one hotfix for sleeper_getendpoint.


Other tweaks to existing platforms/methods

Fleaflicker notes

All functions now have Fleaflicker methods! Here are notes about what isn’t the same:

ffscrapr 1.1.0

The main goal of ffscrapr 1.1.0 is to add a full set of methods for Sleeper. Also adds two new generics: ff_userleagues() and ff_starters().

New generic functions

Here is a list of new functions available at the top level (ie for all platforms)

Sleeper notes

Almost all functions now have Sleeper methods - implemented in what hopes to be relatively familiar manner to MFL. Outlining the specifics of what isn’t the same:

MFL changes

Other release tweaks in 1.1.0

ffscrapr 1.0.0

This is the first (major) version of ffscrapr and it is intended to build out the full set of functions for the first API platform: MFL.

Future versions will add more platforms via methods mapped to the same functions.

Functions include: - ff_connect (and sibling mfl_connect) to establish connection parameters and ratelimiting - mfl_getendpoint as a low-level function for making GET requests from MFL - ff_draft gets draft results - ff_draftpicks gets current and future draft picks that have not yet been selected - ff_franchises gets franchise-level identifiers and divisions - ff_league gets league-level summaries of rules, players, and franchises - ff_playerscores gets playerweek-level scores - ff_rosters gets franchise-level rosters complete with naming - ff_schedule gets weekly fantasy schedules - ff_scoring gets scoring rules - ff_standings gets league-level season summaries - ff_transactions gets a list of all transactions and cleans them into a data frame.