rank_whole_question: Creating rank crosstabs from a pollfish file

Description Usage Arguments Examples

Description

Function that will run all rank questions crosstabs for a single variable, save them in a list, and write them to different files. There is a different file for each level of x_var

Usage

1
rank_whole_question(d_frame, x_var, rank_variables)

Arguments

d_frame1:

Data frame created from a pollfish file

x_var:

Variable that will represent the rows

rank_variables:

Vector with the code for all rank questions

Examples

1
2
3
x <- read_pollfish_file("Pollfish_Survey.xls")
rank_choice <- c("Q7","Q8")
rank_whole_question(x,"region", rank_choice)

Cyranka/Pollfish-functions documentation built on May 7, 2019, 2:57 p.m.