Description Usage Arguments Details Author(s) Examples
View source: R/oppe_consultant_report_functions.R
Gets the top n attending providers who have consulted the consultant in question.
1 2 3 4 5 6 | coded_consults_top_providers_tbl(
.data,
.top_n,
.attending_col,
.consultant_col
)
|
.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) |
Get the top n attending providers and counts of times they consulted the specialist provider in question.
This gets data from either DSS by using the coded_consults_query()
or an
imported file.
Steven P. Sanderson II, MPH
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
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.