Learn R Programming

baseballr (version 0.8.6)

get_draft_mlb: Retrieve draft pick information by year via the MLB api http://statsapi.mlb.com/api/

Description

Retrieve draft pick information by year via the MLB api http://statsapi.mlb.com/api/

Usage

get_draft_mlb(year)

Arguments

year

The year for which to return data

Value

Returns a data frame with information for every draft pick in every round for that year requested

Examples

Run this code
# NOT RUN {
get_draft_mlb(2009)
# }

Run the code above in your browser using DataLab