--- license: mit task_categories: - other language: - en tags: - baseball - mlb - statcast - sports-analytics size_categories: - 100K 0)] print(f"Average exit velocity: {hits['launch_speed'].mean():.1f} mph") ``` ## Data Pipeline This dataset is maintained by an automated pipeline that: 1. Fetches daily Statcast data using pybaseball 2. Cleans and standardizes the data format 3. Merges with existing data and removes duplicates 4. Updates the Hugging Face dataset with new information ## Data Quality - **Deduplication**: Removes duplicate pitches based on game_pk, at_bat_number, and pitch_number - **Standardization**: Consistent data types and null value handling - **Validation**: Ensures data integrity before upload ## Updates The dataset is automatically updated daily at 6 AM UTC to include the previous day's games. Updates typically include: - All pitch-by-pitch data from completed games - Corrected data for any previously uploaded games - Advanced metrics and calculated fields ## License MIT License - Data is publicly available from MLB Advanced Media. ## Attribution Data sourced from MLB Advanced Media via the pybaseball Python package.