Skip to contents

Checks that:

Usage

validate_chronogram(x)

Arguments

x

a chronogram object (class cg_tbl)

Value

TRUE if valid

Details

  • class is cg_tbl

  • the date column stored in attributes is present in data

  • the ID column stored in attributes is present in data

  • each date x participant ID is present only once (or absent).

Rarely needed by the user. cg_assemble() and annotation functions use this to check returned cg is valid.