get_bbdb: Get an up to date copy of the Baseball Databank.
Description
Download the newest version of the Baseball Databank from the Chadwick Bureau GitHub repository. This is the source of
Sean Lahman's baseball database and is always under development. This function will read the .csv files and return them as data frames.
There is also an option to download the entire directory.
The tables you would like to download. Uses Lahman table names Ex. "Batting", "Master", "AllstarFull", etc...
If this argument is left as NULL, the function will download all twenty-seven tables.
downloadZip
If true, this will download a zip file of all twenty-seven tables in .csv format to your working directory.
AllTables
If true, this will download all the tables in the database. The default is set to false.