Skip to content

Package that scrapes and cleans college softball data from NCAA, ESPN, and a few others.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

sportsdataverse/softballR

Repository files navigation

softballR

softballR is an R package for acquiring NCAA softball data.

The package has functions for obtaining game-by-game scores, box scores, (some) play-by-play, and some different rankings websites.

Installation

You can install the current version (1.2.0) of the package like this:

# install.packages("devtools")
devtools::install_github("tmking2002/softballR")

Important Functions

Get scores for all games in a given season

scoreboard <- softballR::load_ncaa_softball_scoreboard(season = 2023)

Get box scores for all games in a given season (Only has 2023 data for now)

hitting <- softballR::load_ncaa_softball_playerbox(season = 2023, category = "Hitting")

pitching <- softballR::load_ncaa_softball_playerbox(season = 2023, category = "Pitching")

Get all NCAA play by play data for a given team and season (2021-2023 for now)

# Use Oklahoma 2022 as example

team_id <- softballR::ncaa_softball_teams(2022) %>%
    dplyr::filter(team_name == "Oklahoma") %>%
    dplyr::pull(softball_id)
    
pbp <- softballR::ncaa_softball_season_pbp(team_id)

Author

Tyson King
@tking0426 @tmking2002

About

Package that scrapes and cleans college softball data from NCAA, ESPN, and a few others.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages