To cite package ‘heaven’ in publications use:

Torp-Pedersen CT, Rytgaard HC, Munch A, Phelps MD, Gerds TA (2026). heaven: Fast Data Preparation for Danish Registry Data. R package version 2026.10.30, https://CRAN.R-project.org/package=heaven.

Corresponding BibTeX entry:

  @Manual{,
    title = {heaven: Fast Data Preparation for Danish Registry Data},
    author = {Christian Tobias Torp-Pedersen and Helene Charlotte
      Rytgaard and Anders Munch and Matthew David Phelps and Thomas
      Alexander Gerds},
    year = {2026},
    note = {R package version 2026.10.30},
    url = {https://CRAN.R-project.org/package=heaven},
  }