Description Usage Arguments Examples
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.
1 |
table |
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. |
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.