Dugout Value
투구·타격·예측 연구와 선수·계약·트레이드 가치를 비교하는 도구 제공
스포츠를 새롭게 바라보는 독립 분석·선수 평점·경기 예측·시뮬레이션 제공
See sport differently: independent analytics, player ratings, match predictions and simulations for football, AFL, tennis and athletics.
스포츠·피트니스R · HTMLGitHub @peteowen1온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기AFL play-by-play data and player contribution scores
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
TORP ratings, match predictions and season simulations built with this package are published, updated after every round, at inthegame.blog/afl.
torp is an R package for AFL analytics. It provides player ratings
(TORP), expected points and win probability models, season simulations,
and easy access to processed AFL data.
All data is stored as parquet files on
torpdata GitHub releases and
loaded on demand.README 전문 보기 ↗TORP ratings, match predictions and season simulations built with this package are published, updated after every round, at inthegame.blog/afl.
torp is an R package for AFL analytics. It provides player ratings (TORP), expected points and win probability models, season simulations, and easy access to processed AFL data.
# install.packages("devtools")
devtools::install_github("peteowen1/torp")
# For the latest pre-trained models
devtools::install_github("peteowen1/torpmodels")
All data is stored as parquet files on torpdata GitHub releases and loaded on demand.
library(torp)
# Play-by-play data
pbp <- load_pbp(2025, rounds = 1:10)
# Player statistics
player_stats <- load_player_stats(2025)
# Match results and fixtures
results <- load_results(2025)
fixtures <- load_fixtures(all = TRUE)
# All available data (2021+)
pbp_all <- load_pbp(TRUE, rounds = TRUE)
TORP blends two independent rating systems: EPR (from play-by-play data) and PSR (from box-score stats via Bayesian estimation + glmnet). Per-game equivalents EPV and PSV measure single-game contribution.
# Career TORP ratings (EPR + PSR blend)
ratings <- torp_ratings()
# Per-game values (EPV + PSV + torp_value)
game_ratings <- player_game_ratings(season_val = 2026)
# Season totals
season_totals <- player_season_ratings(2026)
# Bayesian stat ratings (per-stat next-game predictions)
stat_ratings <- load_player_stat_ratings(2026)
Three core models add expected points, win probability, and shot outcome predictions to play-by-play data.
pbp <- load_pbp(2025, rounds = 1:5)
pbp_clean <- clean_pbp(pbp)
# Add model predictions
pbp_ep <- add_epv_vars(pbp_clean) # Expected points
pbp_wp <- add_wp_vars(pbp_ep) # Win probability
# Simulate remaining matches based on TORP ratings
sim_result <- simulate_season(sim_teams, sim_games)
| Package | Role | Links |
|---|---|---|
| torp | Core analytics, data loading, ratings, models | GitHub |
| torpdata | Processed AFL data via GitHub releases (parquet) | GitHub |
| torpmodels | Pre-trained models via GitHub releases (RDS) | GitHub |
Data flows from the AFL API (via torp’s get_afl_*() functions) through
torp’s cleaning pipeline into torpdata, with models stored in
torpmodels.
vignette("getting-started") – Installation and data loadingvignette("torp-guide") – Ratings, models, data architecture, and
simulationMIT