Skip to contents

Creates two publication-quality plots:

  1. temporal_prevalence.png – line chart showing theme prevalence (\

  2. temporal_emergence.png – lollipop/timeline chart showing when each theme first appeared in the data.

Usage

generate_temporal_plots(
  temporal_results,
  output_dir,
  methodology_mode = NULL,
  run_id = NULL,
  max_inline_themes = 30L
)

Arguments

temporal_results

List returned by analyze_temporal_patterns

output_dir

Directory where PNGs will be saved (created if needed)

methodology_mode

Optional character. When supplied, adds a caption to each plot identifying the mode + run id.

run_id

Optional character: run identifier.

max_inline_themes

Integer; the temporal emergence chart filters to the top-N themes by entry count when more themes than this exist. an earlier version of the chart rendered every theme (4,059 codes on a large run -> 2.8 MB vertical wall of text). Default 30L. Set very high (e.g. 10000L) to disable filtering.

Value

Invisible character vector of file paths written