Package {accbaseballr}


Title: ACC Baseball Datasets with Advanced Sabermetric Metrics
Version: 0.1.3
Description: Provides curated ACC (Atlantic Coast Conference) baseball datasets at the player-season level, including traditional statistics and advanced sabermetric metrics such as weighted on-base average (wOBA), weighted runs created plus (wRC+), and fielding-independent pitching (FIP).
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 8.0.0
Depends: R (≥ 4.1.0)
LazyData: true
LazyDataCompression: xz
URL: https://github.com/hvb210/accbaseballr
BugReports: https://github.com/hvb210/accbaseballr/issues
NeedsCompilation: no
Packaged: 2026-05-21 15:15:59 UTC; hbaskin
Author: Hana Baskin [aut, cre, cph]
Maintainer: Hana Baskin <hana.baskin@gmail.com>
Repository: CRAN
Date/Publication: 2026-05-28 12:40:06 UTC

accbaseballr: ACC Baseball Statistics and Metrics

Description

Provides ACC baseball batting and pitching datasets with advanced sabermetric metrics.

Author(s)

Maintainer: Hana Baskin hana.baskin@gmail.com [copyright holder]

Authors:

See Also

Useful links:


ACC Batting Data

Description

This dataset contains advanced batting metrics for ACC baseball players. It is designed for sabermetric analysis rather than raw box-score reporting.

A dataset containing ACC baseball batting statistics at the player-season level, including traditional counting stats and advanced sabermetric offensive metrics.

Usage

batting

batting

Format

A data frame with the following columns:

player_id

Unique player-season identifier

Name

Player first and last name

Age

Player age during season

Season

Year of season

Team

ACC team

G

Games played

PA

Plate appearances

AB

At bats

R

Runs scored

H

Hits

X1B

Singles hit

X2B

Doubles hit

X3B

Triples hit

HR

Home runs hit

BB

Bases on balls

SO

Strikeouts

BA

Hits/At bats

SLG

Total bases/At bats

HBP

Times hit by a pitch

SF

Sacrifice flies

IBB

Intentional bases on balls

bats

Batting handedness

ISO

Isolated power

K_pct

Strikeout percentage

BABIP

Batting average on balls in play

BB_pct

Walk percentage

wOBA

Weighted on-base average

league_wOBA

Average wOBA for league for season

scale

wOBA scale

wRC_plus

Weighted runs created plus

A data frame with one row per player-season and the following columns:

player_id

Character. Unique player identifier.

Season

Integer. The season (calendar year).

Name

Character. Player full name.

Age

Character. Age of player in season.

Team

Character. ACC team name.

G

Integer. Games played.

PA

Integer. Plate appearances.

AB

Integer. At-bats.

H

Integer. Hits.

X1B

Integer. Singles.

X2B

Integer. Doubles.

X3B

Integer. Triples.

HR

Integer. Home runs.

R

Integer. Runs scored.

BB

Integer. Walks.

SO

Integer. Strikeouts.

SLG

Numeric. Slugging percentage.

HBP

Integer. Hit by pitch.

SF

Integer. Sacrifice fly.

IBB

Integer. Intentional walk.

bats

Character. Batting handedness: "Right", "Left", "Both" or "Unkown".

ISO

Numeric. Isolated power.

K_pct

Numeric. Strikeout percentage.

BABIP

Numeric. Batting average on balls in play.

wOBA

Numeric. Weighted on-base average.

league_wOBA

Numeric. League-wide weighted on-base average.

scale

Numeric. wOBA scale

wRC_plus

Numeric. Weighted runs created plus (100 = league average).

Details

Player-season batting metrics for ACC baseball.

Source

Publicly available ACC baseball statistics transformed into sabermetric metrics for analysis.

