View source: R/makeme_helpers.R
| generate_crowd_output | R Documentation |
Internal helper function that generates the final output object for a crowd by processing data summary and calling the appropriate make_content function.
generate_crowd_output(args, subset_data, dep_crwd, indep_crwd)
args |
List of makeme function arguments |
subset_data |
Data frame subset for the current crowd |
dep_crwd |
Character vector of dependent variable names for current crowd |
indep_crwd |
Character vector of independent variable names for current crowd |
Processing steps:
Summarizes data using summarize_data_by_type()
Sets main question from variable labels
Post-processes data summary for most types
Calls make_content() to generate final output
Output object (type depends on makeme type):
Could be plot, table, or other analysis object
Generated by make_content() with crowd-specific arguments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.