Skip to content

Commit

Permalink
Fix heard of RAP graph and add RAP champ graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ldavies99 committed Jan 3, 2024
1 parent 13a11d3 commit 9f66b92
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions quarto/main/summary.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,16 @@ Please [contact the analysis standards and pipelines team](mailto:[email protected]

```{r}
plot <- CARS::plot_freqs(tables$rap_knowledge, n = samples$not_RAP_champ, break_q_names_col = "value", max_lines = 3, xlab = "Knowledge", font_size = 14, orientation = "h")
table <- CARS::df_to_table(tables$rap_knowledge, n = samples$not_RAP_champ, column_headers = c("Knowledge", "Percent"))
plot <- CARS::plot_freqs(tables$rap_knowledge, n = samples$code_at_work, xlab = "Heard of RAP?", font_size = 14, orientation = "v")
table <- CARS::df_to_table(tables$rap_knowledge, n = samples$code_at_work, column_headers = c("Knowledge", "Percent"))
CARS::wrap_outputs("rap-knowledge", plot, table)
plot <- CARS::plot_freqs(tables$rap_champ_status, n = samples$heard_of_RAP, break_q_names_col = "value", max_lines = 2, xlab = "Heard of RAP champions?", font_size = 14, orientation = "h")
table <- CARS::df_to_table(tables$rap_champ_status, n = samples$heard_of_RAP, column_headers = c("Knowledge", "Percent"))
CARS::wrap_outputs("rap-champ-status", plot, table)
```

### Most respondents have heard of the RAP strategy
Expand Down

0 comments on commit 9f66b92

Please sign in to comment.