tabulate_responserate_data: Tabulates response rates and logs to a csv file.

View source: R/tabulate.R

tabulate_responserate_dataR Documentation

Tabulates response rates and logs to a csv file.

Description

Tabulates response rates and logs to a csv file.

Usage

tabulate_responserate_data(x, reportID, reportTitle,
  responseFlag = "QCOMP", outputFile = "Response_Log.csv",
  userList = NULL)

Arguments

x

A data.frame

reportID

A character vector containing the column names in x containing the reporting IDs (e.g., ORGID, LEVEL1_ID, etc.)

reportTitle

A character vector containing the column names in x containing the report titles (e.g., Organization, LEVEL1, etc.).

responseFlag

A character string of the column in data flagging completions. Default is "QCOMP".

outputFile

The path to the output file. Default is "Response_Log.csv"

Value

A data.frame with tabulated response rates

Examples

tabulate_responserate_data(data,reportID="ID",reportTitle = "Title",outputFile="BCPS_Response_Log.csv")


bcgov/WEStblr documentation built on Dec. 2, 2022, 10:53 a.m.