create_obi_cohort.Rd
this function does
include case ≥2020-01-01 based on infant date of birth
include case if case is complete using flg_complete
create case_locked varaible using 90 days lock
filter to complete and locked cases(limit_to_locked = TRUE)
create mdhhs_id character variable with leading 0's
create_obi_cohort(df, limit_to_locked = T)
Data frame -- usually this is the data frame read into R using data.table::fread
Logical -- if TRUE, only return cases that are locked