tabulate_driverscore_data: Tabulates driver/engagement scores and logs to a csv file.

View source: R/tabulate.R

tabulate_driverscore_dataR Documentation

Tabulates driver/engagement scores and logs to a csv file.

Description

Tabulates driver/engagement scores and logs to a csv file.

Usage

tabulate_driverscore_data(x, reportID, reportTitle,
  questions = WESquestions18, outputFile = "Drivers_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.).

questions

A data.frame containing the questions used in the survey. Default is the questions file from WES 2018. See WESquestions18 for reference.

outputFile

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

Value

A data.frame with tabulated response rates

Examples

tabulate_driverscore_data(data,reportID="ID",reportTitle = "Title",outputFile="BCPS_Driver_Log.csv")


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