Skip to content

Commit

Permalink
fixing rd/latex issues from CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
saiemgilani committed Nov 25, 2023
1 parent 8eaeef1 commit f59622b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 32 deletions.
19 changes: 11 additions & 8 deletions R/load_wbb.R
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,13 @@ load_wbb_games <- function(){
}


#' **Build/update wehoop WBB play-by-play database**
#' @name update_wbb_db
#' @aliases update_wbb_db wbb_db wbb wbb_pbp_db
NULL

#' @title
#' **Update or create a wehoop play-by-play database**
#' **Update or create a wehoop WBB play-by-play database**
#' @rdname update_wbb_db
#' @description update_wbb_db() updates or creates a database with `wehoop`
#' play by play data of all completed and available games since 2002.
#'
Expand All @@ -280,15 +283,15 @@ load_wbb_games <- function(){
#' by play data table either for the whole wehoop 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
Expand Down
20 changes: 12 additions & 8 deletions R/load_wnba.R
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,13 @@ load_wnba_games <- function(){
return(dat)
}

#' **Build/update wehoop WNBA play-by-play database**
#' @name update_wnba_db
#' @aliases update_wnba_db wnba_db wnba wnba_pbp_db
NULL

#' @title
#' **Update or create a wehoop play-by-play database**
#' **Update or create a wehoop WNBA play-by-play database**
#' @rdname update_wnba_db
#' @description update_wnba_db() updates or creates a database with `wehoop`
#' play by play data of all completed and available games since 2002.
#'
Expand All @@ -267,15 +270,16 @@ load_wnba_games <- function(){
#' by play data table either for the whole wehoop 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
Expand Down
13 changes: 5 additions & 8 deletions man/update_wbb_db.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 5 additions & 8 deletions man/update_wnba_db.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f59622b

Please sign in to comment.