Derived from publicly available ACC baseball data from Sports-Reference (https://www.sports-reference.com/).

Examples

data(batting)
head(batting)

ACC baseball league context statistics

Description

A dataset containing league-average statistics used for normalization and calculation of advanced metrics such as wOBA and wRC+.

Season-level offensive environment metrics used for normalization of player statistics.

Usage

league_context

league_context

Format

A data frame with one row per season and the following columns:

Season

Integer. The season (calendar year).

league_PA

Integer. League-wide plate appearances.

league_H

Integer. League-wide hits.

league_2B

Integer. League-wide doubles hit.

league_3B

Integer. League-wide triples hit.

league_HR

Integer. League_wide home runs hit.

league_BB

Integer. League-wide bases on balls.

league_HBP

Integer. League-wide times hit by pitch.

league_SF

Integer. League-wide sacrifice flies.

league_AB

Integer. League-wide at bats.

league_BA

Numeric. League-wide hits/at bats.

league_1B

Integer. League-wide singles hit.

league_wOBA

Numeric. League-wide weighted on-base average.

league_BB_rate

Numeric. League-wide walk rate.

league_SO

Integer. League-wide strikeouts.

p_league_BB

Integer. League-wide bases on balls (pitching).

p_league_HR

Integer. League-wide home runs allowed.

league_IP

Numeric. League-wide innings pitched.

league_K_per_9

Numeric. League-wide strikeouts per nine innings.

league_BB_per_9

Numeric. League-wide bases on balls per nine innings.

league_HR_per_9

Numeric. League-wide home runs allowed per nine innings.

A data frame with one row per season:

Season

Season year

league_PA

League-wide plate appearances

league_H

League-wide hits

league_2B

League-wide doubles hit

league_3B

League-wide triples hit

league_HR

League_wide home runs hit

league_BB

League-wide bases on balls

league_HBP

League-wide times hit by pitch

league_SF

League-wide sacrifice flies

league_AB

League-wide at bats

league_BA

League-wide hits/at bats

league_1B

League-wide singles hit

league_wOBA

League-wide weighted on-base average

league_BB_rate

walk rate

league_SO

League-wide strikeouts

p_league_BB

League-wide bases on balls (pitching)

p_league_HR

League-wide home runs allowed

league_IP

League-wide innings pitched

league_K_per_9

League-wide strikeouts per nine innings

league_BB_per_9

League-wide bases on balls per nine innings

league_HR_per_9

League-wide home runs allowed per nine innings

Source

Derived from publicly available ACC baseball data from Sports-Reference (https://www.sports-reference.com/).

Publicly available ACC baseball statistics transformed into sabermetric metrics for analysis.

Examples

data(league_context)
head(league_context)

ACC Pitching Data

Description

Advanced pitching metrics for ACC pitchers including fielding-independent measures.

A dataset containing ACC baseball pitching statistics at the player-season level, including traditional counting stats and advanced sabermetric pitching metrics.

Usage

pitching

pitching

Format

A data frame with the following columns:

player_id

Unique player-season identifier

Name

Player first and last name

Age

Player age during season

Season

Year of season

Team

ACC team

ERA

Earned run average

GS

Games started

IP

Innings pitched

H

Hits allowed

R

Runs allowed

ER

Earned runs allowed

HR

Home runs allowed

BB

Bases on balls

IBB

Intentional bases on balls

SO

Strikeouts

HBP

Times hit by a pitch

BF

Batters faced

WHIP

Walks plus hits per inning pitched

throws

Throwing handedness

K_pct

Strikeout percentage

BB_pct

Walk percentage

K_BB_pct

Strikeout minus walk percentage

FIP

Fielding independent pitching

A data frame with one row per player-season and the following columns:

Season

Integer. The season (calendar year).

player_id

Character. Unique player identifier.

Name

Character. Player full name.

Age

Character. Age of player in season.

Team

Character. ACC team abbreviation or name.

ERA

Numeric. Earned run average.

GS

Integer. Games started.

IP

Numeric. Innings pitched.

H

Integer. Hits allowed.

R

Integer. Runs allowed.

ER

Integer. Earned runs allowed.

BB

Integer. Walks allowed.

IBB

Integer. Intentional walks.

SO

Integer. Strikeouts.

HBP

Integer. Hit by pitch.

HR

Integer. Home runs allowed.

BF

Integer. Batters faced.

WHIP

Numeric. Walks plus hits per inning pitched.

throws

Character. Throwing handedness: "Right", "Left", "Both" or "Unkown".

K_pct

Numeric. Strikeout percentage.

BB_pct

Numeric. Walk percentage.

K_BB_pct

Numeric. Strikeout minus walk percentage.

FIP

Numeric. Fielding-independent pitching.

Details

Player-season pitching metrics for ACC baseball.

Source

Publicly available ACC baseball statistics transformed into sabermetric metrics for analysis.

Derived from publicly available ACC baseball data from Sports-Reference (https://www.sports-reference.com/).

Examples

data(pitching)
head(pitching)

ACC Player Data

Description

Basic player identification information used to join batting and pitching datasets.

A dataset containing player-level metadata for ACC baseball players, including handedness information.

Usage

players

players

Format

A data frame with the following columns:

player_id

Unique player identifier

Name

Player first and last name

bats

Batting handedness

throws

Throwing handedness

A data frame with one row per player and the following columns:

Name

Character. Player full name.

player_id

Character. Unique player identifier.

bats

Character. Batting handedness: "Right", "Left", "Both" or "Unkown".

throws

Character. Throwing handedness: "Right", "Left", "Both" or "Unkown".

Details

Player metadata for ACC baseball players.

Source

Compiled from publicly available roster information from Sports-Reference.

Derived from publicly available ACC baseball data from Sports-Reference (https://www.sports-reference.com/).

Examples

data(players)
head(players)