scrape_teams: Scrape franchise records.

Description Usage Arguments Value

View source: R/scrape_teams.R

Description

This function scrapes the NBA & ABA Team Index for overall records by franchise.

Usage

1
scrape_teams(status = "active")

Arguments

status

'active', 'defunct' or 'both'. 'active' returns only those franchises that are still participating in the NBA. 'defunct' returns only those franchises that no longer participate in the NBA. 'both' returns all franchises.

Value

A tibble with a row for each team.

The fields are:

Franchise

Franchise name

FranchiseId

Three letter identifier

Lg

The leagues the franchise participated in

From

First year in league

To

Last year in league

Yrs

Years active

G

Total games played

W

Total wins

L

Total losses

W/L%

Wins / Losses

Plyfs

Total appearances in playoffs

Div

Total divisional title wins (including ties)

Conf

Total conference title wins

Champ

Total championship title wins


TambourineMan88/bballR documentation built on Dec. 11, 2019, 7:23 p.m.