# A Toolkit for Sports Injury and Illness Data Analysis

## Documentation for package ‘injurytools’ version 2.0.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

calc_burden | Calculate case burden rate
calc_exposure | Calculate the exposure time
calc_incidence | Calculate case incidence rate
calc_iqr_dayslost | Calculate the interquartile range days lost
calc_mean_dayslost | Calculate the mean days lost
calc_median_dayslost | Calculate the median days lost
calc_ncases | Calculate number of cases
calc_ndayslost | Calculate number of days lost
calc_prevalence | Calculate prevalence proportion
calc_summary | Calculate summary statistics
cut_injd | Cut the range of the follow-up
date2season | Get the season
get_data_exposures | Extract exposures data frame
get_data_followup | Extract follow-up data frame
get_data_injuries | Extract injury/illness data frame
gg_photo | Plot injuries and illnesses over the follow-up period
gg_prevalence | Plot bar plots representing players' prevalence
gg_rank | Plot athlete's health problem incidence or burden ranking
gg_riskmatrix | Plot risk matrices
injd | Example of an 'injd' object
is_injd | Check if an object is of class 'injd'
prepare_all | Prepare data in a standardized format
prepare_data | Prepare data in a standardized format
prepare_exp | Prepare data in a standardized format
prepare_inj | Prepare data in a standardized format
raw_df_exposures | Minimal example of exposure data
raw_df_injuries | Minimal example of injury data
season2year | Get the year