Skip to content

Commit 42e644d

Browse files
committed
adding pos column for CBS DST
1 parent 058cb37 commit 42e644d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

R/source_scrapes.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ scrape_cbs = function(pos = c("QB", "RB", "WR", "TE", "K", "DST"), season = NULL
8080
dst_ids = ff_player_data[ff_player_data$position == "Def", c("id", "team")]
8181
dst_ids$team[dst_ids$team == "OAK"] = "LV"
8282
out_df$id = dst_ids$id[match(cbs_id, dst_ids$team)]
83+
out_df$pos = pos
8384
out_df$src_id = player_ids$cbs_id[match(out_df$id, player_ids$id)]
8485
}
8586

0 commit comments

Comments
 (0)