quarterly_top_n: quarterly_top_n

Description Usage Arguments Value

Description

Function to summarise top 5/10 complaints on a quarterly basis.

Usage

1
2
quarterly_top_n(n = 5, norm_n = 10, filepath, clre_path, dsre_path,
  ihre_path, mtsre_path, xlsxname = NA, write = TRUE)

Arguments

n

Number for Clinical Chemistry. Defaults to 5.

norm_n

Number for normalized. Defaults to 10.

filepath

Filepath to excel workbook containing complaints, sales, and normalized data.

clre_path

Filepath to CLRE file as a .csv

dsre_path

Filepath to DSRE file as a .csv

ihre_path

Filepath to IHRE file as a .csv

mtsre_path

Filepath to MTSRE file as a .csv

xlsxname

Name of Excel workbook to write to. Defaults to top_n_YYYYQX.xlsx where YYYY is the year and X is the quarter number.

write

Defaults to TRUE. Writes to Excel Workbook if TRUE.

Value

Returns a list of dataframes.


kimjam/srms documentation built on May 20, 2019, 10:21 p.m.