Skip to contents

Code text with an LLM

llm_auto_code()
Auto-code text with a codebook using structured LLM extraction

Validate the coding

code_agreement()
Measure agreement between LLM codes and human codes
cross_tab_themes()
Cross-tabulate qualitative themes against a quantitative metric
plot_theme_impact()
Plot how a metric shifts when each qualitative theme is present

Try it offline

mock_mixed_data()
Generate synthetic mixed-methods behavioural data
mock_coder()
A keyword-based stand-in coder for demos and tests