Package: BAwiR
----------------------

Version: 1.5 [2026-02-27]
* This is an extended version of the package to analyze lineups in detail.
** do_lineup_metrics() computes the statistics related to a single lineup.
** do_study_lineup() computes the statistics related to all lineups that any team shows in a game.
** do_possession_stats_lineup() computes the offensive and defensive ratings related to a lineup.
** do_four_factors_df_lineup() computes the four factors related to a lineup.
** get_net_rtg_on_off() computes the net rating when a specific player is on the court versus when they are on the bench.
* In addition, there are some improvements in the following functions:
** do_sub_lineup() now allows the analysis of the contributions for single players.
** do_possession() is updated to refine the situations with starting possessions.
** do_usage() is updated to refine the computation of the actions that end a possession.
* Submitted to CRAN.

Version: 1.4.4 [2026-02-05]
* Minor modification in get_four_factors_plot() to focus on defense or offense separately. 
* do_clutch_time() now allows more situations of tight games. 
* Submitted to CRAN.

Version: 1.4.3 [2025-12-09]
* Minor modification in do_usage() to avoid empty data frames. 
* Minor update in get_donut_usage_action() to control the size of the inner ring labels.
* Updates in do_possession() to refine the situations with starting possessions.
* get_barplot_monthly_stats() is now get_plot_monthly_stats() and allows to create either a bar plot or a line plot.
* Submitted to CRAN.

Version: 1.4.2 [2025-11-20]
* Minor modifications in the plot for the rosters age profiles. 
* In do_possession_stats() the number of possessions and points for all rivals of each team are added.
* Incorporation of get_sticker() to create a player's sticker with efficiency, context and usage statistics.
* Submitted to CRAN.

Version: 1.4.1 [2025-11-06]
* Incorporation of donut charts for the usage of possessions, plots for the rosters age profiles and some minor modifications regarding other functions.
* Submitted to CRAN.

Version: 1.4 [2025-10-22]
* This is an extended version of the package with a bunch of new functions developed to analyze the shooting data from the Spanish ACB league.
* Submitted to CRAN.

Version: 1.3.4 [2025-02-14]
* Correction of some typos.
* Submitted to CRAN.

Version: 1.3.3 [2025-01-21]
* A new paper related to the package has been published, so its doi link has been added to the DESCRIPTION file.
* Submitted to CRAN.

Version: 1.3.2 [2024-01-09]
* The new function do_process_acb_pbp() has been added to automatize the data collection.
* Submitted to CRAN.

Version: 1.3.1 [2023-11-14]
* The use of the ggthemes package has been removed in order to fill with the CRAN willingness.
* Submitted to CRAN.

Version: 1.3 [2023-09-26]
* This is an extended version of the package with a bunch of new functions developed to analyze the play-by-play data from the Spanish ACB league.
* It accompanies the platform available at https://www.uv.es/vivigui/basketball_platform.html
* The scraping function for the ACB box score data has been also updated.
* Submitted to CRAN.

Version: 1.2.7 [2021-07-19]
* scale_x_percent() and scale_color_ipsum() from the hrbrthemes package have been removed in get_shooting_plot() to avoid strong reverse dependencies with other packages. 
* Some links have been fixed, as required by the CRAN maintainers.
* Submitted to CRAN.

Version: 1.2.6 [2021-04-23]
* The markdown and rmarkdown packages have been added in the 'Suggests' field of DESCRIPTION, as required by the CRAN maintainers.
* Some links have been fixed, as required by the CRAN maintainers.
* Submitted to CRAN.

Version: 1.2.5 [2021-02-12]
* In get_bubble_plot(), get_four_factors_plot(), get_heatmap_bb(), get_similar_teams() and get_similar_players(): order() on data frames is no longer called, as required by the CRAN maintainers.
* Some links have been fixed, as required by the CRAN maintainers.
* Submitted to CRAN.

Version: 1.2.4 [2020-05-11]
* In do_four_factors_df(), the df6 and df7 matrices are converted to data frames with as.data.frame(), as required by the upgrade of package 'dplyr' to version 1.0.0.
* Submitted to CRAN.

Version: 1.2.3 [2020-04-14]
* In the examples of get_similar_players(), supressWarnings() has been used instead of calling options().
* An error related to anthrCases() from the package 'Anthropometry' has been corrected. This was due to the upgrade of package 'tibble' to version 3.0.0.
See version of 1.14 of 'Anthropometry'.
* as_data_frame() has been replaced by as_tibble(), as required by the upgrade of package 'tibble' to version 3.0.0.
* Submitted to CRAN.

Version: 1.2.2 [2020-03-24]
* This a minor update to avoid some negligible warnings highlighted by the new version of dplyr.
* Submitted to CRAN.

Version: 1.2.1 [2020-02-04]
* The paper presenting this package has been published, so its doi link has been added to the DESCRIPTION file.
* Submitted to CRAN.

Version: 1.2 [2019-02-17]
* get_barplot_monthly_stats() and get_stats_seasons() allow now to represent multiple players at the same time.
* get_four_factors_plot() allows now to represent multiple teams at the same time.
* get_heatmap_bb() allows to represent different aspects of the game (offensive stats, defensive stats, etc) separately or all together.
* get_pop_pyramid_acb() is now get_pop_pyramid().
* Submitted to CRAN.

Version: 1.1.3 [2018-09-24]
* In scraping_games_acb(), the seasons where there are no Plus/Minus have been updated. Thus, it is not needed to update the package every time there is a new ACB season.
* Submitted to CRAN.

Version: 1.1.2 [2018-09-10]
* An html vignette has been added.
* In get_stats_seasons()$df_gg, the column Age indicates the age of player at February 1st of the season.
* Submitted to CRAN.

Version: 1.1.1 [2018-07-10]
* The scraping numbers for the playoff games for the ACB 2017-2018 season have been added to scraping_games_acb().
* Submitted to CRAN.

Version: 1.1 [2018-05-09]
* A minor typo has been corrected in scraping_rosters_acb() and scraping_rosters_euro() to check if the data frame is NULL before adding name columns.
* In the same two functions, the colon notation in the initial loop has been replaced by seq_len to avoid the backwards sequence bug.
* A minor typo has been corrected in do_four_factors_df() to identify the games that every team played.
* get_pop_pyramid_acb() has been corrected to be in line with ggplot2 updates.
* get_map_nats() is not interactive anymore in order to harmonize with all other functions. This feature is just in the web application.
* These new functions have been added:
  - do_stats_teams(): Total and average statistics for every team.
  - get_similar_teams(): Similar teams to archetypoids.
  - get_stats_seasons(): Season-by-season average players' stats.
  - get_table_results(): Cross table of league results.
* Submitted to CRAN.

Version: 1.0 [2018-01-25]
* First package version.
* Submitted to CRAN.
