diff --git a/articles/release.html b/articles/release.html index 4d89775..fd2e754 100644 --- a/articles/release.html +++ b/articles/release.html @@ -146,7 +146,7 @@

Key Features of cbbdatateam column with a logo and team name and render in a gt table. Gone are the days of awkwardly having separate -columns for your logo and team name (cbd_gt_logos()). Just +columns for your logo and team name (cbd_gt_logos()). Just like here!

diff --git a/index.html b/index.html index 83527b2..476aca0 100644 --- a/index.html +++ b/index.html @@ -293,16 +293,16 @@

Other dplyr::slice(1:5) %>% dplyr::select(team, conf, barthag, adj_o, adj_d) %>% gt::gt() %>% - cbbdata::gt_theme_athletic() + cbbdata::gt_theme_athletic()

Also included in cbbdata is a helper function for plotting team logos with gt. Simply pass in a dataframe with team names, specify where your ‘team’ logo resides, and the name of the new column (using the same name as your ‘team’ column will replace that column – perfect for gt).

 cbbdata::cbd_torvik_ratings(year=2024) %>%
   dplyr::slice(1:5) %>%
   dplyr::select(team, conf, barthag, adj_o, adj_d) %>%
-  cbbdata::cbd_gt_logos(team, team) %>%
+  cbbdata::cbd_gt_logos(team, team) %>%
   gt::gt() %>%
-  cbbdata::gt_theme_athletic() %>%
+  cbbdata::gt_theme_athletic() %>%
   gt::fmt_markdown(team) %>%
   gt::cols_align(columns = team, 'left')

diff --git a/pkgdown.yml b/pkgdown.yml index f3277aa..8dbc53c 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,7 +3,7 @@ pkgdown: 2.0.7 pkgdown_sha: ~ articles: release: release.html -last_built: 2024-01-05T19:30Z +last_built: 2024-01-05T20:00Z urls: reference: https://andreweatherman.github.io/cbbdata/reference article: https://andreweatherman.github.io/cbbdata/articles diff --git a/reference/cbd_add_net_quad.html b/reference/cbd_add_net_quad.html new file mode 100644 index 0000000..534980d --- /dev/null +++ b/reference/cbd_add_net_quad.html @@ -0,0 +1,118 @@ + +Add Net Rankings and Quadrants to Data — cbd_add_net_quad • cbbdata + Skip to contents + + +
+
+
+ +
+

A utility function for adding current NET rankings and quadrant boundaries to +data.

+
+ +
+

Usage

+
cbd_add_net_quad(
+  df,
+  net_team_col = opp,
+  net_col = net,
+  location_col = location,
+  add_net = TRUE
+)
+
+ +
+

Arguments

+
df
+

Data frame to alter

+ + +
net_team_col
+

A column of team names which should be used to match +against current NET rankings

+ + +
net_col
+

The name of your NET column (or the name to call the new NET +column)

+ + +
location_col
+

The name of your game location column

+ + +
add_net
+

Should NET rankings first be added to your data? Set to FALSE +if you already have NET rankings and reference that column name in +net_col. Defaults to TRUE.

+ +
+ +
+ + +
+ + + + + + + diff --git a/reference/index.html b/reference/index.html index 5fe7fd0..d6ccce0 100644 --- a/reference/index.html +++ b/reference/index.html @@ -168,6 +168,11 @@

Game Datacbd_torvik_season_schedule()
Barttorvik Season Schedules
+
+ + cbd_add_net_quad() +
+
Add Net Rankings and Quadrants to Data

Predictions

@@ -231,27 +236,6 @@

Tournament Results + Resumes -

gt Utilities

- -

Utility functions for gt tables

- - -

- - - - -
- - gt_theme_athletic() -
-
The Athletic gt Table Theme
-
- - cbd_gt_logos() -
-
Render in Logo-Team HTML for Tables
-

Other

