Skip to contents

A thin wrapper around the pbpstats API’s “get-relative-off-def-efficiency” endpoint.

Usage

get_relative_off_def_efficiency(league = "nba")

Arguments

league

Character. Which league to query; e.g., "nba" or "wnba"; defaults to "nba".

Value

A tibble of relative offensive and defensive efficiency metrics as returned by the API.

References

Darryl Blackport (2020). PBPStats API, MIT License. https://api.pbpstats.com/docs