knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
This package contains the University of North Carolina (UNC) Men's basketball team's (and their archrival Duke's) match results since 1949-1950 season with select match attributes. Base match records are obtained from the source (1) below and augmented from the source (2):
Any data discrepancies are fixed once they are identified.
install.packages("uncmbb")
Or install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("joongsup/uncmbb")
library(uncmbb) library(dplyr) # Match data tail(unc) # NCAA championship seasons mbb_champ_season(unc) # Highest regular season win percentage unc %>% mbb_season_result() %>% filter(Type == "REG") %>% arrange(desc(pct_win)) %>% head(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.