Skip to content

Commit

Permalink
Update beginner_tutorial.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCedarPrince authored Jun 1, 2024
1 parent f78c77e commit 56a2e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/tutorials/beginner_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ age_groups = [
[90, 94],
[95, 99]
]
strep_patients_age_group = occ.GetPatientAgeGroup(strep_patients, conn; age_groupings = age_groups)
strep_patients_age_group = occ.GetPatientAgeGroup(strep_patients.person_id, conn; age_groupings = age_groups)
```

### Task: Characterize Each Person by Gender, Race, and Age Group
Expand Down Expand Up @@ -184,7 +184,7 @@ Suggested solution:
```julia
strep_patients_characterized = strep_patients_characterized[:, DF.Not(:person_id)]
strep_patient_groups = DF.groupby(strep_patients_characterized, [:race_concept_id, :gender_concept_id, :age_group])
strep_patient_groups = DF.combine(strep_patient_groups, DF.nrow => :counts)
strep_patient_groups = DF.combine(strep_patient_groups, DF.nrow => :count)
```

### Task: Execute Safety Audit
Expand Down

0 comments on commit 56a2e87

Please sign in to comment.