stats_by_category: Organize scraped data by stat category

Description Usage

View source: R/stats_aggregation.R

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

1
stats_by_category(data_results)

MrDAndersen/ffwebscrape documentation built on May 22, 2019, 1:51 p.m.