Skip to contents

Prepare sports injury 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

Compute injury summary statistics

Functions to estimate sports injury summary statistics.

injsummary()
Estimate injury summary statistics
injprev()
Calculate injury prevalence

Visualize sports injury data

Functions to visualize relevant information in sports injury data.

gg_injphoto()
Plot injuries over the follow-up period
gg_injbarplot()
Plot player's injury incidence/burden ranking
gg_injprev_polar()
Plot polar area diagrams representing players' prevalence
gg_injriskmatrix()
Plot risk matrices

Data sets

Internal data sets to illustrate injurytools functionalities.

raw_df_exposures
Minimal example of exposure data
raw_df_injuries
Minimal example of injury data
injd
Example of an injd object

Utilities

Utility functions.

date2season()
Get the season
season2year()
Get the year
cut_injd()
Cut the range of the follow-up
is_injd()
Check if an object is of class injd
is_injds()
Check if an object is of class injds