R/get_mlb_players.R

Defines functions get_mlb_players

Documented in get_mlb_players

#' @title Photos & Logos a& colors for MLB (baseball)
#'
#' @description MLB Profesional league baseball data table with Photos, logos and colors
#'
#' @return Photos, logos and colors
#' @export
#' @import utils
#' @examples
#' \donttest{get_mlb_players()}
#'
get_mlb_players <- function() {

  get_mlb_players <- utils::read.csv("https://raw.githubusercontent.com/IvoVillanueva/dataMLB/main/dataMLB.csv", stringsAsFactors = FALSE)

  return(get_mlb_players)

}
IvoVillanueva/mlbstatsR documentation built on Dec. 17, 2021, 11:32 p.m.