Learn R Programming

nbastatR (version 0.1.110202031)

get_days_nba_scores: Get NBA Dates' NBA Scores

Description

Returns nba score data for a given date

Usage

get_days_nba_scores(game_dates = NULL, day_offset = 0,
  include_standings = F, assign_to_environment = TRUE,
  return_message = TRUE)

Arguments

game_dates

vector of dates

day_offset

day offset

include_standings

if TRUE includes standings as of the date

assign_to_environment

if TRUE assigns each table to environment with name containing dataScore

return_message

if TRUE returns a message

Value

a data_frame

Examples

Run this code
# NOT RUN {
get_days_nba_scores(game_dates = "2017-12-31", include_standings = F, return_message = T)
# }

Run the code above in your browser using DataLab