coded_consults_top_providers_tbl: OPPE Coded Consults Top Attending

Description Usage Arguments Details Author(s) Examples

View source: R/oppe_consultant_report_functions.R

Description

Gets the top n attending providers who have consulted the consultant in question.

Usage

1
2
3
4
5
6
coded_consults_top_providers_tbl(
  .data,
  .top_n,
  .attending_col,
  .consultant_col
)

Arguments

.data

The data that you provided. There must be an Attending column and Consultant column

.top_n

How many of the top attending providers do you want returned.

.attending_col

The column that holds the name of the attending provider

.consultant_col

The column that holds the name of the consulting provider(s)

Details

Author(s)

Steven P. Sanderson II, MPH

Examples

1
2
3
4
5
6
7
8
library(dplyr)
library(tibble)
coded_consults_top_providers_tbl(
.data = coded_consults_query(.resp_pty = "013128")
, .top_n = 10
, .attending_col = attending_md
, .consultant_col = consultant
)

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