diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION deleted file mode 100644 index 7b08198d..00000000 --- a/CRAN-SUBMISSION +++ /dev/null @@ -1,3 +0,0 @@ -Version: 1.8.0 -Date: 2022-06-16 19:49:07 UTC -SHA: 9700d205f5da4225a8f0e2df0e820d355133425b diff --git a/R/load_mbb.R b/R/load_mbb.R index 13a3d4ee..927be19a 100644 --- a/R/load_mbb.R +++ b/R/load_mbb.R @@ -457,10 +457,12 @@ load_mbb_games <- function() { return(dat) } +#' **Update or create a hoopR MBB play-by-play database** #' @name update_mbb_db -#' @aliases update_mbb_db mbb_db mbb mbb_pbp_db +NULL #' @title -#' **Update or create a hoopR play-by-play database** +#' **Update or create a hoopR MBB play-by-play database** +#' @rdname update_mbb_db #' @description `update_mbb_db()` updates or creates a database with `hoopR` #' play by play data of all completed and available games since 2006. #' @@ -475,15 +477,15 @@ load_mbb_games <- function() { #' by play data table either for the whole hoopR era (with `force_rebuild = TRUE`) #' or just for specified seasons (e.g. `force_rebuild = c(2019, 2020)`). #' Please note the following behavior: -#' \itemize{ -#' \item{`force_rebuild = TRUE`}{: The data table with the name `tblname` +#' +#' - `force_rebuild = TRUE`: The data table with the name `tblname` #' will be removed completely and rebuilt from scratch. This is helpful when -#' new columns are added during the Off-Season.} -#' \item{`force_rebuild = c(2019, 2020)`}{: The data table with the name `tblname` +#' new columns are added during the Off-Season. +#' - `force_rebuild = c(2019, 2020)`: The data table with the name `tblname` #' will be preserved and only rows from the 2019 and 2020 seasons will be #' deleted and re-added. This is intended to be used for ongoing seasons because -#' ESPN's data provider can make changes to the underlying data during the week.} -#' } +#' ESPN's data provider can make changes to the underlying data during the week. +#' #' #' The parameter `db_connection` is intended for advanced users who want #' to use other DBI drivers, such as MariaDB, Postgres or odbc. Please note that diff --git a/R/load_nba.R b/R/load_nba.R index 397eaaf6..22c43413 100644 --- a/R/load_nba.R +++ b/R/load_nba.R @@ -467,10 +467,12 @@ load_nba_games <- function(){ return(dat) } +#' **Update or create a hoopR NBA play-by-play database** #' @name update_nba_db -#' @aliases update_nba_db nba_db nba nba_pbp_db +NULL #' @title -#' **Update or create a hoopR play-by-play database** +#' **Update or create a hoopR NBA play-by-play database** +#' @rdname update_nba_db #' @description `update_nba_db()` updates or creates a database with `hoopR` #' play by play data of all completed and available games since 2002. #' @@ -485,15 +487,15 @@ load_nba_games <- function(){ #' by play data table either for the whole hoopR era (with `force_rebuild = TRUE`) #' or just for specified seasons (e.g. `force_rebuild = c(2019, 2020)`). #' Please note the following behavior: -#' \itemize{ -#' \item{`force_rebuild = TRUE`}{: The data table with the name `tblname` +#' +#' - `force_rebuild = TRUE`: The data table with the name `tblname` #' will be removed completely and rebuilt from scratch. This is helpful when -#' new columns are added during the Off-Season.} -#' \item{`force_rebuild = c(2019, 2020)`}{: The data table with the name `tblname` +#' new columns are added during the Off-Season. +#' - `force_rebuild = c(2019, 2020)`: The data table with the name `tblname` #' will be preserved and only rows from the 2019 and 2020 seasons will be #' deleted and re-added. This is intended to be used for ongoing seasons because -#' ESPN's data provider can make changes to the underlying data during the week.} -#' } +#' ESPN's data provider can make changes to the underlying data during the week. +#' #' #' The parameter `db_connection` is intended for advanced users who want #' to use other DBI drivers, such as MariaDB, Postgres or odbc. Please note that diff --git a/man/kp_team_players.Rd b/man/kp_team_players.Rd index 1b8ca73d..12729021 100644 --- a/man/kp_team_players.Rd +++ b/man/kp_team_players.Rd @@ -75,7 +75,7 @@ Returns a tibble of team player data\tabular{ll}{ } \examples{ \donttest{ - try(kp_team_players(team = 'Florida St.', year = 2021)) + try(kp_team_players(team = 'Florida St.', year = 2024)) } } diff --git a/man/update_mbb_db.Rd b/man/update_mbb_db.Rd index d621e674..4a232c4d 100644 --- a/man/update_mbb_db.Rd +++ b/man/update_mbb_db.Rd @@ -2,10 +2,7 @@ % Please edit documentation in R/load_mbb.R \name{update_mbb_db} \alias{update_mbb_db} -\alias{mbb_db} -\alias{mbb} -\alias{mbb_pbp_db} -\title{\strong{Update or create a hoopR play-by-play database}} +\title{\strong{Update or create a hoopR MBB play-by-play database}} \usage{ update_mbb_db( dbdir = ".", @@ -48,13 +45,13 @@ by play data table either for the whole hoopR era (with \code{force_rebuild = TR or just for specified seasons (e.g. \code{force_rebuild = c(2019, 2020)}). Please note the following behavior: \itemize{ -\item{\code{force_rebuild = TRUE}}{: The data table with the name \code{tblname} +\item \code{force_rebuild = TRUE}: The data table with the name \code{tblname} will be removed completely and rebuilt from scratch. This is helpful when -new columns are added during the Off-Season.} -\item{\code{force_rebuild = c(2019, 2020)}}{: The data table with the name \code{tblname} +new columns are added during the Off-Season. +\item \code{force_rebuild = c(2019, 2020)}: The data table with the name \code{tblname} will be preserved and only rows from the 2019 and 2020 seasons will be deleted and re-added. This is intended to be used for ongoing seasons because -ESPN's data provider can make changes to the underlying data during the week.} +ESPN's data provider can make changes to the underlying data during the week. } The parameter \code{db_connection} is intended for advanced users who want diff --git a/man/update_nba_db.Rd b/man/update_nba_db.Rd index 0af37e6b..14299945 100644 --- a/man/update_nba_db.Rd +++ b/man/update_nba_db.Rd @@ -2,10 +2,7 @@ % Please edit documentation in R/load_nba.R \name{update_nba_db} \alias{update_nba_db} -\alias{nba_db} -\alias{nba} -\alias{nba_pbp_db} -\title{\strong{Update or create a hoopR play-by-play database}} +\title{\strong{Update or create a hoopR NBA play-by-play database}} \usage{ update_nba_db( dbdir = ".", @@ -48,13 +45,13 @@ by play data table either for the whole hoopR era (with \code{force_rebuild = TR or just for specified seasons (e.g. \code{force_rebuild = c(2019, 2020)}). Please note the following behavior: \itemize{ -\item{\code{force_rebuild = TRUE}}{: The data table with the name \code{tblname} +\item \code{force_rebuild = TRUE}: The data table with the name \code{tblname} will be removed completely and rebuilt from scratch. This is helpful when -new columns are added during the Off-Season.} -\item{\code{force_rebuild = c(2019, 2020)}}{: The data table with the name \code{tblname} +new columns are added during the Off-Season. +\item \code{force_rebuild = c(2019, 2020)}: The data table with the name \code{tblname} will be preserved and only rows from the 2019 and 2020 seasons will be deleted and re-added. This is intended to be used for ongoing seasons because -ESPN's data provider can make changes to the underlying data during the week.} +ESPN's data provider can make changes to the underlying data during the week. } The parameter \code{db_connection} is intended for advanced users who want