To cite codebook in publications use:

Arslan RC (2019). “How to automatically document data with the codebook package to facilitate data re-use.” Advances in Methods and Practices in Psychological Science, 2(2). doi:10.1177/2515245919838783, https://doi.org/10.1177/2515245919838783.

Corresponding BibTeX entry:

  @Article{,
    title = {How to automatically document data with the codebook
      package to facilitate data re-use.},
    author = {Ruben C. Arslan},
    year = {2019},
    doi = {10.1177/2515245919838783},
    journal = {Advances in Methods and Practices in Psychological
      Science},
    url = {https://doi.org/10.1177/2515245919838783},
    volume = {2},
    number = {2},
  }