assign_bref_data: Assign nested BREF data to environment

View source: R/bref.R

assign_bref_dataR Documentation

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 tibble 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 'tibble'


abresler/nbastatR documentation built on Nov. 9, 2023, 2:33 p.m.