Package 'uncmbb'

Title: UNC Men's Basketball Match Results Since 1949-1950 Season
Description: Dataset contains select attributes for each match result since 1949-1950 season for UNC men's basketball team.
Authors: Jay Lee [aut, cre]
Maintainer: Jay Lee <[email protected]>
License: CC0
Version: 0.2.2
Built: 2024-11-19 06:11:31 UTC
Source: https://github.com/joongsup/uncmbb

Help Index


Duke Men's Basketball Match Results From 1949 - 1950 Season.

Description

Duke men's basketball match results from 1949 - 1950 season. Data is scraped from https://www.sports-reference.com/cbb/schools/duke/, and according to the source, may contain missing records especially for matches with non Div-1 teams prior to 1995 - 1996 season. No missing records were found.

Usage

duke

Format

A data frame with variables:

Season

season year, ending

Game_Date

date of match, yyyy-mm-dd

Game_Day

day of match

Type

match type, one of REG, CTOURN, NIT, or NCAA

Where

match location, one of H(ome), A(way), or N(eutral)

Opponent_School

match opponent

Result

match result, W for Duke win

Tm

Duke score in the match

Opp

opponent's score in the match

OT

overtime indicator, one of NA, OT, 2OT, or 3OT

Source

https://www.sports-reference.com/cbb/schools/duke/


Get NCAA championship winning seasons from a team's historical match data.

Description

Get NCAA championship winning seasons from a team's historical match data.

Usage

mbb_champ_season(df, type = "NCAA")

Arguments

df

Input data frame containing a team's historical match data that are included in uncmbb package.

type

Match type. NCAA (default).

Value

Team's championship (either NCAA or CTOURN) winning seasons (if any).

Examples

mbb_champ_season(unc)

Get season's win/loss summary for all match types.

Description

Get season's win/loss summary for all match types.

Usage

mbb_season_result(df)

Arguments

df

Input data frame containing a team's historical match data that are included in uncmbb package.

Value

A data frame containing number of games, wins, losses, win

Examples

mbb_season_result(unc)

UNC Men's Basketball Match Results From 1949 - 1950 Season.

Description

UNC men's basketball match results from 1949 - 1950 season. Data is scraped from https://www.sports-reference.com/cbb/schools/north-carolina/, and according to the source, may contain missing records especially for matches with non Div-1 teams prior to 1995 - 1996 season. Those missing records were later filled in using data from other source (http://www.tarheeltimes.com/schedulebasketball-1949.aspx)

Usage

unc

Format

A data frame with variables:

Season

season year, ending

Game_Date

date of match, yyyy-mm-dd

Game_Day

day of match

Type

match type, one of REG, CTOURN, NIT, or NCAA

Where

match location, one of H(ome), A(way), or N(eutral)

Opponent_School

match opponent

Result

match result, W for UNC win

Tm

UNC score in the match

Opp

opponent's score in the match

OT

overtime indicator, one of NA, OT, 2OT, or 3OT

Source

https://www.sports-reference.com/cbb/schools/north-carolina/