addCohortsCapr.Rd
This function adds capr cohorts to a subfolder in input/cohortsToCreate. The subfolder is specified by the type.
addCohortsCapr(
folderName,
caprList,
cohortFolder = here::here("input/cohortsToCreate")
)
the name of the folder to add the cohorts
a list of capr objects to upload into the input/cohortsToCreate folder of the project
the input/cohortsToCreate folder to save the cohorts, defaults to the folder within the active project binding