-
I'm not really sure what to do about this error? I am trying to generate multiple cohorts to look at participants over 1-month periods. My project yaml looks like this: `version: '3.3' expectations: actions: generate_study_population: Just getting used to the features and exploring at the moment - appreciate the help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Realised the mistake run: cohortextractor generate_cohort --index-date-range "2020-12-01 to 2021-12-01 by month" --output-format=csv.gz should be: run: cohortextractor:latest generate_cohort --index-date-range "2020-12-01 to 2021-12-01 by month" --output-format=csv.gz FYI the original code I had was copied over from https://docs.opensafely.org/measures/ so this might need updating. Thanks :) |
Beta Was this translation helpful? Give feedback.
-
@p-stehlik: yes, that's absolutely right. Sorry about the error in the docs -- thanks for reporting it. |
Beta Was this translation helpful? Give feedback.
-
Docs fix here: #1324. |
Beta Was this translation helpful? Give feedback.
Realised the mistake
run: cohortextractor generate_cohort --index-date-range "2020-12-01 to 2021-12-01 by month" --output-format=csv.gz
should be:
run: cohortextractor:latest generate_cohort --index-date-range "2020-12-01 to 2021-12-01 by month" --output-format=csv.gz
FYI the original code I had was copied over from https://docs.opensafely.org/measures/ so this might need updating. Thanks :)