Function reference
Prepare sports injury and illness data
Functions that preprocess and prepare these type of data in a standardized format.

prepare_inj()
prepare_exp()
prepare_all()
 Prepare data in a standardized format

calc_summary()
 Calculate summary statistics

calc_prevalence()
 Calculate prevalence proportion

calc_ncases()
 Calculate number of cases

calc_ndayslost()
 Calculate number of days lost

calc_mean_dayslost()
 Calculate the mean days lost

calc_median_dayslost()
 Calculate the median days lost

calc_iqr_dayslost()
 Calculate the interquartile range days lost

calc_exposure()
 Calculate the exposure time

calc_incidence()
 Calculate case incidence rate

calc_burden()
 Calculate case burden rate

gg_photo()
 Plot injuries and illnesses over the followup period

gg_riskmatrix()
 Plot risk matrices

gg_prevalence()
 Plot polar area diagrams representing players' prevalence

gg_rank()
 Plot athlete's health problem incidence or burden ranking

raw_df_exposures
 Minimal example of exposure data

raw_df_injuries
 Minimal example of injury data

injd
 Example of an
injd
object

date2season()
 Get the season

season2year()
 Get the year

cut_injd()
 Cut the range of the followup

is_injd()
 Check if an object is of class
injd

get_data_followup()
 Extract followup data frame

get_data_injuries()
 Extract injury/illness data frame

get_data_exposures()
 Extract exposures data frame