Batch Cohort · Aperivue/medsci-skills
Generate batch R/Python scripts for cohort studies
Takes one validated analysis template and generates a batch of R or Python scripts across multiple exposure-outcome variable combinations for epidemiological cohort research, useful for researchers running systematic variable-swap analyses on datasets like NHANES or KNHANES.
Good for
- Swap exposure and outcome variables across a template
- Generate batch analysis scripts for a cohort dataset
- Build a summary matrix across many variable combinations
- Source repository
- Aperivue/medsci-skills
- Category
- Medicine
Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.
A good place to start
Take my validated NHANES regression template and generate batch R scripts for these exposure-outcome pairs: depression-diabetes, obesity-hypertension, smoking-CVD.

Make your next great thing.
Bring a question, a file, or an idea that’s not quite there yet.