| llm_validate_persona_frame | R Documentation |
Verifies the minimum a persona frame needs: it is a data frame with at least
one row. It also reports, via a message when verbose, whether the optional
dictionary and demographic_fields attributes are present. It is tolerant:
a frame without those attributes is still usable (handles stand in for
questions, and demographics are guessed from common names).
llm_validate_persona_frame(x, verbose = FALSE)
x |
A candidate persona data frame. |
verbose |
Logical; if |
TRUE invisibly if x is a usable persona frame; otherwise it raises
an error.
llm_persona_split(), anes_2024_personas.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.