Learn R Programming

sleeperapi (version 1.0.4)

get_sport_state: Gather Sport State

Description

Given a sport abbreviation (NFL, NBA, etc.), return information about the current sport state.

Usage

get_sport_state(sport)

Value

Returns a list containing information about the sport state.

Arguments

sport

Sport that you would like to query (nfl, nba, lcs, etc.) (character)

Author

Nick Bultman, njbultman74@gmail.com, December 2021

Examples

Run this code
if (FALSE) get_sport_state("nfl")

Run the code above in your browser using DataLab