Skip to content

Add team home/away performance split chart #36

Description

@Mattsface

Goal

Add a Home/Away split view showing how a team's per-game trend differs when playing at home versus on the road.

Scope

  • Split rolling and season averages by home_away (already persisted on team_game_batting_lines, currently unused by analytics)
  • Start with Runs/Game as the split stat; keep the analytics function generic enough to reuse for Hits or batting K later
  • Preserve team/season/window selectors and shareable URLs, matching the existing chart routes
  • Browser stays DB-only; no new ingestion or schema changes required
  • No opponent-strength adjustment, park factors, or significance testing yet

Keep this separate from the existing Hits, Strikeouts, Runs, and normalized comparison pages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions