Learn R Programming

nbastatR (version 0.1.110202031)

assign_bref_data: Assign nested BREF data to environment

Description

Assign nested BREF data to environment

Usage

assign_bref_data(data, type = "Players", widen_data = TRUE,
  include_all_nba = F, join_data = TRUE, nest_data = FALSE,
  assign_to_environment = TRUE)

Arguments

data

a data_frame of tables

type

type of BREF data are `teams` and `players`

widen_data

if TRUE widens data

include_all_nba

if `TRUE` include all NBA teams

join_data

if TRUE joins tables

nest_data

if TRUE nests data

assign_to_environment

if TRUE assigns data to your environment

Value

a `data_frame`