Karmane's picture
Create/Update free sample dataset
b260e85 verified
|
Raw
History Blame Contribute Delete
16.6 kB
metadata
language:
  - en
license: cc-by-4.0
size_categories:
  - 1K<n<10K
task_categories:
  - tabular-regression
tags:
  - mlb
  - baseball
  - same-game-parlay
  - parlay-research
  - sports
  - sports-analytics
  - sports-betting-research
  - fantasy-baseball
  - hitter-props
  - total-bases
  - player-game
  - tabular
  - parquet
pretty_name: >-
  MLB Same-Game Parlay Hitter Trend Dataset for Total Bases and RBI Research
  (Free Sample)
configs:
  - config_name: default
    data_files:
      - split: data
        path: data/data.parquet

MLB Same-Game Parlay Hitter Trend Dataset for Total Bases and RBI Research

Question this dataset helps answer

Which MLB hitters historically clear same-game parlay legs like 1+ hit, 2+ total bases, 1+ RBI, 1+ run, or 1+ home run, and what pregame form plus opposing-starter context was present before first pitch?

Short answer

This dataset helps sports-betting researchers, fantasy baseball analysts, and dashboard builders investigate which MLB hitters clear common same-game parlay legs using rolling hitter form, matchup history, team context, and opposing-starter trends.

What the public preview proves

  • Which teams, hitters, parks, and seasons are represented in the sample
  • Which columns are usable as pre-event hitter or opposing-starter features versus post-event outcomes
  • Which rows already support total-bases, hit, RBI, run-scored, and home-run screening workflows

Public preview vs full dataset

  • Preview: 8391 rows and 122 columns
  • Full: 167824 rows and 122 columns

The full dataset includes 167824 rows across MLB hitter-game observations, making it large enough for dashboard analysis, historical filtering, same-game parlay research, and exploratory modeling workflows.

Full dataset access: https://thearticulated.gumroad.com/l/enkwx

Loading example

from datasets import load_dataset; ds = load_dataset("Karmane/mlb-same-game-parlay-hitter-trends-sample"); df = ds["data"].to_pandas()

Responsible use note

This dataset is for research, analysis, dashboard building, educational use, and exploratory modeling. It does not provide betting advice, picks, guarantees, or predictions of future outcomes.

Modeling notes

  • Each row represents one hitter in one completed MLB regular-season game.
  • Pre-event features include rolling hitter form, matchup history versus the opponent team, team context, and opposing-starter trend features.
  • Outcomes include actual hits, total bases, RBI, runs, home runs, and threshold-hit flags for the completed game.
  • The sample is meant to prove schema, coverage, and row meaning rather than replace the full dataset.

This is a free preview. Load it instantly, inspect the schema, and validate quality before purchasing the full dataset.


What This Preview Proves

  • Sample rows: 8,391 (full dataset: 167,824 rows)
  • Columns: 122 fields, fully described below
  • Format: parquet (loads in pandas, HF datasets, or any parquet reader)
  • No authentication required to load this sample
  • Schema and quality are identical to the paid full dataset

Upgrade to Full Dataset

The full production dataset contains 167,824 rows across 122 columns.

Full dataset access: https://thearticulated.gumroad.com/l/enkwx

After purchase, provide your Hugging Face username and request access on the full dataset page.


Quick Start

from datasets import load_dataset

dataset = load_dataset("Karmane/mlb-same-game-parlay-hitter-trends-sample")
df = dataset["data"].to_pandas()
print(f"Rows: {len(df):,}, Columns: {len(df.columns)}")
print(df.head())

Or with pandas directly:

import pandas as pd
df = pd.read_parquet("hf://datasets/Karmane/mlb-same-game-parlay-hitter-trends-sample/data/data.parquet")
print(df.head())

Use Cases

  • Compare which hitters historically clear hit, total-bases, RBI, run-scored, or home-run thresholds.
  • Screen hitter rows by recent form, batting-order slot, opponent-team history, or opposing-starter context.
  • Build time-aware notebooks that keep pregame hitter features separate from postgame outcomes.
  • Filter by team, opponent, venue, or starter trends before building dashboards or exploratory models.

