Learn R Programming

nutshell (version 1.0)

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.

Usage

con <- dbConnect(drv, system.file("data", "bb.db", package="nutshell"))

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.

Examples

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

Run the code above in your browser using DataLab