R/get_mlb_teams.R

Defines functions get_mlb_teams

Documented in get_mlb_teams

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

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

  return(get_mlb_teams)

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