#' player.by.year
#'
#' This function allows you to view a list of players in Seasons_Stats_NBA dataset
#' for the year you enter as an argument
#'
#' @param year a numerical value ranging from 1950-2017
#' @return players
#' @examples
#' player.by.year()
#' @export
players.by.year <- function(dt,year) {
dplyr::filter(dt, Year == year)
dplyr::dt[select(Player)]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.