Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

BaseballReferenceData

Guides

  • BaseballReferenceData

Symbols

  • PlayerHomers
  • PlayerSearch
  • PlayerStandardBatting
  • TeamPaths
  • TeamYearSchedule
Bob`BaseballReferenceData`
PlayerStandardBatting
​
​
PlayerStandardBatting[id]
gives the career standard batting statistics for the player with the specified Baseball-Reference
id
.
​
Details

Examples  
(3)
Basic Examples  
(1)
Load the paclet:
In[1]:=
Needs["Bob`BaseballReferenceData`"]
Retrieve batting statistics for Albert Pujols:
In[2]:=
PlayerStandardBatting["pujolal01"]
Out[2]=
Year
Team
Age
G
PA
AB
R
H
2B
3B
2001
STL
21
161
676
590
112
194
47
4
2002
STL
22
157
675
590
118
185
40
2
2003
STL
23
157
685
591
137
212
51
1
2004
STL
24
154
692
592
133
196
51
2
2005
STL
25
161
700
591
129
195
38
2
2006
STL
26
143
634
535
119
177
33
1
2007
STL
27
158
679
565
99
185
38
1
2008
STL
28
148
641
524
100
187
44
0
2009
STL
29
160
700
568
124
186
45
1
2010
STL
30
159
700
587
115
183
39
1
2011
STL
31
147
651
579
105
173
29
0
2012
LAA
32
154
670
607
85
173
50
0
2013
LAA
33
99
443
391
49
101
19
0
2014
LAA
34
159
695
633
89
172
37
1
2015
LAA
35
157
661
602
85
147
22
0
2016
LAA
36
152
650
593
71
159
19
0
2017
LAA
37
149
636
593
53
143
17
0
2018
LAA
38
117
498
465
50
114
20
0
2019
LAA
39
131
545
491
55
120
22
0
2020
LAA
40
39
163
152
15
34
8
0
rows 1–20 of
21
columns 1–10 of
29
Scope  
(1)

Generalizations & Extensions  
(1)

""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com