tabulate_questionscore_data: Tabulates question scores and logs to a csv file.

View source: R/tabulate.R

tabulate_questionscore_dataR Documentation

Tabulates question scores and logs to a csv file.

Description

Tabulates question scores and logs to a csv file.

Usage

tabulate_questionscore_data(x, reportID, reportTitle,
  questions = WESquestions18, outputFile = "Scores_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 "Scores_Log.csv"

Value

A data.frame with tabulated response rates

Examples

tabulate_questionscore_data(data,reportID="ID",reportTitle = "Title",outputFile="BCPS_Scores_Log.csv")


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