tabulate_responserate_demogdata | R Documentation |
Tabulates response rates and logs to a csv file - for demographic breakdowns.
tabulate_responserate_demogdata(x, reportID, demogRollup, responseFlag = "QCOMP", outputFile = "Response_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. |
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" |
A data.frame with tabulated response rates
tabulate_responserate_demogdata(x=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.