Learn R Programming

saros (version 1.6.1)

process_output_results: Process Output Results

Description

Internal helper function that performs final processing of makeme output, including crowd renaming, NULL removal, and output simplification.

Usage

process_output_results(out, args)

Value

Processed output in final form:

  • Crowds renamed according to translations if provided

  • NULL results removed

  • Single element extracted if simplify_output=TRUE and length=1

  • Empty data.frame returned if no valid results

  • Otherwise returns the full named list

Arguments

out

Named list of crowd outputs from process_all_crowds

args

List of makeme function arguments (for translations and simplify_output)