function to subset the cohortManifest based on category and sub category

getAnalysisCohortsByCategory(
  cohortCategory,
  cohortSubCategory = NULL,
  cohortManifestPath = here::here("inputs/cohorts/cohortManifest.csv")
)

Arguments

cohortCategory

the category label in the cohort manifest

cohortSubCategory

the subCategory label to filter the cohort manifest, default is null

cohortManifestPath

the path to the manifest. Defaults to the standard ulysses path

Value

a tibble subsetting the cohort manifest by the id and label