View source: R/DataPreparation.R
prepareCovariatesData | R Documentation |
Prepare covariate data
prepareCovariatesData( listOfDirectories, filterWindowIds = NULL, cohortIds, covariateName = "covariate.csv", covariateValueName = "covariate_value.csv" )
listOfDirectories |
directories where stored covariate.csv and covariate_value.csv |
filterWindowIds |
window_ids to filter |
cohortIds |
target cohort ids to filter |
covariateName |
name of csv contains covariate data (usually covariate.csv or covariate_ref.csv) |
covariateValueName |
name of csv contains covariate data (usually covariate_value.csv |
data.table dataframe
data <- prepareCovariatesData( listOfDirectories = directiries, filterWindowIds = NULL, cohortIds = c(103, 112), covariateName = "covariate.csv", covariateValueName = "covariate_value.csv" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.