To cite collapse in publications use:

Krantz S (2024). collapse: Advanced and Fast Data Transformation in R. doi:10.5281/zenodo.8433090, R package version 2.0.10, https://sebkrantz.github.io/collapse/.

Corresponding BibTeX entry:

  @Manual{rcollapse,
    title = {collapse: Advanced and Fast Data Transformation in R},
    author = {Sebastian Krantz},
    year = {2024},
    note = {R package version 2.0.10},
    doi = {10.5281/zenodo.8433090},
    url = {https://sebkrantz.github.io/collapse/},
  }