Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Import data from baseball-reference.com
Contributed by: Bob Sandheinrich
Baseball-Reference is a well established source of baseball statistics dating back to the earliest records available. The data is standardized and available via the website baseball-reference.com. This paclet imports data from specific pages on the website for use in the Wolfram Language. This paclet will be extended to more statistics via updates.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["Bob/BaseballReferenceData"]
To load the code after installation, evaluate this code:
Needs["Bob`BaseballReferenceData`"]
Search Baseball-Reference for a name::
In[1]:= |
Out[1]= |
Get the id for this player:
In[2]:= |
Out[2]= |
Find data on all of Albert Pujols' home runs:
In[3]:= |
Out[3]= |
Get URLs for all the Major League teams:
In[4]:= |
Out[4]= |
Wolfram Language Version 12.3