Learn R Programming

nutshell (version 1.02)

bb.db: 2008 Baseball Databank Database

Description

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

Arguments

format

The format is: NULL

source

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

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.

Examples

Run this code
library(RSQLite)
drv <- dbDriver("SQLite")
con <- dbConnect(drv, system.file("extdata","bb.db", package="nutshell"))
dbListTables(con)

Run the code above in your browser using DataLab