To cite the LLMR package in publications use:

Sanaei A (2026). LLMR: Interface for Large Language Model APIs in R. R package, https://github.com/asanaei/LLMR.

American National Election Studies (2025). “ANES 2024 Time Series Study Full Release.” [dataset and documentation]. August 8, 2025, https://electionstudies.org/data-center/2024-time-series-study/.

The bundled example data 'anes_2024_personas' is derived from the public release of the American National Election Studies (ANES) 2024 Time Series Study. Work that uses those personas should also cite the source data:

Corresponding BibTeX entries:

  @Manual{,
    title = {LLMR: Interface for Large Language Model APIs in R},
    author = {Ali Sanaei},
    year = {2026},
    note = {R package},
    url = {https://github.com/asanaei/LLMR},
  }
  @Misc{anes2024,
    author = {{American National Election Studies}},
    year = {2025},
    title = {ANES 2024 Time Series Study Full Release},
    note = {[dataset and documentation]. August 8, 2025},
    organization = {University of Michigan and Stanford University},
    url =
      {https://electionstudies.org/data-center/2024-time-series-study/},
  }