powered by
`r lifecycle::badge("experimental")` Same as `addSex()`, except query is not computed to a table.
addSexQuery(x, sexName = "sex", missingSexValue = "None")
table x with the added column with sex information.
Table with individuals in the cdm.
name of the new column to be added.
Value to include if missing sex.
# \donttest{ library(PatientProfiles) cdm <- mockPatientProfiles(source = "duckdb") cdm$cohort1 |> addSexQuery() # }
Run the code above in your browser using DataLab