Description Usage Arguments Details Value Author(s) Examples
View source: R/oppe_consultant_report_functions.R
Get a plot of the trend for a spcified consultant
1 | coded_consults_trend_plt(.data, .consultant_col)
|
.data |
The data that you want to trend |
.consultant_col |
The column that holds the consultant name |
Get the trend plot for a given consultant
Data can come from the coded_consults_query function or data that is imported
Must have a consultant column
Groups data by month label, January, February, etc.
See coded_consults_query()
A ggplot2 plot
Steven P. Sanderson II, MPH
1 2 3 4 5 | library(dplyr)
library(tibble)
library(ggplot2)
coded_consults_query(.resp_pty = "013128") %>%
coded_consults_trend_plt(.consultant_col = consultant)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.