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 2, 2019, 3:26 p.m.