| Title: | A Comprehensive Collection of Sports and Athletics Datasets |
|---|---|
| Description: | Offers a rich and diverse collection of datasets focused on sports, athletics, physical performance, and related disciplines. The package includes professional and amateur sports data covering team sports such as soccer, basketball, baseball, American football, volleyball, rugby, cricket, hockey, and handball, as well as individual sports including tennis, badminton, table tennis, golf, swimming, cycling, athletics, gymnastics, wrestling, boxing, martial arts, weightlifting, triathlon, rowing, canoeing, climbing, surfing, skiing, snowboarding, and motorsports. Datasets cover player and team performance, match statistics, tournament results, championship standings, Olympic and international competitions, rankings, player demographics, coaching and training, biomechanics, sports medicine, injuries, exercise physiology, fitness assessment, sports nutrition, wearable sensor measurements, talent identification, and sports analytics. Additional datasets include historical competitions, referee decisions, fan engagement, economic indicators, and sports management data obtained from public repositories, official organizations, research publications, and educational resources. Designed for sports scientists, coaches, analysts, researchers, educators, students, and data scientists, this package facilitates exploratory data analysis, statistical modeling, machine learning, visualization, and sports analytics research. |
| Authors: | Renzo Caceres Rossi [aut, cre] (ORCID: <https://orcid.org/0009-0005-0744-854X>) |
| Maintainer: | Renzo Caceres Rossi <[email protected]> |
| License: | GPL-3 |
| Version: | 0.1.0 |
| Built: | 2026-09-26 09:55:55 UTC |
| Source: | https://github.com/lightbluetitan/sportsr |
This dataset, atp_matches_2019, is a data frame containing match-level data for men's professional tennis matches played on the ATP Tour during 2019. It includes information on tournament details, court and surface conditions, player rankings and points, set-by-set scores, and betting odds from multiple bookmakers for each match.
data(atp_matches_2019)data(atp_matches_2019)
A data frame with 2610 observations and 36 variables:
Integer vector indicating the ATP tournament identification number
Character vector indicating the city where the tournament was played
Character vector indicating the name of the tournament
Character vector indicating the date the match was played
Character vector indicating the ATP series or category of the tournament
Character vector indicating whether the match was played indoors or outdoors
Character vector indicating the court surface (e.g., Hard, Clay, Grass)
Character vector indicating the round of the tournament
Integer vector indicating the maximum number of sets played (3 or 5)
Character vector indicating the name of the match winner
Character vector indicating the name of the match loser
Character vector indicating the ATP ranking of the winner
Character vector indicating the ATP ranking of the loser
Character vector indicating the ATP ranking points of the winner
Character vector indicating the ATP ranking points of the loser
Integer vector indicating the games won by the winner in set 1
Integer vector indicating the games won by the loser in set 1
Integer vector indicating the games won by the winner in set 2
Integer vector indicating the games won by the loser in set 2
Integer vector indicating the games won by the winner in set 3
Integer vector indicating the games won by the loser in set 3
Integer vector indicating the games won by the winner in set 4
Integer vector indicating the games won by the loser in set 4
Integer vector indicating the games won by the winner in set 5
Integer vector indicating the games won by the loser in set 5
Integer vector indicating the total number of sets won by the winner
Integer vector indicating the total number of sets won by the loser
Character vector indicating the match outcome status (e.g., Completed, Retired, Walkover)
Numeric vector indicating the Bet365 odds for the winner
Numeric vector indicating the Bet365 odds for the loser
Numeric vector indicating the Pinnacle Sports odds for the winner
Numeric vector indicating the Pinnacle Sports odds for the loser
Numeric vector indicating the maximum odds offered by any bookmaker for the winner
Numeric vector indicating the maximum odds offered by any bookmaker for the loser
Numeric vector indicating the average odds offered across bookmakers for the winner
Numeric vector indicating the average odds offered across bookmakers for the loser
The dataset name has been kept as 'atp_matches_2019' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the welo package version 0.1.4
This dataset, english_football, is a data frame containing results for English soccer games in the top 4 tiers from the 1888/89 season to the 2021/22 season. It includes information on match dates, seasons, home and visiting teams, full-time scores, goals scored, division, tier, and match outcomes.
data(english_football)data(english_football)
A data frame with 203956 observations and 12 variables:
Character vector indicating the date of the match
Numeric vector indicating the season
Character vector indicating the home team
Character vector indicating the visiting team
Character vector indicating the full-time score
Integer vector indicating the number of goals scored by the home team
Integer vector indicating the number of goals scored by the visiting team
Character vector indicating the division
Numeric vector indicating the tier
Integer vector indicating the total number of goals scored in the match
Integer vector indicating the goal difference
Character vector indicating the match result
The dataset name has been kept as 'english_football' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the footBayes package version 2.0.0
This dataset, italian_football, is a data frame containing results for Italian soccer games in the top tier from the 1934/35 season to the 2021/22 season. It includes information on match dates, seasons, home and visiting teams, full-time scores, and goals scored.
data(italian_football)data(italian_football)
A data frame with 27684 observations and 8 variables:
Date vector indicating the date of the match
Numeric vector indicating the season
Character vector indicating the home team
Character vector indicating the visiting team
Character vector indicating the full-time score
Integer vector indicating the number of goals scored by the home team
Integer vector indicating the number of goals scored by the visiting team
Numeric vector indicating the tier
The dataset name has been kept as 'italian_football' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the footBayes package version 2.0.0
This dataset, mlb_teams_2019, is a data frame containing season-level team statistics for Major League Baseball teams during the 2019 season. It includes information on league affiliation, wins, and offensive statistics such as runs, hits, home runs, RBI, stolen bases, walks, strikeouts, and batting average.
data(mlb_teams_2019)data(mlb_teams_2019)
A data frame with 30 observations and 14 variables:
Factor w/ 30 levels indicating the name of the MLB team
Factor w/ 2 levels indicating the league the team belongs to (American or National)
Integer vector indicating the number of games won by the team
Integer vector indicating the total number of runs scored by the team
Integer vector indicating the total number of hits by the team
Integer vector indicating the total number of doubles hit by the team
Integer vector indicating the total number of triples hit by the team
Integer vector indicating the total number of home runs hit by the team
Integer vector indicating the total number of runs batted in by the team
Integer vector indicating the total number of stolen bases by the team
Integer vector indicating the total number of times the team was caught stealing
Integer vector indicating the total number of walks drawn by the team
Integer vector indicating the total number of strikeouts by the team
Numeric vector indicating the team's overall batting average
The dataset name has been kept as 'mlb_teams_2019' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the Lock5Data package version 4.0.1
This dataset, mlb_teams_2024, is a data frame containing season-level team statistics for Major League Baseball teams during the 2024 season. It includes information on league affiliation, wins, and offensive statistics such as runs, hits, home runs, RBI, stolen bases, walks, strikeouts, and batting average.
data(mlb_teams_2024)data(mlb_teams_2024)
A data frame with 30 observations and 14 variables:
Character vector indicating the name of the MLB team
Character vector indicating the league the team belongs to (American or National)
Integer vector indicating the number of games won by the team
Integer vector indicating the total number of runs scored by the team
Integer vector indicating the total number of hits by the team
Integer vector indicating the total number of doubles hit by the team
Integer vector indicating the total number of triples hit by the team
Integer vector indicating the total number of home runs hit by the team
Integer vector indicating the total number of runs batted in by the team
Integer vector indicating the total number of stolen bases by the team
Integer vector indicating the total number of times the team was caught stealing
Integer vector indicating the total number of walks drawn by the team
Integer vector indicating the total number of strikeouts by the team
Numeric vector indicating the team's overall batting average
The dataset name has been kept as 'mlb_teams_2024' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the Lock5Data package version 4.0.1
This dataset, pga_results, is a data frame containing player-level results and performance statistics from PGA Tour tournaments. It includes information on tournament and player identifiers, scoring, fantasy points (DraftKings, FanDuel, and SuperDraft), cut status, finishing position, tournament details such as course, date, purse and season, and strokes gained statistics across different aspects of the game.
data(pga_results)data(pga_results)
A data frame with 3676 observations and 34 variables:
Character vector indicating the player's name in initial-last format
Integer vector indicating the tournament identification number
Integer vector indicating the player identification number
Integer vector indicating the par for the hole
Integer vector indicating the number of strokes taken
Numeric vector indicating the DraftKings points earned per hole
Numeric vector indicating the FanDuel points earned per hole
Integer vector indicating the SuperDraft points earned per hole
Integer vector indicating the DraftKings streak bonus points
Numeric vector indicating the FanDuel streak bonus points
Integer vector indicating the SuperDraft streak bonus points
Integer vector indicating the number of rounds played
Integer vector indicating whether the player made the cut
Integer vector indicating the player's finishing position
Integer vector indicating the DraftKings points earned for finishing position
Integer vector indicating the FanDuel points earned for finishing position
Integer vector indicating the SuperDraft points earned for finishing position
Numeric vector indicating the total DraftKings points earned
Numeric vector indicating the total FanDuel points earned
Integer vector indicating the total SuperDraft points earned
Character vector indicating the full name of the player
Character vector indicating the name of the tournament
Character vector indicating the name of the golf course
Character vector indicating the date of the tournament
Numeric vector indicating the total prize money offered at the tournament
Integer vector indicating the season or year of the tournament
Integer vector indicating whether the tournament had no cut
Character vector indicating the player's final finishing position
Numeric vector indicating strokes gained putting
Numeric vector indicating strokes gained around the green
Numeric vector indicating strokes gained approach
Numeric vector indicating strokes gained off the tee
Numeric vector indicating strokes gained tee to green
Numeric vector indicating total strokes gained
The dataset name has been kept as 'pga_results' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the ISAR package version 1.0.5
This package provides a diverse collection of datasets focused on sports, athletics, physical performance, and related disciplines. The package includes professional and amateur sports data covering team sports such as soccer, basketball, baseball, American football, volleyball, rugby, cricket and more.
sportsR: A Comprehensive Collection of Sports and Athletics Datasets
A Comprehensive Collection of Sports and Athletics Datasets.
Maintainer: Renzo Caceres Rossi [email protected]
Useful links:
This function lists all datasets available in the 'sportsR' package. If the 'sportsR' package is not loaded, it stops and shows an error message. If no datasets are available, it returns a message and an empty vector.
view_datasets_sportsR()view_datasets_sportsR()
A character vector with the names of the available datasets. If no datasets are found, it returns an empty character vector.
if (requireNamespace("sportsR", quietly = TRUE)) { library(sportsR) view_datasets_sportsR() }if (requireNamespace("sportsR", quietly = TRUE)) { library(sportsR) view_datasets_sportsR() }
This dataset, warriors_2016, is a data frame containing game-by-game team statistics for the Golden State Warriors during the 2016 NBA season. It includes information on game location, opponent, win/loss outcome, points scored, and detailed shooting, rebounding, and other box score statistics for both the Warriors and their opponents.
data(warriors_2016)data(warriors_2016)
A data frame with 82 observations and 33 variables:
Integer vector indicating the game number in the season
Factor w/ 82 levels indicating the date the game was played
Factor w/ 2 levels indicating whether the game was played at home or away
Factor w/ 29 levels indicating the opposing team
Factor w/ 2 levels indicating whether the Warriors won or lost the game
Integer vector indicating the points scored by the Warriors
Integer vector indicating the points scored by the opponent
Integer vector indicating the number of field goals made by the Warriors
Integer vector indicating the number of field goals attempted by the Warriors
Integer vector indicating the number of three-point field goals made by the Warriors
Integer vector indicating the number of three-point field goals attempted by the Warriors
Integer vector indicating the number of free throws made by the Warriors
Integer vector indicating the number of free throws attempted by the Warriors
Integer vector indicating the total rebounds by the Warriors
Integer vector indicating the offensive rebounds by the Warriors
Integer vector indicating the assists by the Warriors
Integer vector indicating the steals by the Warriors
Integer vector indicating the blocks by the Warriors
Integer vector indicating the turnovers committed by the Warriors
Integer vector indicating the personal fouls committed by the Warriors
Integer vector indicating the number of field goals made by the opponent
Integer vector indicating the number of field goals attempted by the opponent
Integer vector indicating the number of three-point field goals made by the opponent
Integer vector indicating the number of three-point field goals attempted by the opponent
Integer vector indicating the number of free throws made by the opponent
Integer vector indicating the number of free throws attempted by the opponent
Integer vector indicating the total rebounds by the opponent
Integer vector indicating the offensive rebounds by the opponent
Integer vector indicating the assists by the opponent
Integer vector indicating the steals by the opponent
Integer vector indicating the blocks by the opponent
Integer vector indicating the turnovers committed by the opponent
Integer vector indicating the personal fouls committed by the opponent
The dataset name has been kept as 'warriors_2016' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the Lock5Data package version 4.0.1
This dataset, warriors_2019, is a data frame containing game-by-game team statistics for the Golden State Warriors during the 2019 NBA season. It includes information on game location, opponent, win/loss outcome, points scored, and detailed shooting, rebounding, and other box score statistics for both the Warriors and their opponents.
data(warriors_2019)data(warriors_2019)
A data frame with 82 observations and 33 variables:
Integer vector indicating the game number in the season
Factor w/ 82 levels indicating the date the game was played
Factor w/ 2 levels indicating whether the game was played at home or away
Factor w/ 29 levels indicating the opposing team
Factor w/ 2 levels indicating whether the Warriors won or lost the game
Integer vector indicating the points scored by the Warriors
Integer vector indicating the number of field goals made by the Warriors
Integer vector indicating the number of field goals attempted by the Warriors
Integer vector indicating the number of three-point field goals made by the Warriors
Integer vector indicating the number of three-point field goals attempted by the Warriors
Integer vector indicating the number of free throws made by the Warriors
Integer vector indicating the number of free throws attempted by the Warriors
Integer vector indicating the total rebounds by the Warriors
Integer vector indicating the offensive rebounds by the Warriors
Integer vector indicating the assists by the Warriors
Integer vector indicating the steals by the Warriors
Integer vector indicating the blocks by the Warriors
Integer vector indicating the turnovers committed by the Warriors
Integer vector indicating the personal fouls committed by the Warriors
Integer vector indicating the points scored by the opponent
Integer vector indicating the number of field goals made by the opponent
Integer vector indicating the number of field goals attempted by the opponent
Integer vector indicating the number of three-point field goals made by the opponent
Integer vector indicating the number of three-point field goals attempted by the opponent
Integer vector indicating the number of free throws made by the opponent
Integer vector indicating the number of free throws attempted by the opponent
Integer vector indicating the total rebounds by the opponent
Integer vector indicating the offensive rebounds by the opponent
Integer vector indicating the assists by the opponent
Integer vector indicating the steals by the opponent
Integer vector indicating the blocks by the opponent
Integer vector indicating the turnovers committed by the opponent
Integer vector indicating the personal fouls committed by the opponent
The dataset name has been kept as 'warriors_2019' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the Lock5Data package version 4.0.1
This dataset, wta_matches_2019, is a data frame containing match-level data for women's professional tennis matches played on the WTA Tour during 2019. It includes information on tournament details, court and surface conditions, player rankings and points, set-by-set scores, and betting odds from multiple bookmakers for each match.
data(wta_matches_2019)data(wta_matches_2019)
A data frame with 2472 observations and 32 variables:
Integer vector indicating the WTA tournament identification number
Character vector indicating the city where the tournament was played
Character vector indicating the name of the tournament
Character vector indicating the date the match was played
Character vector indicating the WTA tier or category of the tournament
Character vector indicating whether the match was played indoors or outdoors
Character vector indicating the court surface (e.g., Hard, Clay, Grass)
Character vector indicating the round of the tournament
Integer vector indicating the maximum number of sets played
Character vector indicating the name of the match winner
Character vector indicating the name of the match loser
Character vector indicating the WTA ranking of the winner
Character vector indicating the WTA ranking of the loser
Character vector indicating the WTA ranking points of the winner
Character vector indicating the WTA ranking points of the loser
Integer vector indicating the games won by the winner in set 1
Integer vector indicating the games won by the loser in set 1
Integer vector indicating the games won by the winner in set 2
Integer vector indicating the games won by the loser in set 2
Integer vector indicating the games won by the winner in set 3
Integer vector indicating the games won by the loser in set 3
Integer vector indicating the total number of sets won by the winner
Integer vector indicating the total number of sets won by the loser
Character vector indicating the match outcome status (e.g., Completed, Retired, Walkover)
Numeric vector indicating the Bet365 odds for the winner
Numeric vector indicating the Bet365 odds for the loser
Numeric vector indicating the Pinnacle Sports odds for the winner
Numeric vector indicating the Pinnacle Sports odds for the loser
Numeric vector indicating the maximum odds offered by any bookmaker for the winner
Numeric vector indicating the maximum odds offered by any bookmaker for the loser
Numeric vector indicating the average odds offered across bookmakers for the winner
Numeric vector indicating the average odds offered across bookmakers for the loser
The dataset name has been kept as 'wta_matches_2019' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the sportsR package and assists users in identifying its specific characteristics.
Data taken from the welo package version 0.1.4