Description Usage Arguments Value
This function pick and run the right analysis function depending on the type of question for data crunching.
1 | kobo_crunching(question, data, dicofile = "dico.csv")
|
question |
Question to be treated by the function. It should be the "name" of the questionas in the dictionnary or XLSform. |
data |
Dataframe containing data to analyse |
dicofile |
Name of the file containing the dictionnary. "dico.csv" is used by default. |
Returns a list containing four to five named elements:
variable : The name of the question (variable) analysed
plot: A ggplot2 object with a basic bar or density graph depending on the question
freq_tbl: A frequency table of the question of the question
summary: summary statistics (quartiles and mean). Only for decimal/integer questions.
other: Other information on the question: # respondents answered the form, # and
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.