knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of mlbgm
is to streamline access to data that answers questions that Major League Baseball executives care about. These include:
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("beanumber/mlbgm")
This is a basic example which shows you how to solve a common problem:
library(mlbgm) lkup_teams() lkup_players
mlbgm
works in conjunctions with other tools, including:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.