R/OfficialOld.R

Defines functions get_officials

Documented in get_officials

#' Access all the officials
#' 
#' `get_officials()` is deprecated. Use [officials()] instead.
#' 
#' @returns data.frame with one row per official
#' @export

get_officials <- function() {
  .Deprecated(
    new     = 'officials()',
    package = 'nhlscraper',
    msg     = paste(
      '`get_officials()` is deprecated.',
      'Use `officials()` instead.'
    )
  )
  officials()
}

Try the nhlscraper package in your browser

Any scripts or data that you put into this service are public.

nhlscraper documentation built on Dec. 17, 2025, 5:10 p.m.