bb.db: 2008 Baseball Databank Database

Description Format Details Source Examples

Description

The Baseball Databank Database is a SQLite database containing statistics on each player and team in Major League Baseball from 1871 through 2008.

Format

The file is a SQLLite database

Details

This file is used as an example in the book "R in a Nutshell" from O'Reilly Media.

Note: the file is in the "inst/extdata" directory inside the package, not the "data" directory.

Source

http://www.baseball-databank.org/

Examples

1
2
3
4
library(RSQLite)
drv <- dbDriver("SQLite")
con <- dbConnect(drv, system.file("extdata","bb.db", package="nutshell.bbdb"))
dbListTables(con)

nutshell.bbdb documentation built on May 20, 2017, 4:22 a.m.

Search within the nutshell.bbdb package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.