coded_consults_top_plt: OPPE Plot of top N Attending

Description Usage Arguments Details Value Author(s) Examples

View source: R/oppe_consultant_report_functions.R

Description

Plot out the results from the coded_consults_top_providers function

Usage

1

Arguments

.data

The data provided the coded_consults_top_providers function

Details

Value

A ggplot plot

Author(s)

Steven P Sanderson II, MPH

Examples

 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()

spsanderson/LICHospitalR documentation built on Jan. 6, 2022, 12:32 a.m.