check_injfollowup: Check the dates in injury data and exposure data

View source: R/helpers.R

check_injfollowupR Documentation

Check the dates in injury data and exposure data

Description

Check that dates of injury data are within the dates of exposure data.

Usage

check_injfollowup(followup_df, data_injuries)

Arguments

followup_df

Data frame created inside prepare_all() function.

data_injuries

Data frame given in prepare_all() function.

Value

Same injury data or cut injury data in which the dates of injury occurrences are within the dates of each player's follow-up period.


injurytools documentation built on Nov. 15, 2023, 1:06 a.m.