Reads the RDS file, checks it is a cohort file, and re-validates the
cohort before returning it. A cohort saved by an older version of the
package gets the default for each property added since then, and a
subject QC flag saved by biocohort 0.1.x as qc_status/qc_reason in
subject_tbl is renamed to subject_qc_status/subject_qc_reason, the
names cohort_qc() now uses.
Arguments
- path
Path to a file written by
cohort_save().
Value
The Cohort object.