tabulate_questionscore_demogdata | R Documentation |
Tabulates question scores and logs to a csv file - for demographic breakdowns.
tabulate_questionscore_demogdata(x, reportID, demogRollup, questions = WESquestions18, outputFile = "Scores_Log.csv")
x |
A data.frame |
reportID |
A character vector containing the column names in x containing the reporting IDs (e.g., ORGID, LEVEL1_ID, etc.) |
demogRollup |
A data.frame containing the demographic groupings to be reported. See WESdemogRollup18, or WESOrgdemogRollup18 for reference. Must include the columns reportID, Demographic, Group, Demographic_in_data, Group_in_data and Sort. |
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" |
A data.frame with tabulated response rates
tabulate_questionscore_demogdata(data,reportID="ORGID18",demogRollup = demog_rollup_org)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.