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)

}

Try the mlbstatsR package in your browser

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

mlbstatsR documentation built on Sept. 14, 2021, 1:06 a.m.