get_dk_user_subset_ownership: Get Ownership for lineups from a subset of DK users

View source: R/Get Ownership For Subset of DFS Players.R

get_dk_user_subset_ownershipR Documentation

Get Ownership for lineups from a subset of DK users

Description

Calculates player ownership for subset of lineups from DK users. Can be used to compare sharp ownership vs contest.

Usage

get_dk_user_subset_ownership(tidy_lus, dk_user_subset)

Arguments

tidy_lus

long format, tidy lineup data

dk_user_subset

a vector of DK usernames - note: NOT CASE SENSITIVE

Value

a dataframe with ownership for all players in the contest, with total ownership in contest, and ownership for the subset of dk usernames provided to the function.

Examples



 own_comparison <- get_dk_user_subset_ownership(lu_dat, c('awesemo', 'youdacao', 'papagates', 'rynpak')) 

 own_comparison 




Dmunslow/tidyDK documentation built on Nov. 8, 2022, 8:53 a.m.