Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nippon-Baseball-Data-Repository

Holds public data for the Nippon Professional Baseball (NPB) League, a professional baseball league based in Japan.

Data

This repository will consistently refresh Data is housed in individual releases due to ease of use, and can be accessed below. Most of the data for this repository is largely sourced from SPAIA, a Japanese sports website that just happens to have a treasure trove of NPB stats and information.

Data Endpoints

Data point Release Job Status
Player Game Stats Player Game Stats Update NPB Game Stats
Play-by-play (PBP) PBP Update NPB PBP
Rosters NPB Rosters Update NPB Rosters
Schedules Schedule Update NPB Schedules and Standings
Schedules Game_Standings Update NPB Schedules and Standings
NPB Draft NPB Draft Update NPB Schedules and Standings

Why releases over just comminting to the repository?

GitHub (and by extension most Git implementations) struggles to properly handle changes to binary files, and changes to large (25+ MB) files if you're constantly making changes to files.

If you want a more in-depth explanation, @tanho63's Project Immortality: Using GitHub To Make Your Work Live Forever talk during Posit (2022) goes a bit more into detail about some of the technical reasons why this is the case.

How to contribute

If you would like for a feature to be added, or for a bug to be fixed you can open an issue so that it can be put under consideration. If you would like to contribute data or code to this project, please create a pull request. If everything with the request is good, I'll make the best effort possible to include that pull into this repo.

Liscensing

The code within this repository is governed by the MIT liscense, Wikipedia has a very good writeup on the basics of the MIT liscense if you want to learn more.

If you wish to use the data of this repository, the only thing we would like to ask is for you to please include the following text in a way where any user can see it:

This uses data sourced from the Nippon Baseball Data Repository, which can be accessed here:

https://github.com/armstjc/Nippon-Baseball-Data-Repository

And if you need to cite this repo for academic work, here is how to cite the repo for APA:

Armstrong, Joseph (2026). Nippon Baseball Data Repository (Main Branch) [Computer software].
https://github.com/armstjc/Nippon-Baseball-Data-Repository/tree/main

About

Holds public data for the Nippon Professional Baseball (NPB) League, a professional baseball league based in Japan.

Topics

Resources

Stars

9 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages