tm_contract: Pulling the contract information from Baseball-Reference

Description Usage Arguments Value Examples

View source: R/tm_contract.R

Description

Takes in the team abbreviation and returns their current and projected salary information based on 2017 data

Usage

1

Arguments

team

Official team abbreviation

Value

Data.frame object that contains the salary information

Examples

1
2
3
#reading in the Boston Red Sox salary
library(rwindow.baseball)
tm_contract("BOS")

williazo/rwindow.baseball documentation built on May 29, 2019, 11:47 a.m.