diff --git a/search.json b/search.json index 87acf27..0e3d1ed 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://andreweatherman.github.io/cbbdata/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2023 Andrew Weatherman Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"hi-im-andrew","dir":"Articles","previous_headings":"","what":"Hi, I’m Andrew!","title":"Introducing The CBBData API","text":"Hello ! ’m Andrew Weatherman, avid open-source R developer die-hard college basketball enthusiast. journey R began COVID, entirely self-taught. 2022, ventured realm “real coding” developed toRvik package, tool accessing college basketball data. first major project , despite success, presented fair share challenges maintenance. May 2023, embarked new project: cbbdata. Flask-based API designed deliver comprehensive, --date college basketball statistics faster efficiently predecessor, toRvik. cbbdata significant undertaking, ’m excited finally share community. bit joining Twitter: graduated Duke University 2023. time , student manager men’s basketball program, coinciding Coach K’s final run Jon Scheyer’s first season. Currently, ’m pursuing degree Mathematics University North Carolina Charlotte, expected graduation date May 2024. Post-graduation, plans either continue education master’s data science jump straight workforce.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"what-is-cbbdata","dir":"Articles","previous_headings":"","what":"What is cbbdata?","title":"Introducing The CBBData API","text":"cbbdata R package designed anyone passionate college basketball statistics. simplifies process accessing analyzing wealth college basketball data, making efficient user-friendly ever .","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"key-features-of-cbbdata","dir":"Articles","previous_headings":"","what":"Key Features of cbbdata","title":"Introducing The CBBData API","text":"cbbdata ships 26 functions, lot love package. brief highlights: Comprehensive Game--Game Logs: Access detailed box scores advanced metrics players teams dating back 2008 (cbd_torvik_player_game() cbd_torvik_game_box()/ cbd_torvik_factors()). can find per-game player team splits month, location, result, game type factors (cbd_torvik_player()/cbd_torvik_team_split()). Daily Updated NET Rankings: Find latest NET rankings every morning (cbd_torvik_current_resume()). Game Predictions Barttorvik: Simulate matchup, real otherwise, using game prediction feature, powered Barttorvik (cbd_torvik_game_prediction()). ’s perfect pre-game analyses hypothetical scenario discussions. Plot team logos gt: Okay, sure, one isn’t data-focused, ’s perhaps favorite function. Rebuild team column logo team name render gt table. Gone days awkwardly separate columns logo team name (cbd_gt_logos()). Just like !","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"why-cbbdata","dir":"Articles","previous_headings":"","what":"Why cbbdata?","title":"Introducing The CBBData API","text":"cbbdata designed end-user mind. ’s built ground powerful, yet intuitive toRvik. package aims address limitations toRvik introducing new features capabilities. Importantly, say goodbye loops! cbbdata, can access full data files passing arguments functions. Otherwise, can filter year, team, conference, etc.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"a-note-on-documentation","dir":"Articles","previous_headings":"","what":"A Note on Documentation","title":"Introducing The CBBData API","text":"aware documentation still work progress. developer passionate project, wanted release cbbdata community soon possible. Continuous improvements updates documentation made. release marks just beginning. committed regular updates improvements cbbdata, based community feedback evolving needs.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"get-started-with-cbbdata","dir":"Articles","previous_headings":"","what":"Get Started with cbbdata","title":"Introducing The CBBData API","text":"cbbdata now available use! Start signing free API key, ’ll way exploring depths college basketball statistics.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"install","dir":"Articles","previous_headings":"Get Started with cbbdata","what":"Install","title":"Introducing The CBBData API","text":"","code":"# install.packages(\"devtools\") devtools::install_github(\"andreweatherman/cbbdata\")"},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"registering","dir":"Articles","previous_headings":"Get Started with cbbdata","what":"Registering","title":"Introducing The CBBData API","text":"","code":"cbbdata::cbd_create_account(username, email, password, confirm_password)"},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"your-feedback-matters","dir":"Articles","previous_headings":"","what":"Your Feedback Matters","title":"Introducing The CBBData API","text":"toRvik, feedback invaluable shaping cbbdata. encourage share experiences, suggestions, questions. can find Twitter.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Andrew Weatherman. Author, maintainer.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Weatherman (2024). cbbdata: API College Basketball Data. R package version 0.1.0, https://cbbdata.aweatherman.com/.","code":"@Manual{, title = {cbbdata: API for College Basketball Data}, author = {Andrew Weatherman}, year = {2024}, note = {R package version 0.1.0}, url = {https://cbbdata.aweatherman.com/}, }"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"welcome-to-cbbdata-your-gateway-to-in-depth-college-basketball-insights","dir":"","previous_headings":"","what":"CBBData R Package","title":"CBBData R Package","text":"vast arena college basketball data, finding comprehensive, easily accessible, --date statistics can daunting task. cbbdata emerges reliable partner quest, offering unparalleled depth college basketball insights, just line code away. Unmatched Access, Uncomplicated Process: cbbdata key unlocking treasure trove college basketball statistics. Say goodbye hurdles data scraping. package designed efficiency simplicity, providing straightforward pathway data need. Powered Precision Speed: heart cbbdata lies robust architecture, powered Flask Python. Leveraging SQL queries direct file transfers, ensure receive accurate recent data. commitment speed reliability means get data need, need , without wait. Diverse Data Fingertips: Whether ’re looking detailed player stats, team analytics, game outcomes, advanced metrics, cbbdata . comprehensive database constantly evolving, bringing latest detailed insights college basketball world. Getting Started Easy: Begin journey cbbdata signing free API key. key, world college basketball data awaits . Experience ease power cbbdata elevate analysis next level.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"CBBData R Package","text":"can install development version cbbdata GitHub :","code":"# install.packages(\"devtools\") devtools::install_github(\"andreweatherman/cbbdata\")"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"registering-for-an-api-key","dir":"","previous_headings":"","what":"Registering for an API key","title":"CBBData R Package","text":"API key free easy obtain using official cbbdata R package. register, simply pass username password cbd_create_account endpoint. API key emailed – make sure check spam folder – need manually store API key anywhere. preferred way access account username password. Note: want access KenPom data, CBBData account email must match KenPom account email","code":"# to register cbbdata::cbd_create_account(username = 'xxx', email = 'xxx', password = 'xxx', confirm_password = 'xxx')"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"obtaining-your-key","dir":"","previous_headings":"","what":"Obtaining Your Key","title":"CBBData R Package","text":"registering, two ways obtain key using cbbdata R package.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"by-session-log-in","dir":"","previous_headings":"Obtaining Your Key","what":"By-Session Log-In:","title":"CBBData R Package","text":"obtain key use current R session, can pass username password cbd_login function. retrieve key store session variable. restart leave R session, need log-.","code":"# per-session log-in cbbdata::cbd_login(username = 'xxx', password = 'xxx')"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"persistent-log-in-preferred","dir":"","previous_headings":"Obtaining Your Key","what":"Persistent Log-In (Preferred):","title":"CBBData R Package","text":"recommended way interact CBBData API store username (CBD_USER) password (CBD_PW) inside .Renviron file. unsure , cbd_login function walk process. Please note require restarting R session. API key stored session variable, cbbdata functions grab credentials .Renviron file automatically log . method, log-.","code":"# persistent log-in cbbdata::cbd_login()"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"available-data","dir":"","previous_headings":"","what":"Available Data","title":"CBBData R Package","text":"cbbdata provides broad access leading college basketball resources. cbbdata continuously growing available data includes:","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"barttorvik","dir":"","previous_headings":"Available Data","what":"Barttorvik:","title":"CBBData R Package","text":"Developer Andrew Weatherman wrote popular toRvik R package. cbbdata replaces toRvik brings rich collection Barttorvik data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"metric-ratings","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Metric Ratings:","title":"CBBData R Package","text":"Year-end ratings (cbd_torvik_ratings) Day--day ratings (cbd_torvik_ratings_archive) Team four factor splits (cbd_torvik_team_factors) E.g., want see -bias T-Rank top 10 looks like:","code":"cbbdata::cbd_torvik_team_factors(year = 2024, no_bias = TRUE) %>% dplyr::slice(1:10) %>% dplyr::select(team, barthag, adj_o, adj_d) #> # A tibble: 10 × 4 #> team barthag adj_o adj_d #> #> 1 Houston 0.983 116. 81.2 #> 2 Purdue 0.972 124. 91.0 #> 3 Arizona 0.971 119. 87.7 #> 4 Connecticut 0.963 125. 93.9 #> 5 BYU 0.956 118. 90.1 #> 6 Oklahoma 0.948 114. 88.8 #> 7 Auburn 0.947 119. 93.0 #> 8 Iowa St. 0.946 116. 90.1 #> 9 Alabama 0.940 129. 102. #> 10 Marquette 0.933 118. 93.8"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"player-data","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Player Data:","title":"CBBData R Package","text":"Individual game logs (cbd_torvik_player_game) Season averages (cbd_torvik_player_season) Season splits (cbd_torvik_player_split) E.g., want see ACC player averages points home:","code":"cbbdata::cbd_torvik_player_split(year = 2024, conf = 'ACC', split = 'location') %>% dplyr::filter(games >= 3) %>% dplyr::slice_max(pts, n = 1) %>% dplyr::select(team, player, pts, games) #> team player pts games #> 1: Syracuse Judah Mintz 26 5"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"team--conference-data","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Team + Conference Data:","title":"CBBData R Package","text":"Team stats splits (cbd_torvik_team_split) Team histories (cbd_torvik_team_history) Conference four factor splits (cbd_torvik_conf_factors) E.g., want see conferences shoot best home top 100 teams:","code":"cbbdata::cbd_torvik_conf_factors(2024, venue = 'home', top = 100) %>% dplyr::filter(games >= 5) %>% dplyr::slice_max(efg, n = 5) %>% dplyr::select(conf, games, efg) #> # A tibble: 5 × 3 #> conf games efg #> #> 1 P12 6 55.5 #> 2 SEC 13 51.1 #> 3 BE 14 50.7 #> 4 ACC 12 50.4 #> 5 Amer 5 49.5"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"game-data","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Game Data:","title":"CBBData R Package","text":"Individual game box (cbd_torvik_game_box) Individual game four factors (cbd_torvik_game_factors) Individual game stats (box + factors) (cbd_torvik_game_stats) Season schedule (cbd_torvik_season_schedule) E.g., want track Duke’s offense performed season:","code":"cbbdata::cbd_torvik_game_factors(year = 2024, team = 'Duke') %>% ggplot2::ggplot(aes(date, adj_o)) + ggplot2::geom_line() + ggplot2::geom_point(aes(color = result), size = 3) + ggplot2::scale_color_manual(values = c('darkred', 'darkgreen'), guide = NULL) + ggplot2::theme_minimal()"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"predictions","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Predictions","title":"CBBData R Package","text":"Individual game predictions (cbd_torvik_game_prediction) Team season predictions (cbd_torvik_season_prediction) Team season simulations (cbd_torvik_season_simulation) E.g., want run 10,000 simulations Duke’s season performance today:","code":"# no date -> defaults to today cbbdata::cbd_torvik_season_simulation('Duke', 2024) %>% ggplot2::ggplot(aes(wins, probability)) + ggplot2::geom_col() + ggplot2::scale_y_continuous(labels = scales::label_percent())"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"tournament-results--resumes","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Tournament Results + Resumes","title":"CBBData R Package","text":"Daily NET rankings quadrant records (cbd_torvik_current_resume) Tournament performance (cbd_torvik_ncaa_results) Tournament “committee sheets” (cbd_torvik_ncaa_sheets) Resume database (cbd_torvik_resume_database) Similar team tournament resumes (cbd_torvik_similar_resumes) E.g., want pull five teams Q1 NET wins:","code":"cbbdata::cbd_torvik_current_resume() %>% dplyr::mutate(q1_wins = readr::parse_number(quad1)) %>% dplyr::slice_max(q1_wins, n = 5) %>% dplyr::select(team, conf, q1_wins, net) #> # A tibble: 7 × 4 #> team conf q1_wins net #> #> 1 Purdue B10 5 3 #> 2 Houston B12 4 1 #> 3 Arizona P12 3 2 #> 4 Kansas B12 3 13 #> 5 Clemson ACC 3 15 #> 6 Wisconsin B10 3 17 #> 7 Texas A&M SEC 3 22"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"kenpom","dir":"","previous_headings":"Available Data","what":"KenPom","title":"CBBData R Package","text":"access KenPom data, must active KenPom subscription CBBData account email must match KenPom account email; exists curb account sharing. activate account, pass KenPom account password cbd_kenpom_authorization function. CBBData API confirm account active log expiration date. asked re-authorize date.","code":"# persistent log-in cbbdata::cbd_kenpom_authorization(password = 'xxx')"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"metric-ratings-1","dir":"","previous_headings":"Available Data > KenPom","what":"Metric Ratings:","title":"CBBData R Package","text":"Year-end ratings (cbd_kenpom_ratings) Day--day ratings (cbd_kenpom_ratings_archive)","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"other","dir":"","previous_headings":"Available Data","what":"Other","title":"CBBData R Package","text":"cbbdata ships gt_theme_athletic theme gt tables. theme perfect stat-focused tables, giving classic, monospaced feel. Also included cbbdata helper function plotting team logos gt. Simply pass dataframe team names, specify ‘team’ logo resides, name new column (using name ‘team’ column replace column – perfect gt).","code":"cbbdata::cbd_torvik_ratings(year=2024) %>% dplyr::slice(1:5) %>% dplyr::select(team, conf, barthag, adj_o, adj_d) %>% gt::gt() %>% cbbdata::gt_theme_athletic() cbbdata::cbd_torvik_ratings(year=2024) %>% dplyr::slice(1:5) %>% dplyr::select(team, conf, barthag, adj_o, adj_d) %>% cbbdata::cbd_gt_logos(team, team) %>% gt::gt() %>% cbbdata::gt_theme_athletic() %>% gt::fmt_markdown(team) %>% gt::cols_align(columns = team, 'left')"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"support","dir":"","previous_headings":"","what":"Support","title":"CBBData R Package","text":"CBBData API free use hosting ! find resource helpful, please kindly consider supporting project Ko-fi.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbbdata-package.html","id":null,"dir":"Reference","previous_headings":"","what":"cbbdata: API for College Basketball Data — cbbdata-package","title":"cbbdata: API for College Basketball Data — cbbdata-package","text":"Provides direct access clean tidy college basketball data using CBBData API.","code":""},{"path":[]},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbbdata-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"cbbdata: API for College Basketball Data — cbbdata-package","text":"Maintainer: Andrew Weatherman andrew@aweatherman.com","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_create_account.html","id":null,"dir":"Reference","previous_headings":"","what":"Register for a CBBData Account — cbd_create_account","title":"Register for a CBBData Account — cbd_create_account","text":"Allows user create CBBData API account retrieve API key","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_create_account.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Register for a CBBData Account — cbd_create_account","text":"","code":"cbd_create_account(username, email, password, confirm_password)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_create_account.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Register for a CBBData Account — cbd_create_account","text":"username Username email Email password Password confirm_password Re-enter password","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_gt_logos.html","id":null,"dir":"Reference","previous_headings":"","what":"Render in Logo-Team HTML for Tables — cbd_gt_logos","title":"Render in Logo-Team HTML for Tables — cbd_gt_logos","text":"Appends column HTML render team logos names table plotting.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_gt_logos.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Render in Logo-Team HTML for Tables — cbd_gt_logos","text":"","code":"cbd_gt_logos( data, team_column, logo_column = \"team_logo\", logo_type = \"logo\", logo_height = 25 )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_gt_logos.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Render in Logo-Team HTML for Tables — cbd_gt_logos","text":"data Pass plotting data team_column Indicate column contains team variable logo_column Indicates name HTML column logo_type Indicate whether want plot logos ('logo', default) wordmarks ('wordmark') logo_height height logo wordmark HTML string","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_gt_logos.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Render in Logo-Team HTML for Tables — cbd_gt_logos","text":"Returns data appended HTML column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_gt_logos.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Render in Logo-Team HTML for Tables — cbd_gt_logos","text":"really hate putting team logos names separate columns, helper function add team logos wordmarks create HTML code render logos teams column tables. using gt plot, must use fmt_markdown(team_logo) render HTML. Set logo_column team variable wish overwrite team column logo HTML.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_gt_logos.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Render in Logo-Team HTML for Tables — cbd_gt_logos","text":"","code":"if (FALSE) try(cbd_torvik_ratings(year=2023) %>% head() %>% select(team, conf) %>% cbbdata::cbd_gt_logos(team, team) %>% gt::gt() %>% gt::fmt_markdown(team))"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_authorization.html","id":null,"dir":"Reference","previous_headings":"","what":"Authorize your account with KenPom — cbd_kenpom_authorization","title":"Authorize your account with KenPom — cbd_kenpom_authorization","text":"Grants user access KenPom endpoints active KenPom account.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_authorization.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Authorize your account with KenPom — cbd_kenpom_authorization","text":"","code":"cbd_kenpom_authorization(password)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_authorization.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Authorize your account with KenPom — cbd_kenpom_authorization","text":"password KenPom password, CBBData password.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_authorization.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Authorize your account with KenPom — cbd_kenpom_authorization","text":"CBBData account email must match KenPom email. Pass KenPom password. asked reauthorize KenPom account expiration date.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":null,"dir":"Reference","previous_headings":"","what":"Year-End KenPom Ratings — cbd_kenpom_ratings","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"Pulls year-end KenPom ratings adjusted efficiencies 2001-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"","code":"cbd_kenpom_ratings(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter team, conf, year, data column. |","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"Requires KenPom authorization. can authorize cbd_kenpom_authorization.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"","code":"try(cbd_kenpom_ratings(year = 2023)) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":null,"dir":"Reference","previous_headings":"","what":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"Historical KenPom ratings + rankings 2012-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"","code":"cbd_kenpom_ratings_archive(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter team, conf, year, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"Requires KenPom authorization. can authorize cbd_kenpom_authorization.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"","code":"try(cbd_kenpom_ratings_archive(year = 2023)) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_login.html","id":null,"dir":"Reference","previous_headings":"","what":"Log-In to CBBData API — cbd_login","title":"Log-In to CBBData API — cbd_login","text":"Retrieves user's CBBData API key.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_login.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Log-In to CBBData API — cbd_login","text":"","code":"cbd_login(username = Sys.getenv(\"CBD_USER\"), password = Sys.getenv(\"CBD_PW\"))"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_login.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Log-In to CBBData API — cbd_login","text":"username Username password Password","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_login.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Log-In to CBBData API — cbd_login","text":"unsure edit .Renviron file, pass arguments function; walk process create persistent log-. Else, pass username password function log-current session .","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_teams.html","id":null,"dir":"Reference","previous_headings":"","what":"CBBData Team Database — cbd_teams","title":"CBBData Team Database — cbd_teams","text":"Pulls team matching dictionary + logos, colors, wordmarks.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_teams.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"CBBData Team Database — cbd_teams","text":"","code":"cbd_teams(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_teams.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"CBBData Team Database — cbd_teams","text":"... OPTIONAL. load complete data set, pass arguments function.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_teams.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"CBBData Team Database — cbd_teams","text":"","code":"try(cbd_teams()) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":null,"dir":"Reference","previous_headings":"","what":"Four Factor Conference Splits — cbd_torvik_conf_factors","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"Split conference-wide four factor data number variables.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"","code":"cbd_torvik_conf_factors( year, venue = \"all\", game_type = \"all\", quad = \"all\", top = 0, start = NULL, end = NULL )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"year Chosen year venue Game venue ('', 'home', 'away', 'neutral', 'road'). Defaults ''. game_type Game type ('', 'nc', 'conf', 'reg', 'post', 'ncaa'). Defaults ''. quad Quad. rank game ('1', '2', '3', '4', '') quads cumulative (games <= quad selection). Defaults '', games (games Q4 \"better\"/\"lower\"). top Games Top X opponents. Defaults 0, \"\" games. start Game start date (YYYYMMDD format). end Game end date (YYYYMMDD format).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"Returns tibble four factor (!) data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"","code":"try(cbd_torvik_conf_factors(2023, start = '20230101')) #> # A tibble: 33 × 30 #> conf games wins losses adj_t adj_o adj_d barthag efg def_efg ftr #> #> 1 B12 217 112 105 68.1 114. 95.3 0.882 50.3 50 33.5 #> 2 B10 299 149 150 66 112. 97.8 0.833 50.6 50.6 28.6 #> 3 BE 220 113 107 67.6 112. 97.5 0.832 50.9 50.3 29.1 #> 4 SEC 299 148 151 67.1 111. 98.4 0.802 48.6 48.9 34.2 #> 5 P12 236 118 118 66.9 109. 97.3 0.795 49.2 48.8 29.1 #> 6 MWC 212 107 105 66.5 110. 101. 0.744 51.4 51.4 30.4 #> 7 ACC 294 147 147 67.3 111. 101. 0.734 51.5 51.4 28.5 #> 8 Amer 213 107 106 68.6 109. 100. 0.720 50.5 50.4 32.7 #> 9 WCC 168 85 83 68.4 112. 104. 0.702 53.9 53.8 33 #> 10 CUSA 231 123 108 66.7 108. 102. 0.652 51.2 50.8 30.6 #> # ℹ 23 more rows #> # ℹ 19 more variables: def_ftr , oreb_rate , dreb_rate , #> # tov_rate , def_tov_rate , two_pt_pct , three_pt_pct , #> # ft_pct , def_two_pt_pct , def_three_pt_pct , #> # def_ft_pct , three_fg_rate , def_three_fg_rate , #> # block_rate , block_rate_allowed , assist_rate , #> # def_assist_rate , wab , year "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_current_resume.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Current Tournament Resumes — cbd_torvik_current_resume","title":"Get Current Tournament Resumes — cbd_torvik_current_resume","text":"Returns tibble current NCAA Tournament resume data","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_current_resume.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Current Tournament Resumes — cbd_torvik_current_resume","text":"","code":"cbd_torvik_current_resume()"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_current_resume.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Current Tournament Resumes — cbd_torvik_current_resume","text":"Returns tibble following columns:","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_current_resume.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Current Tournament Resumes — cbd_torvik_current_resume","text":"","code":"try(cbd_torvik_current_resume()) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_box.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Game Box Stats — cbd_torvik_game_box","title":"Barttorvik Game Box Stats — cbd_torvik_game_box","text":"Pulls final game box stats 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_box.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Game Box Stats — cbd_torvik_game_box","text":"","code":"cbd_torvik_game_box(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_box.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Game Box Stats — cbd_torvik_game_box","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, date, conf, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_factors.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Game Four Factors — cbd_torvik_game_factors","title":"Barttorvik Game Four Factors — cbd_torvik_game_factors","text":"Pulls final game four factors stats 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_factors.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Game Four Factors — cbd_torvik_game_factors","text":"","code":"cbd_torvik_game_factors(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_factors.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Game Four Factors — cbd_torvik_game_factors","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, date, conf, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":null,"dir":"Reference","previous_headings":"","what":"T-Rank Game Predictions — cbd_torvik_game_prediction","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"Returns projected tempo, points per possesssion, total points scored, win percentage matchup location back 2014-15 season using Barttorvik's formulas data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"","code":"cbd_torvik_game_prediction(team, opp, date = NULL, location = \"H\")"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"team Team 1 matchup (primary team) opp Team 2 matchup (opponent) date Date game must consecutive string YYYYMMDD format (defaults current day) location Location game relative team ('H', '', 'N'), defaults 'H' (home)","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"Returns tibble game predictions.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"","code":"try(cbd_torvik_game_prediction('Duke', 'Charlotte', '20221110')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_stats.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Full Game Stats — cbd_torvik_game_stats","title":"Barttorvik Full Game Stats — cbd_torvik_game_stats","text":"Barttorvik Full Game Stats","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_stats.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Full Game Stats — cbd_torvik_game_stats","text":"","code":"cbd_torvik_game_stats(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_stats.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Full Game Stats — cbd_torvik_game_stats","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, date, conf, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":null,"dir":"Reference","previous_headings":"","what":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"Returns tibble raw adjusted NCAA tournament results team, coach, conference, seed. Data runs 2000-present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"","code":"cbd_torvik_ncaa_results(min_year, max_year, type = \"team\")"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"min_year Minimum year pull (YYYY) max_year Maximum year pull (YYYY). type Data split value, defaults team ('team', 'coach', 'conf', 'seed').","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"Returns tibble adjusted raw tournament results.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"PAKE number wins KenPom expectation.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"","code":"try(cbd_torvik_ncaa_results(min_year=2010, max_year=2015, type='conf')) #> # A tibble: 33 × 19 #> rk conf pake pase wins loss w_percent r64 r32 s16 e8 f4 #> #> 1 1 SEC 7.8 9.7 43 24 0.642 25 14 11 10 5 #> 2 2 Horz 6.4 7.5 10 6 0.625 6 2 2 2 2 #> 3 3 P12 6 8.4 29 20 0.592 20 16 10 3 0 #> 4 4 B10 5.4 7.6 63 37 0.63 37 28 18 9 6 #> 5 5 CAA 3 3.5 7 8 0.467 8 4 1 1 1 #> 6 6 ACC 2.8 1.3 51 30 0.63 32 24 14 7 2 #> 7 7 Amer 2.4 3.9 10 5 0.667 6 4 2 1 1 #> 8 8 MVC 1.7 2.5 12 9 0.571 9 7 3 1 1 #> 9 9 Ivy 1.4 1.8 4 6 0.4 6 3 1 0 0 #> 10 10 ASun 0.8 1.7 3 6 0.333 6 2 1 0 0 #> # ℹ 23 more rows #> # ℹ 7 more variables: f2 , champ , top2 , f4_percent , #> # champ_percent , min_year , max_year "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"Returns tibble similar quality resume metrics used NCAA seeding committee. Data runs 2019-present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"","code":"cbd_torvik_ncaa_sheets(year)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"year Defaults current season (YYYY).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"Returns tibble 16 columns: team character. seed double. net double. NCAA Net Ranking. kpi_resume double. KPI Kevin Pauga. resume metric. sor_resume double. Strength record. resume metric. avg_resume double. Average resume rankings (NET, KPI, SOR). bpi_quality double. BPI ESPN. quality metric. kp_quality double. KenPom ranking. quality metric. sag_quality double. Sagarin ranking. quality metrc. avg_quality double. Average quality rankings (BPI, KP, Sag). q1a character. Q1-record. q1 character. Q1 record. Home games vs. 1-30, neutral games vs. 1-50 teams, road games vs. 1-75 (NET rankings) q2 character. Q2 record. Home games vs. 31-75, neutral games vs. 51-100, road games vs. 76-135 (NET rankings) q1_2 character. Combined Q1 + Q2 record. q3 character. Q3 record. Home games vs. 76-160, neutral games vs. 101-200, road games vs. 136-240 (NET rankings) q4 character. Q4 record. Home games vs. 161-351, neutral games vs. 201-351, road games vs. 241-351 (NET rankings)","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"","code":"try(cbd_torvik_ncaa_sheets(year=2019)) #> # A tibble: 359 × 17 #> rank team seed net kpi_resume sor_resume avg_resume bpi_quality #> #> 1 1 Virginia NA 1 2 1 1.5 1 #> 2 2 Gonzaga NA 2 11 9 10 2 #> 3 3 Duke NA 3 1 2 1.5 3 #> 4 4 Houston NA 4 5 11 8 12 #> 5 5 Tennessee NA 5 10 4 7 7 #> 6 6 Kentucky NA 6 7 7 7 8 #> 7 7 North Carolina NA 7 3 3 3 5 #> 8 8 Michigan St. NA 8 6 5 5.5 4 #> 9 9 Michigan NA 9 8 6 7 6 #> 10 10 Texas Tech NA 10 12 12 12 9 #> # ℹ 349 more rows #> # ℹ 9 more variables: kp_quality , sag_quality , avg_quality , #> # quad_1a , quad_1 , quad_2 , quad_1_and_2 , #> # quad_3 , quad_4 "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_game.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Player Game Logs — cbd_torvik_player_game","title":"Barttorvik Player Game Logs — cbd_torvik_player_game","text":"Pulls final player game logs 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_game.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Player Game Logs — cbd_torvik_player_game","text":"","code":"cbd_torvik_player_game(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_game.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Player Game Logs — cbd_torvik_player_game","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, player,data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_season.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Player Season Averages — cbd_torvik_player_season","title":"Barttorvik Player Season Averages — cbd_torvik_player_season","text":"Pulls final player season averages 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_season.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Player Season Averages — cbd_torvik_player_season","text":"","code":"cbd_torvik_player_season(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_season.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Player Season Averages — cbd_torvik_player_season","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, player,data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_season.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Barttorvik Player Season Averages — cbd_torvik_player_season","text":"","code":"try(cbd_torvik_player_season(year = 2023, team = 'Duke')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_split.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Player Stat Splits — cbd_torvik_player_split","title":"Barttorvik Player Stat Splits — cbd_torvik_player_split","text":"Pulls final player season averages split 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_split.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Player Stat Splits — cbd_torvik_player_split","text":"","code":"cbd_torvik_player_split(split, ...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_split.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Player Stat Splits — cbd_torvik_player_split","text":"split data default splitting game result. want split different level, must specify. can split location, game_type, month, game_result (default). ... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, player, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_split.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Barttorvik Player Stat Splits — cbd_torvik_player_split","text":"","code":"try(cbd_torvik_player_split(year = 2023, team = 'Duke', split = 'game_result')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings.html","id":null,"dir":"Reference","previous_headings":"","what":"Year-End T-Rank Ratings — cbd_torvik_ratings","title":"Year-End T-Rank Ratings — cbd_torvik_ratings","text":"Pulls year-end T-Rank ratings adjusted efficiencies 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Year-End T-Rank Ratings — cbd_torvik_ratings","text":"","code":"cbd_torvik_ratings(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Year-End T-Rank Ratings — cbd_torvik_ratings","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter team, conf, year.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Year-End T-Rank Ratings — cbd_torvik_ratings","text":"","code":"try(cbd_torvik_ratings(year = 2023)) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings_archive.html","id":null,"dir":"Reference","previous_headings":"","what":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","title":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","text":"Historical T-Rank ratings + rankings 2015-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings_archive.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","text":"","code":"cbd_torvik_ratings_archive(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings_archive.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter team, conf, year, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings_archive.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","text":"","code":"try(cbd_torvik_ratings_archive(year = 2023, conf = 'ACC')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Selection Sunday Resumes — cbd_torvik_resume_database","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"Returns tibble various resume-based metrics Selection Sunday. Data runs 2008-present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"","code":"cbd_torvik_resume_database( n = 500, min_year = 2008, max_year = 2024, min_net = NULL, max_net = NULL, conf_group = NULL )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"n Number teams return (defaults 500). min_year Minimum year pull (YYYY). max_year Maximum year pull (YYYY). min_net Minimum NET filter. max_net Maximum NET filter. conf_group Filter conference conference groups (accepts conference abbreviation, 'NCAA', 'Himajor', 'mid').","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"Returns tibble resume-based metrics.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"","code":"try(cbd_torvik_resume_database(min_net = 1, max_net = 5)) #> # A tibble: 83 × 15 #> team year net resume wab elo power q1_w q2_w q3q4_l games_above_500 #> #> 1 Kans… 2015 3 1 7 12 12 12 18 0 18 #> 2 Kans… 2010 1 1 1 1 1 12 16 0 30 #> 3 Kans… 2013 5 1 5 4 6 13 15 1 24 #> 4 Virg… 2018 1 1 1 1 1.7 12 19 0 29 #> 5 Mich… 2012 3 1 4 5 3 11 14 0 20 #> 6 Duke 2019 3 1 1 2 2.3 11 17 0 24 #> 7 Kans… 2016 1 1 1 1 1 15 20 1 25 #> 8 Kans… 2014 3 1 11 18 5 12 17 0 15 #> 9 UCLA 2008 4 1 2 2 2 11 20 1 27 #> 10 Illi… 2021 3 1 1 2 3.3 12 17 0 17 #> # ℹ 73 more rows #> # ℹ 4 more variables: score , seed , type , rd "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":null,"dir":"Reference","previous_headings":"","what":"T-Rank Season Predictions — cbd_torvik_season_prediction","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"Returns projected tempo, points per possesssion, total points scored, win percentage team schedyle location back 2014-15 season using Barttorvik's formulas data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"","code":"cbd_torvik_season_prediction( team, year, date = NULL, include_postseason = FALSE )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"team Team predict . year Year run prediction . date Date game must consecutive string YYYYMMDD format (defaults current day). include_postseason boolean representing whether conference tournament postseason games included simulation (defaults FALSE).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"Returns tibble game predictions.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"","code":"try(cbd_torvik_season_prediction('Duke', 2023, '20230101')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_schedule.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Season Schedules — cbd_torvik_season_schedule","title":"Barttorvik Season Schedules — cbd_torvik_season_schedule","text":"Pulls season schedules Barttorvik","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_schedule.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Season Schedules — cbd_torvik_season_schedule","text":"","code":"cbd_torvik_season_schedule(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_schedule.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Season Schedules — cbd_torvik_season_schedule","text":"... OPTIONAL. load complete data set, pass arguments function.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_schedule.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Barttorvik Season Schedules — cbd_torvik_season_schedule","text":"","code":"try(cbd_torvik_season_schedule(year = 2023)) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":null,"dir":"Reference","previous_headings":"","what":"T-Rank Season Simulation — cbd_torvik_season_simulation","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"Run simulation determine many games team projected win using schedule given date season.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"","code":"cbd_torvik_season_simulation( team, year, simulations = 10000, date = NULL, include_postseason = FALSE )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"team Team predict . year Year run prediction . simulations integer representing many sims. run (defaults 10,000). date Date game must consecutive string YYYYMMDD format (defaults current day). include_postseason boolean representing whether conference tournament postseason games included simulation (defaults FALSE).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"Returns tibble simulation results.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"","code":"try(cbd_torvik_season_simulation('Duke', 2023, date = '20230101')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":null,"dir":"Reference","previous_headings":"","what":"Similar Team Resumes — cbd_torvik_similar_resumes","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"Find teams share similar pre-tournament resumes (2008-present).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"","code":"cbd_torvik_similar_resumes( team, year, conf_limit = \"All\", at_large_only = FALSE, current_resume = FALSE, net_weight = 1, resume_weight = 1, wab_weight = 1, elo_weight = 1, power_weight = 1 )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"team Chosen team year Chosen year at_large_only Boolean filter -large teams (defaults FALSE). current_resume Boolean filter whether use projected resume current resume (defaults projected resume; FALSE). net_weight Weight assign NET ranking (defaults 1). resume_weight Weight assign resume (defaults 1). wab_weight Weight assign 'Wins Bubble' (WAB) (defaults 1). elo_weight Weight assign ELO (defaults 1). power_weight Weight assign power rating (defaults 1). conf_group Filter conference conference groups (accepts conference abbreviation, 'NCAA', 'Himajor', 'mid').","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"Returns tibble pre-tournament resumes","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"","code":"try(cbd_torvik_similar_resumes('Duke', 2023)) #> Error in ifelse(at_large_only = TRUE, 1, 0) : #> unused argument (at_large_only = TRUE)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":null,"dir":"Reference","previous_headings":"","what":"Four Factor Team Splits — cbd_torvik_team_factors","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"Split team-wide four factor data number variables.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"","code":"cbd_torvik_team_factors( year = NULL, venue = \"all\", game_type = \"all\", quad = \"4\", top = 0, start = NULL, end = NULL, no_bias = FALSE )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"year Chosen year venue Game venue ('', 'home', 'away', 'neutral', 'road'). Defaults ''. game_type Game type ('', 'nc', 'conf', 'reg', 'post', 'ncaa'). Defaults ''. quad Quad. rank game ('1', '2', '3', '4', '') quads cumulative (games <= quad selection). Defaults '', games (games Q4 \"better\"/\"lower\"). top Games Top X opponents. Defaults 0, \"\" games. start Game start date (YYYYMMDD format). end Game end date (YYYYMMDD format). no_bias Logical. TRUE display T-Rank ratings preseason bias/weight.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"Returns tibble four factor (!) data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"","code":"try(cbd_torvik_team_factors(2023, start = '20230101')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":null,"dir":"Reference","previous_headings":"","what":"Four Factor Team Histories — cbd_torvik_team_history","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"Returns tibble four factor team ","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"","code":"cbd_torvik_team_history(team)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"team team","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"Returns tibble four factor history.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"","code":"try(cbd_torvik_team_history(team = 'Duke')) #> # A tibble: 17 × 23 #> year t_rk coach seed finish conf ov_rec conf_rec adj_o adj_d efg_o efg_d #> #> 1 2024 19 Jon S… NA NA ACC 10-3 1-1 119. 97.9 56.1 49.2 #> 2 2023 15 Jon S… 5 R32 ACC 27-9 14-6 113. 92.9 51.1 46.0 #> 3 2022 6 Mike … 2 Final… ACC 32-7 16-4 123. 96.1 55.6 47.1 #> 4 2021 32 Mike … NA NA ACC 13-11 9-9 115. 97.2 53.6 51.3 #> 5 2020 6 Mike … 3 NA ACC 25-6 15-5 115. 91.9 52.6 45.7 #> 6 2019 5 Mike … 1 Elite… ACC 32-6 14-4 120. 90.5 53.7 45.1 #> 7 2018 3 Mike … 2 Elite… ACC 29-8 13-5 123. 93.4 55.9 46.4 #> 8 2017 10 Mike … 2 R32 ACC 28-9 11-7 123. 96.5 54.8 47.4 #> 9 2016 19 Mike … 4 Sweet… ACC 25-11 11-7 122. 100. 53.7 49.5 #> 10 2015 2 Mike … 1 CHAMPS ACC 35-4 15-3 127. 92.8 56.6 46.6 #> 11 2014 6 Mike … 3 R64 ACC 26-9 13-5 126. 99.5 53.8 49.3 #> 12 2013 8 Mike … 2 Elite… ACC 30-6 14-4 120. 93.0 53.9 45.6 #> 13 2012 18 Mike … 2 R64 ACC 27-7 13-3 117. 97.0 52.8 47.2 #> 14 2011 3 Mike … 1 Sweet… ACC 32-5 13-3 121. 91.6 53.7 44.5 #> 15 2010 1 Mike … 1 CHAMPS ACC 35-5 13-3 122. 89.2 50.6 43.8 #> 16 2009 12 Mike … 2 Sweet… ACC 30-7 11-5 118. 93.3 50.5 47.8 #> 17 2008 7 Mike … 2 R32 ACC 28-6 13-3 116. 89.9 53.6 47.7 #> # ℹ 11 more variables: to_percent , tod_percent , or_percent , #> # dr_percent , ftr , ftrd , ft_percent , two_pct , #> # two_pct_d , three_pct , adj_t "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_split.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Team Stat Splits — cbd_torvik_team_split","title":"Barttorvik Team Stat Splits — cbd_torvik_team_split","text":"Pulls final team season averages split 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_split.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Team Stat Splits — cbd_torvik_team_split","text":"","code":"cbd_torvik_team_split(split, ...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_split.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Team Stat Splits — cbd_torvik_team_split","text":"split data default splitting game result. want split different level, must specify. can split location, game_type, month, game_result. ... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, conf, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_split.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Barttorvik Team Stat Splits — cbd_torvik_team_split","text":"","code":"try(cbd_torvik_team_split(year = 2023, split = 'month')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/gt_theme_athletic.html","id":null,"dir":"Reference","previous_headings":"","what":"The Athletic gt Table Theme — gt_theme_athletic","title":"The Athletic gt Table Theme — gt_theme_athletic","text":"theme styling gt tables similar Athletic.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/gt_theme_athletic.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The Athletic gt Table Theme — gt_theme_athletic","text":"","code":"gt_theme_athletic(gt_object, ...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/gt_theme_athletic.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"The Athletic gt Table Theme — gt_theme_athletic","text":"gt_object existing gt table object class gt_tbl ... Optional additional arguments gt::table_options()","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/gt_theme_athletic.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"The Athletic gt Table Theme — gt_theme_athletic","text":"Returns data appended HTML column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/gt_theme_athletic.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"The Athletic gt Table Theme — gt_theme_athletic","text":"","code":"if (FALSE) try(mtcars %>% head() %>% gt::gt() %>% cbbdata::gt_theme_athletic())"},{"path":"https://andreweatherman.github.io/cbbdata/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://andreweatherman.github.io/cbbdata/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/news/index.html","id":"cbbdata-010","dir":"Changelog","previous_headings":"","what":"cbbdata 0.1.0","title":"cbbdata 0.1.0","text":"Beta release; formally “announced” package via Twitter.","code":""}] +[{"path":"https://andreweatherman.github.io/cbbdata/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2023 Andrew Weatherman Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"hi-im-andrew","dir":"Articles","previous_headings":"","what":"Hi, I’m Andrew!","title":"Introducing The CBBData API","text":"Hello ! ’m Andrew Weatherman, avid open-source R developer die-hard college basketball enthusiast. journey R began COVID, entirely self-taught. 2022, ventured realm “real coding” developed toRvik package, tool accessing college basketball data. first major project , despite success, presented fair share challenges maintenance. May 2023, embarked new project: cbbdata. Flask-based API designed deliver comprehensive, --date college basketball statistics faster efficiently predecessor, toRvik. cbbdata significant undertaking, ’m excited finally share community. bit joining Twitter: graduated Duke University 2023. time , student manager men’s basketball program, coinciding Coach K’s final run Jon Scheyer’s first season. Currently, ’m pursuing degree Mathematics University North Carolina Charlotte, expected graduation date May 2024. Post-graduation, plans either continue education master’s data science jump straight workforce.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"what-is-cbbdata","dir":"Articles","previous_headings":"","what":"What is cbbdata?","title":"Introducing The CBBData API","text":"cbbdata R package designed anyone passionate college basketball statistics. simplifies process accessing analyzing wealth college basketball data, making efficient user-friendly ever .","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"key-features-of-cbbdata","dir":"Articles","previous_headings":"","what":"Key Features of cbbdata","title":"Introducing The CBBData API","text":"cbbdata ships 26 functions, lot love package. brief highlights: Comprehensive Game--Game Logs: Access detailed box scores advanced metrics players teams dating back 2008 (cbd_torvik_player_game() cbd_torvik_game_box()/ cbd_torvik_factors()). can find per-game player team splits month, location, result, game type factors (cbd_torvik_player()/cbd_torvik_team_split()). Daily Updated NET Rankings: Find latest NET rankings every morning (cbd_torvik_current_resume()). Game Predictions Barttorvik: Simulate matchup, real otherwise, using game prediction feature, powered Barttorvik (cbd_torvik_game_prediction()). ’s perfect pre-game analyses hypothetical scenario discussions. Plot team logos gt: Okay, sure, one isn’t data-focused, ’s perhaps favorite function. Rebuild team column logo team name render gt table. Gone days awkwardly separate columns logo team name (cbd_gt_logos()). Just like !","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"why-cbbdata","dir":"Articles","previous_headings":"","what":"Why cbbdata?","title":"Introducing The CBBData API","text":"cbbdata designed end-user mind. ’s built ground powerful, yet intuitive toRvik. package aims address limitations toRvik introducing new features capabilities. Importantly, say goodbye loops! cbbdata, can access full data files passing arguments functions. Otherwise, can filter year, team, conference, etc.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"a-note-on-documentation","dir":"Articles","previous_headings":"","what":"A Note on Documentation","title":"Introducing The CBBData API","text":"aware documentation still work progress. developer passionate project, wanted release cbbdata community soon possible. Continuous improvements updates documentation made. release marks just beginning. committed regular updates improvements cbbdata, based community feedback evolving needs.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"get-started-with-cbbdata","dir":"Articles","previous_headings":"","what":"Get Started with cbbdata","title":"Introducing The CBBData API","text":"cbbdata now available use! Start signing free API key, ’ll way exploring depths college basketball statistics.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"install","dir":"Articles","previous_headings":"Get Started with cbbdata","what":"Install","title":"Introducing The CBBData API","text":"","code":"# install.packages(\"devtools\") devtools::install_github(\"andreweatherman/cbbdata\")"},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"registering","dir":"Articles","previous_headings":"Get Started with cbbdata","what":"Registering","title":"Introducing The CBBData API","text":"","code":"cbbdata::cbd_create_account(username, email, password, confirm_password)"},{"path":"https://andreweatherman.github.io/cbbdata/articles/release.html","id":"your-feedback-matters","dir":"Articles","previous_headings":"","what":"Your Feedback Matters","title":"Introducing The CBBData API","text":"toRvik, feedback invaluable shaping cbbdata. encourage share experiences, suggestions, questions. can find Twitter.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Andrew Weatherman. Author, maintainer.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Weatherman (2024). cbbdata: API College Basketball Data. R package version 0.1.0, https://cbbdata.aweatherman.com/.","code":"@Manual{, title = {cbbdata: API for College Basketball Data}, author = {Andrew Weatherman}, year = {2024}, note = {R package version 0.1.0}, url = {https://cbbdata.aweatherman.com/}, }"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"welcome-to-cbbdata-your-gateway-to-in-depth-college-basketball-insights","dir":"","previous_headings":"","what":"CBBData R Package","title":"CBBData R Package","text":"vast arena college basketball data, finding comprehensive, easily accessible, --date statistics can daunting task. cbbdata emerges reliable partner quest, offering unparalleled depth college basketball insights, just line code away. Unmatched Access, Uncomplicated Process: cbbdata key unlocking treasure trove college basketball statistics. Say goodbye hurdles data scraping. package designed efficiency simplicity, providing straightforward pathway data need. Powered Precision Speed: heart cbbdata lies robust architecture, powered Flask Python. Leveraging SQL queries direct file transfers, ensure receive accurate recent data. commitment speed reliability means get data need, need , without wait. Diverse Data Fingertips: Whether ’re looking detailed player stats, team analytics, game outcomes, advanced metrics, cbbdata . comprehensive database constantly evolving, bringing latest detailed insights college basketball world. Getting Started Easy: Begin journey cbbdata signing free API key. key, world college basketball data awaits . Experience ease power cbbdata elevate analysis next level.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"CBBData R Package","text":"can install development version cbbdata GitHub :","code":"# install.packages(\"devtools\") devtools::install_github(\"andreweatherman/cbbdata\")"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"registering-for-an-api-key","dir":"","previous_headings":"","what":"Registering for an API key","title":"CBBData R Package","text":"API key free easy obtain using official cbbdata R package. register, simply pass username password cbd_create_account endpoint. API key emailed – make sure check spam folder – need manually store API key anywhere. preferred way access account username password. Note: want access KenPom data, CBBData account email must match KenPom account email","code":"# to register cbbdata::cbd_create_account(username = 'xxx', email = 'xxx', password = 'xxx', confirm_password = 'xxx')"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"obtaining-your-key","dir":"","previous_headings":"","what":"Obtaining Your Key","title":"CBBData R Package","text":"registering, two ways obtain key using cbbdata R package.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"by-session-log-in","dir":"","previous_headings":"Obtaining Your Key","what":"By-Session Log-In:","title":"CBBData R Package","text":"obtain key use current R session, can pass username password cbd_login function. retrieve key store session variable. restart leave R session, need log-.","code":"# per-session log-in cbbdata::cbd_login(username = 'xxx', password = 'xxx')"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"persistent-log-in-preferred","dir":"","previous_headings":"Obtaining Your Key","what":"Persistent Log-In (Preferred):","title":"CBBData R Package","text":"recommended way interact CBBData API store username (CBD_USER) password (CBD_PW) inside .Renviron file. unsure , cbd_login function walk process. Please note require restarting R session. API key stored session variable, cbbdata functions grab credentials .Renviron file automatically log . method, log-.","code":"# persistent log-in cbbdata::cbd_login()"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"available-data","dir":"","previous_headings":"","what":"Available Data","title":"CBBData R Package","text":"cbbdata provides broad access leading college basketball resources. cbbdata continuously growing available data includes:","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"barttorvik","dir":"","previous_headings":"Available Data","what":"Barttorvik:","title":"CBBData R Package","text":"Developer Andrew Weatherman wrote popular toRvik R package. cbbdata replaces toRvik brings rich collection Barttorvik data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"metric-ratings","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Metric Ratings:","title":"CBBData R Package","text":"Year-end ratings (cbd_torvik_ratings) Day--day ratings (cbd_torvik_ratings_archive) Team four factor splits (cbd_torvik_team_factors) E.g., want see -bias T-Rank top 10 looks like:","code":"cbbdata::cbd_torvik_team_factors(year = 2024, no_bias = TRUE) %>% dplyr::slice(1:10) %>% dplyr::select(team, barthag, adj_o, adj_d) #> # A tibble: 10 × 4 #> team barthag adj_o adj_d #> #> 1 Houston 0.983 116. 81.2 #> 2 Purdue 0.972 124. 91.0 #> 3 Arizona 0.971 119. 87.7 #> 4 Connecticut 0.963 125. 93.9 #> 5 BYU 0.956 118. 90.1 #> 6 Oklahoma 0.948 114. 88.8 #> 7 Auburn 0.947 119. 93.0 #> 8 Iowa St. 0.946 116. 90.1 #> 9 Alabama 0.940 129. 102. #> 10 Marquette 0.933 118. 93.8"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"player-data","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Player Data:","title":"CBBData R Package","text":"Individual game logs (cbd_torvik_player_game) Season averages (cbd_torvik_player_season) Season splits (cbd_torvik_player_split) E.g., want see ACC player averages points home:","code":"cbbdata::cbd_torvik_player_split(year = 2024, conf = 'ACC', split = 'location') %>% dplyr::filter(games >= 3) %>% dplyr::slice_max(pts, n = 1) %>% dplyr::select(team, player, pts, games) #> team player pts games #> 1: Syracuse Judah Mintz 26 5"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"team--conference-data","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Team + Conference Data:","title":"CBBData R Package","text":"Team stats splits (cbd_torvik_team_split) Team histories (cbd_torvik_team_history) Conference four factor splits (cbd_torvik_conf_factors) E.g., want see conferences shoot best home top 100 teams:","code":"cbbdata::cbd_torvik_conf_factors(2024, venue = 'home', top = 100) %>% dplyr::filter(games >= 5) %>% dplyr::slice_max(efg, n = 5) %>% dplyr::select(conf, games, efg) #> # A tibble: 5 × 3 #> conf games efg #> #> 1 P12 6 55.5 #> 2 SEC 13 51.1 #> 3 BE 14 50.7 #> 4 ACC 12 50.4 #> 5 Amer 5 49.5"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"game-data","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Game Data:","title":"CBBData R Package","text":"Individual game box (cbd_torvik_game_box) Individual game four factors (cbd_torvik_game_factors) Individual game stats (box + factors) (cbd_torvik_game_stats) Season schedule (cbd_torvik_season_schedule) E.g., want track Duke’s offense performed season:","code":"cbbdata::cbd_torvik_game_factors(year = 2024, team = 'Duke') %>% ggplot2::ggplot(aes(date, adj_o)) + ggplot2::geom_line() + ggplot2::geom_point(aes(color = result), size = 3) + ggplot2::scale_color_manual(values = c('darkred', 'darkgreen'), guide = NULL) + ggplot2::theme_minimal()"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"predictions","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Predictions","title":"CBBData R Package","text":"Individual game predictions (cbd_torvik_game_prediction) Team season predictions (cbd_torvik_season_prediction) Team season simulations (cbd_torvik_season_simulation) E.g., want run 10,000 simulations Duke’s season performance today:","code":"# no date -> defaults to today cbbdata::cbd_torvik_season_simulation('Duke', 2024) %>% ggplot2::ggplot(aes(wins, probability)) + ggplot2::geom_col() + ggplot2::scale_y_continuous(labels = scales::label_percent())"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"tournament-results--resumes","dir":"","previous_headings":"Available Data > Barttorvik:","what":"Tournament Results + Resumes","title":"CBBData R Package","text":"Daily NET rankings quadrant records (cbd_torvik_current_resume) Tournament performance (cbd_torvik_ncaa_results) Tournament “committee sheets” (cbd_torvik_ncaa_sheets) Resume database (cbd_torvik_resume_database) Similar team tournament resumes (cbd_torvik_similar_resumes) E.g., want pull five teams Q1 NET wins:","code":"cbbdata::cbd_torvik_current_resume() %>% dplyr::mutate(q1_wins = readr::parse_number(quad1)) %>% dplyr::slice_max(q1_wins, n = 5) %>% dplyr::select(team, conf, q1_wins, net) #> # A tibble: 7 × 4 #> team conf q1_wins net #> #> 1 Purdue B10 5 3 #> 2 Houston B12 4 1 #> 3 Arizona P12 3 2 #> 4 Kansas B12 3 13 #> 5 Clemson ACC 3 15 #> 6 Wisconsin B10 3 17 #> 7 Texas A&M SEC 3 22"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"kenpom","dir":"","previous_headings":"Available Data","what":"KenPom","title":"CBBData R Package","text":"access KenPom data, must active KenPom subscription CBBData account email must match KenPom account email; exists curb account sharing. activate account, pass KenPom account password cbd_kenpom_authorization function. CBBData API confirm account active log expiration date. asked re-authorize date.","code":"# persistent log-in cbbdata::cbd_kenpom_authorization(password = 'xxx')"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"metric-ratings-1","dir":"","previous_headings":"Available Data > KenPom","what":"Metric Ratings:","title":"CBBData R Package","text":"Year-end ratings (cbd_kenpom_ratings) Day--day ratings (cbd_kenpom_ratings_archive)","code":""},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"other","dir":"","previous_headings":"Available Data","what":"Other","title":"CBBData R Package","text":"cbbdata ships gt_theme_athletic theme gt tables. theme perfect stat-focused tables, giving classic, monospaced feel. Also included cbbdata helper function plotting team logos gt. Simply pass dataframe team names, specify ‘team’ logo resides, name new column (using name ‘team’ column replace column – perfect gt).","code":"cbbdata::cbd_torvik_ratings(year=2024) %>% dplyr::slice(1:5) %>% dplyr::select(team, conf, barthag, adj_o, adj_d) %>% gt::gt() %>% cbbdata::gt_theme_athletic() cbbdata::cbd_torvik_ratings(year=2024) %>% dplyr::slice(1:5) %>% dplyr::select(team, conf, barthag, adj_o, adj_d) %>% cbbdata::cbd_gt_logos(team, team) %>% gt::gt() %>% cbbdata::gt_theme_athletic() %>% gt::fmt_markdown(team) %>% gt::cols_align(columns = team, 'left')"},{"path":"https://andreweatherman.github.io/cbbdata/index.html","id":"support","dir":"","previous_headings":"","what":"Support","title":"CBBData R Package","text":"CBBData API free use hosting ! find resource helpful, please kindly consider supporting project Ko-fi.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbbdata-package.html","id":null,"dir":"Reference","previous_headings":"","what":"cbbdata: API for College Basketball Data — cbbdata-package","title":"cbbdata: API for College Basketball Data — cbbdata-package","text":"Provides direct access clean tidy college basketball data using CBBData API.","code":""},{"path":[]},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbbdata-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"cbbdata: API for College Basketball Data — cbbdata-package","text":"Maintainer: Andrew Weatherman andrew@aweatherman.com","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_add_net_quad.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Net Rankings and Quadrants to Data — cbd_add_net_quad","title":"Add Net Rankings and Quadrants to Data — cbd_add_net_quad","text":"utility function adding current NET rankings quadrant boundaries data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_add_net_quad.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Net Rankings and Quadrants to Data — cbd_add_net_quad","text":"","code":"cbd_add_net_quad( df, net_team_col = opp, net_col = net, location_col = location, add_net = TRUE )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_add_net_quad.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Net Rankings and Quadrants to Data — cbd_add_net_quad","text":"df Data frame alter net_team_col column team names used match current NET rankings net_col name NET column (name call new NET column) location_col name game location column add_net NET rankings first added data? Set FALSE already NET rankings reference column name net_col. Defaults TRUE.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_create_account.html","id":null,"dir":"Reference","previous_headings":"","what":"Register for a CBBData Account — cbd_create_account","title":"Register for a CBBData Account — cbd_create_account","text":"Allows user create CBBData API account retrieve API key","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_create_account.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Register for a CBBData Account — cbd_create_account","text":"","code":"cbd_create_account(username, email, password, confirm_password)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_create_account.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Register for a CBBData Account — cbd_create_account","text":"username Username email Email password Password confirm_password Re-enter password","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_authorization.html","id":null,"dir":"Reference","previous_headings":"","what":"Authorize your account with KenPom — cbd_kenpom_authorization","title":"Authorize your account with KenPom — cbd_kenpom_authorization","text":"Grants user access KenPom endpoints active KenPom account.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_authorization.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Authorize your account with KenPom — cbd_kenpom_authorization","text":"","code":"cbd_kenpom_authorization(password)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_authorization.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Authorize your account with KenPom — cbd_kenpom_authorization","text":"password KenPom password, CBBData password.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_authorization.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Authorize your account with KenPom — cbd_kenpom_authorization","text":"CBBData account email must match KenPom email. Pass KenPom password. asked reauthorize KenPom account expiration date.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":null,"dir":"Reference","previous_headings":"","what":"Year-End KenPom Ratings — cbd_kenpom_ratings","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"Pulls year-end KenPom ratings adjusted efficiencies 2001-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"","code":"cbd_kenpom_ratings(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter team, conf, year, data column. |","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"Requires KenPom authorization. can authorize cbd_kenpom_authorization.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Year-End KenPom Ratings — cbd_kenpom_ratings","text":"","code":"try(cbd_kenpom_ratings(year = 2023)) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":null,"dir":"Reference","previous_headings":"","what":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"Historical KenPom ratings + rankings 2012-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"","code":"cbd_kenpom_ratings_archive(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter team, conf, year, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"Requires KenPom authorization. can authorize cbd_kenpom_authorization.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_ratings_archive.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Day-to-day KenPom Ratings — cbd_kenpom_ratings_archive","text":"","code":"try(cbd_kenpom_ratings_archive(year = 2023)) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_login.html","id":null,"dir":"Reference","previous_headings":"","what":"Log-In to CBBData API — cbd_login","title":"Log-In to CBBData API — cbd_login","text":"Retrieves user's CBBData API key.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_login.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Log-In to CBBData API — cbd_login","text":"","code":"cbd_login(username = Sys.getenv(\"CBD_USER\"), password = Sys.getenv(\"CBD_PW\"))"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_login.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Log-In to CBBData API — cbd_login","text":"username Username password Password","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_login.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Log-In to CBBData API — cbd_login","text":"unsure edit .Renviron file, pass arguments function; walk process create persistent log-. Else, pass username password function log-current session .","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_teams.html","id":null,"dir":"Reference","previous_headings":"","what":"CBBData Team Database — cbd_teams","title":"CBBData Team Database — cbd_teams","text":"Pulls team matching dictionary + logos, colors, wordmarks.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_teams.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"CBBData Team Database — cbd_teams","text":"","code":"cbd_teams(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_teams.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"CBBData Team Database — cbd_teams","text":"... OPTIONAL. load complete data set, pass arguments function.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_teams.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"CBBData Team Database — cbd_teams","text":"","code":"try(cbd_teams()) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":null,"dir":"Reference","previous_headings":"","what":"Four Factor Conference Splits — cbd_torvik_conf_factors","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"Split conference-wide four factor data number variables.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"","code":"cbd_torvik_conf_factors( year, venue = \"all\", game_type = \"all\", quad = \"all\", top = 0, start = NULL, end = NULL )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"year Chosen year venue Game venue ('', 'home', 'away', 'neutral', 'road'). Defaults ''. game_type Game type ('', 'nc', 'conf', 'reg', 'post', 'ncaa'). Defaults ''. quad Quad. rank game ('1', '2', '3', '4', '') quads cumulative (games <= quad selection). Defaults '', games (games Q4 \"better\"/\"lower\"). top Games Top X opponents. Defaults 0, \"\" games. start Game start date (YYYYMMDD format). end Game end date (YYYYMMDD format).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"Returns tibble four factor (!) data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_conf_factors.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Four Factor Conference Splits — cbd_torvik_conf_factors","text":"","code":"try(cbd_torvik_conf_factors(2023, start = '20230101')) #> # A tibble: 33 × 30 #> conf games wins losses adj_t adj_o adj_d barthag efg def_efg ftr #> #> 1 B12 217 112 105 68.1 114. 95.3 0.882 50.3 50 33.5 #> 2 B10 299 149 150 66 112. 97.8 0.833 50.6 50.6 28.6 #> 3 BE 220 113 107 67.6 112. 97.5 0.832 50.9 50.3 29.1 #> 4 SEC 299 148 151 67.1 111. 98.4 0.802 48.6 48.9 34.2 #> 5 P12 236 118 118 66.9 109. 97.3 0.795 49.2 48.8 29.1 #> 6 MWC 212 107 105 66.5 110. 101. 0.744 51.4 51.4 30.4 #> 7 ACC 294 147 147 67.3 111. 101. 0.734 51.5 51.4 28.5 #> 8 Amer 213 107 106 68.6 109. 100. 0.720 50.5 50.4 32.7 #> 9 WCC 168 85 83 68.4 112. 104. 0.702 53.9 53.8 33 #> 10 CUSA 231 123 108 66.7 108. 102. 0.652 51.2 50.8 30.6 #> # ℹ 23 more rows #> # ℹ 19 more variables: def_ftr , oreb_rate , dreb_rate , #> # tov_rate , def_tov_rate , two_pt_pct , three_pt_pct , #> # ft_pct , def_two_pt_pct , def_three_pt_pct , #> # def_ft_pct , three_fg_rate , def_three_fg_rate , #> # block_rate , block_rate_allowed , assist_rate , #> # def_assist_rate , wab , year "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_current_resume.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Current Tournament Resumes — cbd_torvik_current_resume","title":"Get Current Tournament Resumes — cbd_torvik_current_resume","text":"Returns tibble current NCAA Tournament resume data","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_current_resume.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Current Tournament Resumes — cbd_torvik_current_resume","text":"","code":"cbd_torvik_current_resume()"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_current_resume.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Current Tournament Resumes — cbd_torvik_current_resume","text":"Returns tibble following columns:","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_current_resume.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Current Tournament Resumes — cbd_torvik_current_resume","text":"","code":"try(cbd_torvik_current_resume()) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_box.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Game Box Stats — cbd_torvik_game_box","title":"Barttorvik Game Box Stats — cbd_torvik_game_box","text":"Pulls final game box stats 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_box.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Game Box Stats — cbd_torvik_game_box","text":"","code":"cbd_torvik_game_box(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_box.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Game Box Stats — cbd_torvik_game_box","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, date, conf, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_factors.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Game Four Factors — cbd_torvik_game_factors","title":"Barttorvik Game Four Factors — cbd_torvik_game_factors","text":"Pulls final game four factors stats 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_factors.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Game Four Factors — cbd_torvik_game_factors","text":"","code":"cbd_torvik_game_factors(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_factors.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Game Four Factors — cbd_torvik_game_factors","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, date, conf, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":null,"dir":"Reference","previous_headings":"","what":"T-Rank Game Predictions — cbd_torvik_game_prediction","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"Returns projected tempo, points per possesssion, total points scored, win percentage matchup location back 2014-15 season using Barttorvik's formulas data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"","code":"cbd_torvik_game_prediction(team, opp, date = NULL, location = \"H\")"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"team Team 1 matchup (primary team) opp Team 2 matchup (opponent) date Date game must consecutive string YYYYMMDD format (defaults current day) location Location game relative team ('H', '', 'N'), defaults 'H' (home)","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"Returns tibble game predictions.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_prediction.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"T-Rank Game Predictions — cbd_torvik_game_prediction","text":"","code":"try(cbd_torvik_game_prediction('Duke', 'Charlotte', '20221110')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_stats.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Full Game Stats — cbd_torvik_game_stats","title":"Barttorvik Full Game Stats — cbd_torvik_game_stats","text":"Barttorvik Full Game Stats","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_stats.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Full Game Stats — cbd_torvik_game_stats","text":"","code":"cbd_torvik_game_stats(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_game_stats.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Full Game Stats — cbd_torvik_game_stats","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, date, conf, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":null,"dir":"Reference","previous_headings":"","what":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"Returns tibble raw adjusted NCAA tournament results team, coach, conference, seed. Data runs 2000-present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"","code":"cbd_torvik_ncaa_results(min_year, max_year, type = \"team\")"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"min_year Minimum year pull (YYYY) max_year Maximum year pull (YYYY). type Data split value, defaults team ('team', 'coach', 'conf', 'seed').","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"Returns tibble adjusted raw tournament results.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"PAKE number wins KenPom expectation.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_results.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get NCAA Tournament Results — cbd_torvik_ncaa_results","text":"","code":"try(cbd_torvik_ncaa_results(min_year=2010, max_year=2015, type='conf')) #> # A tibble: 33 × 19 #> rk conf pake pase wins loss w_percent r64 r32 s16 e8 f4 #> #> 1 1 SEC 7.8 9.7 43 24 0.642 25 14 11 10 5 #> 2 2 Horz 6.4 7.5 10 6 0.625 6 2 2 2 2 #> 3 3 P12 6 8.4 29 20 0.592 20 16 10 3 0 #> 4 4 B10 5.4 7.6 63 37 0.63 37 28 18 9 6 #> 5 5 CAA 3 3.5 7 8 0.467 8 4 1 1 1 #> 6 6 ACC 2.8 1.3 51 30 0.63 32 24 14 7 2 #> 7 7 Amer 2.4 3.9 10 5 0.667 6 4 2 1 1 #> 8 8 MVC 1.7 2.5 12 9 0.571 9 7 3 1 1 #> 9 9 Ivy 1.4 1.8 4 6 0.4 6 3 1 0 0 #> 10 10 ASun 0.8 1.7 3 6 0.333 6 2 1 0 0 #> # ℹ 23 more rows #> # ℹ 7 more variables: f2 , champ , top2 , f4_percent , #> # champ_percent , min_year , max_year "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"Returns tibble similar quality resume metrics used NCAA seeding committee. Data runs 2019-present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"","code":"cbd_torvik_ncaa_sheets(year)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"year Defaults current season (YYYY).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"Returns tibble 16 columns: team character. seed double. net double. NCAA Net Ranking. kpi_resume double. KPI Kevin Pauga. resume metric. sor_resume double. Strength record. resume metric. avg_resume double. Average resume rankings (NET, KPI, SOR). bpi_quality double. BPI ESPN. quality metric. kp_quality double. KenPom ranking. quality metric. sag_quality double. Sagarin ranking. quality metrc. avg_quality double. Average quality rankings (BPI, KP, Sag). q1a character. Q1-record. q1 character. Q1 record. Home games vs. 1-30, neutral games vs. 1-50 teams, road games vs. 1-75 (NET rankings) q2 character. Q2 record. Home games vs. 31-75, neutral games vs. 51-100, road games vs. 76-135 (NET rankings) q1_2 character. Combined Q1 + Q2 record. q3 character. Q3 record. Home games vs. 76-160, neutral games vs. 101-200, road games vs. 136-240 (NET rankings) q4 character. Q4 record. Home games vs. 161-351, neutral games vs. 201-351, road games vs. 241-351 (NET rankings)","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ncaa_sheets.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Committee Tournament Sheets — cbd_torvik_ncaa_sheets","text":"","code":"try(cbd_torvik_ncaa_sheets(year=2019)) #> # A tibble: 359 × 17 #> rank team seed net kpi_resume sor_resume avg_resume bpi_quality #> #> 1 1 Virginia NA 1 2 1 1.5 1 #> 2 2 Gonzaga NA 2 11 9 10 2 #> 3 3 Duke NA 3 1 2 1.5 3 #> 4 4 Houston NA 4 5 11 8 12 #> 5 5 Tennessee NA 5 10 4 7 7 #> 6 6 Kentucky NA 6 7 7 7 8 #> 7 7 North Carolina NA 7 3 3 3 5 #> 8 8 Michigan St. NA 8 6 5 5.5 4 #> 9 9 Michigan NA 9 8 6 7 6 #> 10 10 Texas Tech NA 10 12 12 12 9 #> # ℹ 349 more rows #> # ℹ 9 more variables: kp_quality , sag_quality , avg_quality , #> # quad_1a , quad_1 , quad_2 , quad_1_and_2 , #> # quad_3 , quad_4 "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_game.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Player Game Logs — cbd_torvik_player_game","title":"Barttorvik Player Game Logs — cbd_torvik_player_game","text":"Pulls final player game logs 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_game.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Player Game Logs — cbd_torvik_player_game","text":"","code":"cbd_torvik_player_game(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_game.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Player Game Logs — cbd_torvik_player_game","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, player,data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_season.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Player Season Averages — cbd_torvik_player_season","title":"Barttorvik Player Season Averages — cbd_torvik_player_season","text":"Pulls final player season averages 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_season.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Player Season Averages — cbd_torvik_player_season","text":"","code":"cbd_torvik_player_season(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_season.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Player Season Averages — cbd_torvik_player_season","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, player,data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_season.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Barttorvik Player Season Averages — cbd_torvik_player_season","text":"","code":"try(cbd_torvik_player_season(year = 2023, team = 'Duke')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_split.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Player Stat Splits — cbd_torvik_player_split","title":"Barttorvik Player Stat Splits — cbd_torvik_player_split","text":"Pulls final player season averages split 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_split.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Player Stat Splits — cbd_torvik_player_split","text":"","code":"cbd_torvik_player_split(split, ...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_split.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Player Stat Splits — cbd_torvik_player_split","text":"split data default splitting game result. want split different level, must specify. can split location, game_type, month, game_result (default). ... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, player, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_player_split.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Barttorvik Player Stat Splits — cbd_torvik_player_split","text":"","code":"try(cbd_torvik_player_split(year = 2023, team = 'Duke', split = 'game_result')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings.html","id":null,"dir":"Reference","previous_headings":"","what":"Year-End T-Rank Ratings — cbd_torvik_ratings","title":"Year-End T-Rank Ratings — cbd_torvik_ratings","text":"Pulls year-end T-Rank ratings adjusted efficiencies 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Year-End T-Rank Ratings — cbd_torvik_ratings","text":"","code":"cbd_torvik_ratings(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Year-End T-Rank Ratings — cbd_torvik_ratings","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter team, conf, year.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Year-End T-Rank Ratings — cbd_torvik_ratings","text":"","code":"try(cbd_torvik_ratings(year = 2023)) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings_archive.html","id":null,"dir":"Reference","previous_headings":"","what":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","title":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","text":"Historical T-Rank ratings + rankings 2015-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings_archive.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","text":"","code":"cbd_torvik_ratings_archive(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings_archive.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","text":"... OPTIONAL. load complete data set, pass arguments function. Else, can filter team, conf, year, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_ratings_archive.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Day-to-day T-Rank Ratings — cbd_torvik_ratings_archive","text":"","code":"try(cbd_torvik_ratings_archive(year = 2023, conf = 'ACC')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":null,"dir":"Reference","previous_headings":"","what":"Get Selection Sunday Resumes — cbd_torvik_resume_database","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"Returns tibble various resume-based metrics Selection Sunday. Data runs 2008-present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"","code":"cbd_torvik_resume_database( n = 500, min_year = 2008, max_year = 2024, min_net = NULL, max_net = NULL, conf_group = NULL )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"n Number teams return (defaults 500). min_year Minimum year pull (YYYY). max_year Maximum year pull (YYYY). min_net Minimum NET filter. max_net Maximum NET filter. conf_group Filter conference conference groups (accepts conference abbreviation, 'NCAA', 'Himajor', 'mid').","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"Returns tibble resume-based metrics.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_resume_database.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get Selection Sunday Resumes — cbd_torvik_resume_database","text":"","code":"try(cbd_torvik_resume_database(min_net = 1, max_net = 5)) #> # A tibble: 83 × 15 #> team year net resume wab elo power q1_w q2_w q3q4_l games_above_500 #> #> 1 Kans… 2015 3 1 7 12 12 12 18 0 18 #> 2 Kans… 2010 1 1 1 1 1 12 16 0 30 #> 3 Kans… 2013 5 1 5 4 6 13 15 1 24 #> 4 Virg… 2018 1 1 1 1 1.7 12 19 0 29 #> 5 Mich… 2012 3 1 4 5 3 11 14 0 20 #> 6 Duke 2019 3 1 1 2 2.3 11 17 0 24 #> 7 Kans… 2016 1 1 1 1 1 15 20 1 25 #> 8 Kans… 2014 3 1 11 18 5 12 17 0 15 #> 9 UCLA 2008 4 1 2 2 2 11 20 1 27 #> 10 Illi… 2021 3 1 1 2 3.3 12 17 0 17 #> # ℹ 73 more rows #> # ℹ 4 more variables: score , seed , type , rd "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":null,"dir":"Reference","previous_headings":"","what":"T-Rank Season Predictions — cbd_torvik_season_prediction","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"Returns projected tempo, points per possesssion, total points scored, win percentage team schedyle location back 2014-15 season using Barttorvik's formulas data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"","code":"cbd_torvik_season_prediction( team, year, date = NULL, include_postseason = FALSE )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"team Team predict . year Year run prediction . date Date game must consecutive string YYYYMMDD format (defaults current day). include_postseason boolean representing whether conference tournament postseason games included simulation (defaults FALSE).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"Returns tibble game predictions.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_prediction.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"T-Rank Season Predictions — cbd_torvik_season_prediction","text":"","code":"try(cbd_torvik_season_prediction('Duke', 2023, '20230101')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_schedule.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Season Schedules — cbd_torvik_season_schedule","title":"Barttorvik Season Schedules — cbd_torvik_season_schedule","text":"Pulls season schedules Barttorvik","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_schedule.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Season Schedules — cbd_torvik_season_schedule","text":"","code":"cbd_torvik_season_schedule(...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_schedule.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Season Schedules — cbd_torvik_season_schedule","text":"... OPTIONAL. load complete data set, pass arguments function.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_schedule.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Barttorvik Season Schedules — cbd_torvik_season_schedule","text":"","code":"try(cbd_torvik_season_schedule(year = 2023)) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":null,"dir":"Reference","previous_headings":"","what":"T-Rank Season Simulation — cbd_torvik_season_simulation","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"Run simulation determine many games team projected win using schedule given date season.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"","code":"cbd_torvik_season_simulation( team, year, simulations = 10000, date = NULL, include_postseason = FALSE )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"team Team predict . year Year run prediction . simulations integer representing many sims. run (defaults 10,000). date Date game must consecutive string YYYYMMDD format (defaults current day). include_postseason boolean representing whether conference tournament postseason games included simulation (defaults FALSE).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"Returns tibble simulation results.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_season_simulation.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"T-Rank Season Simulation — cbd_torvik_season_simulation","text":"","code":"try(cbd_torvik_season_simulation('Duke', 2023, date = '20230101')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":null,"dir":"Reference","previous_headings":"","what":"Similar Team Resumes — cbd_torvik_similar_resumes","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"Find teams share similar pre-tournament resumes (2008-present).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"","code":"cbd_torvik_similar_resumes( team, year, conf_limit = \"All\", at_large_only = FALSE, current_resume = FALSE, net_weight = 1, resume_weight = 1, wab_weight = 1, elo_weight = 1, power_weight = 1 )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"team Chosen team year Chosen year at_large_only Boolean filter -large teams (defaults FALSE). current_resume Boolean filter whether use projected resume current resume (defaults projected resume; FALSE). net_weight Weight assign NET ranking (defaults 1). resume_weight Weight assign resume (defaults 1). wab_weight Weight assign 'Wins Bubble' (WAB) (defaults 1). elo_weight Weight assign ELO (defaults 1). power_weight Weight assign power rating (defaults 1). conf_group Filter conference conference groups (accepts conference abbreviation, 'NCAA', 'Himajor', 'mid').","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"Returns tibble pre-tournament resumes","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_similar_resumes.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Similar Team Resumes — cbd_torvik_similar_resumes","text":"","code":"try(cbd_torvik_similar_resumes('Duke', 2023)) #> Error in ifelse(at_large_only = TRUE, 1, 0) : #> unused argument (at_large_only = TRUE)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":null,"dir":"Reference","previous_headings":"","what":"Four Factor Team Splits — cbd_torvik_team_factors","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"Split team-wide four factor data number variables.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"","code":"cbd_torvik_team_factors( year = NULL, venue = \"all\", game_type = \"all\", quad = \"4\", top = 0, start = NULL, end = NULL, no_bias = FALSE )"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"year Chosen year venue Game venue ('', 'home', 'away', 'neutral', 'road'). Defaults ''. game_type Game type ('', 'nc', 'conf', 'reg', 'post', 'ncaa'). Defaults ''. quad Quad. rank game ('1', '2', '3', '4', '') quads cumulative (games <= quad selection). Defaults '', games (games Q4 \"better\"/\"lower\"). top Games Top X opponents. Defaults 0, \"\" games. start Game start date (YYYYMMDD format). end Game end date (YYYYMMDD format). no_bias Logical. TRUE display T-Rank ratings preseason bias/weight.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"Returns tibble four factor (!) data.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_factors.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Four Factor Team Splits — cbd_torvik_team_factors","text":"","code":"try(cbd_torvik_team_factors(2023, start = '20230101')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":null,"dir":"Reference","previous_headings":"","what":"Four Factor Team Histories — cbd_torvik_team_history","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"Returns tibble four factor team ","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"","code":"cbd_torvik_team_history(team)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"team team","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"Returns tibble four factor history.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_history.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Four Factor Team Histories — cbd_torvik_team_history","text":"","code":"try(cbd_torvik_team_history(team = 'Duke')) #> # A tibble: 17 × 23 #> year t_rk coach seed finish conf ov_rec conf_rec adj_o adj_d efg_o efg_d #> #> 1 2024 19 Jon S… NA NA ACC 10-3 1-1 119. 97.9 56.1 49.2 #> 2 2023 15 Jon S… 5 R32 ACC 27-9 14-6 113. 92.9 51.1 46.0 #> 3 2022 6 Mike … 2 Final… ACC 32-7 16-4 123. 96.1 55.6 47.1 #> 4 2021 32 Mike … NA NA ACC 13-11 9-9 115. 97.2 53.6 51.3 #> 5 2020 6 Mike … 3 NA ACC 25-6 15-5 115. 91.9 52.6 45.7 #> 6 2019 5 Mike … 1 Elite… ACC 32-6 14-4 120. 90.5 53.7 45.1 #> 7 2018 3 Mike … 2 Elite… ACC 29-8 13-5 123. 93.4 55.9 46.4 #> 8 2017 10 Mike … 2 R32 ACC 28-9 11-7 123. 96.5 54.8 47.4 #> 9 2016 19 Mike … 4 Sweet… ACC 25-11 11-7 122. 100. 53.7 49.5 #> 10 2015 2 Mike … 1 CHAMPS ACC 35-4 15-3 127. 92.8 56.6 46.6 #> 11 2014 6 Mike … 3 R64 ACC 26-9 13-5 126. 99.5 53.8 49.3 #> 12 2013 8 Mike … 2 Elite… ACC 30-6 14-4 120. 93.0 53.9 45.6 #> 13 2012 18 Mike … 2 R64 ACC 27-7 13-3 117. 97.0 52.8 47.2 #> 14 2011 3 Mike … 1 Sweet… ACC 32-5 13-3 121. 91.6 53.7 44.5 #> 15 2010 1 Mike … 1 CHAMPS ACC 35-5 13-3 122. 89.2 50.6 43.8 #> 16 2009 12 Mike … 2 Sweet… ACC 30-7 11-5 118. 93.3 50.5 47.8 #> 17 2008 7 Mike … 2 R32 ACC 28-6 13-3 116. 89.9 53.6 47.7 #> # ℹ 11 more variables: to_percent , tod_percent , or_percent , #> # dr_percent , ftr , ftrd , ft_percent , two_pct , #> # two_pct_d , three_pct , adj_t "},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_split.html","id":null,"dir":"Reference","previous_headings":"","what":"Barttorvik Team Stat Splits — cbd_torvik_team_split","title":"Barttorvik Team Stat Splits — cbd_torvik_team_split","text":"Pulls final team season averages split 2008-Present.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_split.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Barttorvik Team Stat Splits — cbd_torvik_team_split","text":"","code":"cbd_torvik_team_split(split, ...)"},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_split.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Barttorvik Team Stat Splits — cbd_torvik_team_split","text":"split data default splitting game result. want split different level, must specify. can split location, game_type, month, game_result. ... OPTIONAL. load complete data set, pass arguments function. Else, can filter year, team, conf, data column.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_split.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Barttorvik Team Stat Splits — cbd_torvik_team_split","text":"","code":"try(cbd_torvik_team_split(year = 2023, split = 'month')) #> We notice that this is your first time logging into `cbbdata`. #> This process will require restarting your R session. #> Do you want to continue [Y/N] #> #> Invalid username or password! #> Error in cbbdata::cbd_login() : object 'resp' not found"},{"path":"https://andreweatherman.github.io/cbbdata/reference/pipe.html","id":null,"dir":"Reference","previous_headings":"","what":"Pipe operator — %>%","title":"Pipe operator — %>%","text":"See magrittr::%>% details.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/pipe.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Pipe operator — %>%","text":"","code":"lhs %>% rhs"},{"path":"https://andreweatherman.github.io/cbbdata/reference/pipe.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Pipe operator — %>%","text":"lhs value magrittr placeholder. rhs function call using magrittr semantics.","code":""},{"path":"https://andreweatherman.github.io/cbbdata/reference/pipe.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Pipe operator — %>%","text":"result calling rhs(lhs).","code":""},{"path":"https://andreweatherman.github.io/cbbdata/news/index.html","id":"cbbdata-010","dir":"Changelog","previous_headings":"","what":"cbbdata 0.1.0","title":"cbbdata 0.1.0","text":"Beta release; formally “announced” package via Twitter.","code":""}] diff --git a/sitemap.xml b/sitemap.xml index 89b24d4..d6910ce 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -28,10 +28,10 @@ https://andreweatherman.github.io/cbbdata/reference/cbbdata-package.html - https://andreweatherman.github.io/cbbdata/reference/cbd_create_account.html + https://andreweatherman.github.io/cbbdata/reference/cbd_add_net_quad.html - https://andreweatherman.github.io/cbbdata/reference/cbd_gt_logos.html + https://andreweatherman.github.io/cbbdata/reference/cbd_create_account.html https://andreweatherman.github.io/cbbdata/reference/cbd_kenpom_authorization.html @@ -111,9 +111,6 @@ https://andreweatherman.github.io/cbbdata/reference/cbd_torvik_team_split.html - - https://andreweatherman.github.io/cbbdata/reference/gt_theme_athletic.html - https://andreweatherman.github.io/cbbdata/reference/index.html