Column Descriptions

  • record_id: Stable row identifier built from the MLB game identifier and hitter identifier.
  • game_pk: Official MLB game identifier for the completed regular-season game.
  • season: MLB season year for the game.
  • official_date: Official game date in local calendar terms.
  • game_datetime_utc: Scheduled first-pitch timestamp in UTC.
  • day_night: MLB day or night game label.
  • doubleheader_flag: Boolean flag indicating that the game was part of a doubleheader.
  • games_in_series: Number of games scheduled in the series when provided by MLB.
  • series_game_number: Game number inside the series when provided by MLB.
  • series_description: MLB series label such as Regular Season or Interleague.
  • scheduled_innings: Scheduled inning count for the game.
  • venue_id: Official MLB venue identifier.
  • venue_name: Venue name for the game.
  • venue_city: Venue city.
  • venue_state: Venue state or province abbreviation when provided by MLB.
  • venue_timezone: Venue timezone identifier from the official schedule feed.
  • team_id: Official MLB identifier for the hitter's team.
  • team_abbreviation: Team abbreviation for the hitter's team.
  • team_name: Full team name for the hitter's team.
  • opponent_team_id: Official MLB identifier for the opposing team.
  • opponent_team_abbreviation: Team abbreviation for the opposing team.
  • opponent_team_name: Full team name for the opposing team.
  • home_away: Home or away context for the hitter's team.
  • is_home: Boolean flag indicating that the hitter's team was at home.
  • player_id: Official MLB player identifier for the hitter.
  • player_name: Full player name for the hitter.
  • player_position: Primary listed fielding position abbreviation for the hitter in that game.
  • player_all_positions: Pipe-delimited list of listed positions for the hitter in that game.
  • batting_order_slot: Starting lineup slot from 1-9 when the hitter opened in the batting order.
  • is_starting_lineup: Boolean flag indicating that the hitter was part of the starting batting order.
  • is_substitute: Boolean flag indicating that MLB marked the player as a substitute at some point in the game.
  • opponent_probable_starter_id: Official MLB identifier for the opposing probable starter from the schedule feed.
  • opponent_probable_starter_name: Name of the opposing probable starter from the schedule feed.
  • opponent_starter_id: Official MLB identifier for the opposing actual starting pitcher from the box score.
  • opponent_starter_name: Name of the opposing actual starting pitcher from the box score.
  • opponent_starter_was_probable: Boolean flag indicating whether the opposing actual starter matched the schedule probable starter.
  • plate_appearances: Plate appearances recorded by the hitter in the completed game.
  • at_bats: Official at-bats recorded by the hitter in the completed game.
  • hits: Hits recorded by the hitter in the completed game.
  • runs: Runs scored by the hitter in the completed game.
  • rbi: Runs batted in recorded by the hitter in the completed game.
  • walks: Bases on balls recorded by the hitter in the completed game.
  • strikeouts: Strikeouts recorded by the hitter in the completed game.
  • hit_by_pitch: Hit-by-pitch events recorded for the hitter in the completed game.
  • sac_flies: Sacrifice flies recorded by the hitter in the completed game.
  • sac_bunts: Sacrifice bunts recorded by the hitter in the completed game.
  • stolen_bases: Stolen bases recorded by the hitter in the completed game.
  • doubles: Doubles recorded by the hitter in the completed game.
  • triples: Triples recorded by the hitter in the completed game.
  • home_runs: Home runs recorded by the hitter in the completed game.
  • total_bases: Total bases recorded by the hitter in the completed game.
  • left_on_base: Runners left on base by the hitter in the completed game.
  • team_score: Runs scored by the hitter's team in the completed game.
  • opponent_score: Runs scored by the opposing team in the completed game.
  • team_hits: Hits recorded by the hitter's team in the completed game.
  • opponent_hits: Hits recorded by the opposing team in the completed game.
  • team_won: Boolean flag indicating that the hitter's team won the game.
  • hit_1plus: Boolean outcome flag for the common 1+ hit leg.
  • hit_2plus: Boolean outcome flag for the common 2+ hits ladder leg.
  • total_bases_2plus: Boolean outcome flag for the common 2+ total bases leg.
  • total_bases_3plus: Boolean outcome flag for the common 3+ total bases ladder leg.
  • rbi_1plus: Boolean outcome flag for the common 1+ RBI leg.
  • runs_1plus: Boolean outcome flag for the common 1+ run scored leg.
  • home_run_1plus: Boolean outcome flag for the common home-run leg.
  • player_prior_games: Number of prior completed games for the hitter before this game.
  • player_days_since_prev_game: Days since the hitter's previous completed game.
  • player_rolling_plate_appearances_last_5: Pregame average plate appearances across the hitter's previous five games.
  • player_rolling_hits_last_5: Pregame average hits across the hitter's previous five games.
  • player_rolling_total_bases_last_5: Pregame average total bases across the hitter's previous five games.
  • player_rolling_rbi_last_5: Pregame average RBI across the hitter's previous five games.
  • player_rolling_runs_last_5: Pregame average runs scored across the hitter's previous five games.
  • player_rolling_home_runs_last_10: Pregame average home runs across the hitter's previous ten games.
  • player_rolling_batting_avg_last_10: Pregame batting average calculated from the hitter's previous ten games.
  • player_rolling_hit_rate_last_10: Pregame share of the hitter's previous ten games with at least one hit.
  • player_rolling_tb2_rate_last_10: Pregame share of the hitter's previous ten games with at least two total bases.
  • player_rolling_rbi_rate_last_10: Pregame share of the hitter's previous ten games with at least one RBI.
  • player_rolling_run_rate_last_10: Pregame share of the hitter's previous ten games with at least one run scored.
  • player_rolling_hr_rate_last_10: Pregame share of the hitter's previous ten games with at least one home run.
  • player_rolling_strikeout_rate_last_10: Pregame strikeout-per-plate-appearance rate across the hitter's previous ten games.
  • player_rolling_walk_rate_last_10: Pregame walk-per-plate-appearance rate across the hitter's previous ten games.
  • player_season_to_date_hit_rate: Pregame season-to-date share of games with at least one hit.
  • player_season_to_date_tb2_rate: Pregame season-to-date share of games with at least two total bases.
  • player_season_to_date_rbi_rate: Pregame season-to-date share of games with at least one RBI.
  • player_season_to_date_run_rate: Pregame season-to-date share of games with at least one run scored.
  • player_season_to_date_hr_rate: Pregame season-to-date share of games with at least one home run.
  • prior_games_vs_opponent: Number of prior completed games for the hitter against the same opponent before this game.
  • prior_hit_rate_vs_opponent: Pregame share of prior games against the same opponent with at least one hit.
  • prior_tb2_rate_vs_opponent: Pregame share of prior games against the same opponent with at least two total bases.
  • team_prior_games: Number of prior completed games for the hitter's team before this game.
  • team_days_since_prev_game: Days since the hitter's team played its previous completed game.
  • team_rolling_runs_scored_last_5: Pregame average runs scored by the hitter's team across its previous five games.
  • team_rolling_hits_last_5: Pregame average hits by the hitter's team across its previous five games.
  • team_rolling_runs_allowed_last_5: Pregame average runs allowed by the hitter's team across its previous five games.
  • team_rolling_hits_allowed_last_5: Pregame average hits allowed by the hitter's team across its previous five games.
  • team_rolling_win_pct_last_5: Pregame win percentage for the hitter's team across its previous five games.
  • team_season_to_date_runs_scored_avg: Pregame season-to-date average runs scored by the hitter's team.
  • team_season_to_date_hits_avg: Pregame season-to-date average hits by the hitter's team.
  • team_season_to_date_runs_allowed_avg: Pregame season-to-date average runs allowed by the hitter's team.
  • opponent_team_prior_games: Number of prior completed games for the opposing team before this matchup.
  • opponent_team_days_since_prev_game: Days since the opposing team played its previous completed game.
  • opponent_team_rolling_runs_scored_last_5: Pregame average runs scored by the opposing team across its previous five games.
  • opponent_team_rolling_hits_last_5: Pregame average hits by the opposing team across its previous five games.
  • opponent_team_rolling_runs_allowed_last_5: Pregame average runs allowed by the opposing team across its previous five games.
  • opponent_team_rolling_hits_allowed_last_5: Pregame average hits allowed by the opposing team across its previous five games.
  • opponent_team_rolling_win_pct_last_5: Pregame win percentage for the opposing team across its previous five games.
  • opponent_team_season_to_date_runs_scored_avg: Pregame season-to-date average runs scored by the opposing team.
  • opponent_team_season_to_date_hits_avg: Pregame season-to-date average hits by the opposing team.
  • opponent_team_season_to_date_runs_allowed_avg: Pregame season-to-date average runs allowed by the opposing team.
  • opponent_starter_prior_starts: Number of prior completed starts for the opposing actual starter before this game.
  • opponent_starter_days_since_prev_start: Days since the opposing actual starter's previous completed start.
  • opponent_starter_rolling_innings_last_3: Pregame average innings pitched across the opposing starter's previous three starts.
  • opponent_starter_rolling_hits_allowed_last_3: Pregame average hits allowed across the opposing starter's previous three starts.
  • opponent_starter_rolling_earned_runs_last_3: Pregame average earned runs allowed across the opposing starter's previous three starts.
  • opponent_starter_rolling_walks_allowed_last_3: Pregame average walks allowed across the opposing starter's previous three starts.
  • opponent_starter_rolling_strikeouts_last_3: Pregame average strikeouts recorded across the opposing starter's previous three starts.
  • opponent_starter_rolling_home_runs_allowed_last_3: Pregame average home runs allowed across the opposing starter's previous three starts.
  • opponent_starter_rolling_era_last_5: Pregame ERA calculated from the opposing starter's previous five starts.
  • opponent_starter_rolling_whip_last_5: Pregame WHIP calculated from the opposing starter's previous five starts.
  • opponent_starter_season_to_date_era: Pregame season-to-date ERA for the opposing actual starter.
  • source_url: Official MLB schedule endpoint URL for the game.
  • source_domain: Source domain list used to build the row.
  • last_collected_at: UTC timestamp when the current dataset build finished.

Dataset Structure

  • Rows: 8,391
  • Columns: 122
  • Split: data
  • File: data/data.parquet

Full Dataset Access

Sample (this repo) Full Dataset
Rows 8,391 167,824
Columns 122 122
Auth required No Yes (after purchase)
Price Free See pricing

Final CTA

Get the full dataset: https://thearticulated.gumroad.com/l/enkwx


Karmane. (2025). MLB Same-Game Parlay Hitter Trend Dataset for Total Bases and RBI Research (Free Sample). Hugging Face. https://huggingface.co/datasets/Karmane/mlb-same-game-parlay-hitter-trends-sample