Export CSV files for each theme's entries
Arguments
- data
tibble with theme_membership_* or emerged_themes columns
- theme_set
ThemeSet object
- output_dir
Output directory
- methodology_mode
Optional methodology mode. When non-NULL, every CSV produced is stamped with a comment header identifying the mode and run id (per AC4). NULL skips stamping – used by tests / legacy callers.