Skip to content

Commit

Permalink
Add ethnicity figures to report
Browse files Browse the repository at this point in the history
  • Loading branch information
milanwiedemann committed Oct 4, 2024
1 parent 3899cd9 commit b6c8cf2
Showing 1 changed file with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions reports/pharmacy_first_report.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,23 @@ plot_measures(

```{r, message=FALSE, warning=FALSE}
# TODO
```

## Clinical Pathways
# Select measures and breakdown
df_measures_selected <- df_measures %>%
filter(measure_desc == "clinical_service") %>%
filter(group_by == "Ethnicity")
This section focuses on the Clinical Pathways element of the Pharmacy First service.
# Create visualisation
plot_measures(
df_measures_selected,
select_value = numerator,
select_interval_date = interval_end,
colour_var = ethnicity,
guide_nrow = 2,
facet_wrap = TRUE,
facet_var = measure,
)
```

## Clinical Condition

Expand Down Expand Up @@ -311,6 +321,19 @@ plot_measures(

```{r, message=FALSE, warning=FALSE}
# TODO
# Select measures and breakdown
df_measures_selected <- df_measures %>%
filter(measure_desc == "clinical_condition") %>%
filter(group_by == "Ethnicity")
# Create visualisation
plot_measures(
df_measures_selected,
select_value = numerator,
select_interval_date = interval_end,
colour_var = ethnicity,
guide_nrow = 2,
facet_wrap = TRUE,
facet_var = measure,
)
```

0 comments on commit b6c8cf2

Please sign in to comment.