stats_by_category: Organize scraped data by stat category

stats_by_categoryR Documentation

Organize scraped data by stat category

Description

Breaks the data into the following categories, and imputes missing values based on rate stats across sources. For example, if passing attemts are missing then they will be imputed by calculating pass yards per attempt across sources and dividing the pass yards for the source with pass yards per attempt across sources.

pass

Passing stats

rush

Rushing stats

rec

Receiving stats

misc

Miscellaneous offensive stats

ret

Return stats

kick

Kicking stats

dst

DST stats

idp

IDP stats

Usage

stats_by_category(data_results)

FantasyFootballAnalytics/ffanalytics documentation built on April 6, 2024, 6:56 p.m.