Description Usage Arguments Details Value Author(s) Examples
View source: R/oppe_consultant_report_functions.R
Plot out the results from the coded_consults_top_providers function
1 |
.data |
The data provided the coded_consults_top_providers function |
Gives a ggplot2 plot of the top_n attending providers from the coded_consults_top_providers function
A ggplot plot
Steven P Sanderson II, MPH
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | library(janitor)
library(dplyr)
library(tibble)
library(DBI)
library(odbc)
library(lubridate)
library(timetk)
library(tidyquant)
library(ggplot2)
coded_consults_query(.resp_pty = "013128") %>%
coded_consults_top_providers_tbl(
.top_n = 10,
.attending_col = attending_md,
.consultant_col = consultant
) %>%
coded_consults_top_plt()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.