llm_persona_dictionary: The question dictionary attached to a persona data frame

View source: R/personas.R

llm_persona_dictionaryR Documentation

The question dictionary attached to a persona data frame

Description

Persona frames may carry a dictionary attribute: a data frame mapping each tidy column handle to the human-readable question wording (and, when present, its domain and source-survey variable). llm_persona_split() and llm_persona_overview() use it to show questions rather than column handles.

Usage

llm_persona_dictionary(x)

Arguments

x

A persona data frame (see anes_2024_personas).

Value

The dictionary data frame, or NULL if the frame carries none.

See Also

llm_persona_split(), anes_2024_personas.


LLMR documentation built on July 11, 2026, 1:06 a.m.