tidy_seasons_meta: Get a tidy dataset of NHL seasons metadata

View source: R/tidy_seasons_meta.R

tidy_seasons_metaR Documentation

Get a tidy dataset of NHL seasons metadata

Description

The function tidy_seasons_meta() is meant to be a user-friendly way of getting metadata about NHL seasons.

Usage

tidy_seasons_meta(
  keep_id = FALSE,
  return_datatable = getOption("tidynhl.data.table", TRUE)
)

Arguments

keep_id

(optional) Logical indicating if the IDs of different dimensions should be returned. Default to FALSE.

return_datatable

(optional) Logical indicating whether or not a data.table should be returned. Default can be set globally with options("tidynhl.data.table").

Examples

# Allowing large outputs for the pkgdown website
options(width = 1000L)

# Get metadata of NHL seasons
tidy_seasons_meta()


jplecavalier/tidynhl documentation built on July 28, 2024, 3:48 a.m.