Version: 9.0-0 Date: 2021-04-08
Authors:
- Chris Dalzell
- Michael Friendly
- Dennis Murphy
- Martin Monkman
- Vanessa Foot & Justeena Zaki-Azat [vignettes]
Maintainer: Chris Dalzell
Required: R (>= 3.5.0)
Suggests: lattice, ggplot2, googleVis, data.table, vcd, dplyr, tidyr, reshape2
License: GPL
URL: https://CRAN.R-project.org/package=Lahman
This is the R version of the 2020 edition of Sean Lahman's Baseball Database, http://www.seanlahman.com/baseball-archive/statistics/.
-
A notable change is that the old
Master
table, has been renamedPeople
in the Lahman Database. To avoid breaking old scripts or examples, thePeople
table has been copied toMaster
. In the next annual release, it is very likely thatMaster
will be removed. -
A collection of vignettes has been added, illustrating various data manipulation tasks and analyses to explore some baseball questions. Try:
browseVignettes("Lahman")
-
In addition, the documentation has been updated to use
dplyr
andtidyr
tools for database manipulation andggplot2
for plots.
For the current CRAN version, simply use:
install.packages("Lahman")
If you wish to use a non-release version of Lahman
, use dev_mode()
.
dev_mode()
install_github("cdalzell/Lahman", ref="insert_branch_name_here")
# ...test ...
dev_mode() # revert to previous
Please report any problems or issues with this new version as an issue on this site.
A MySQL version of the Lahman database is provided by Nat Dunn: https://github.com/WebucatorTraining/lahman-baseball-mysql