citHeader("To cite the 'DQAstats' package in publications, please use:")

year <- sub("-.*", "", meta$Date)
if (length(year) == 0) year <- format(Sys.Date(), "%Y")
note = paste("R package version", meta$Version)
auth = format(Filter(function(p) "aut" %in% p$role, as.person(meta$Author)), c("given", "family"))
title = paste("DQAstats:", meta$Title)
url = meta$URL


bibentry(
  bibtype = "Article",
  title = "Linking a Consortium-Wide Data Quality Assessment Tool with the MIRACUM Metadata Repository",
  author = "Kapsner, Lorenz A. and Mang, Jonathan M. and Mate, Sebastian and Seuchter, Susanne A. and Vengadeswaran, Abishaa and Bathelt, Franziska and Deppenwiese, Noemi and Kadioglu, Dennis and Kraska, Detlef and Prokosch, Hans-Ulrich",
  year = "2021",
  month = "aug",
  pages = "826-835",
  issn = "1869-0327",
  doi = "10.1055/s-0041-1733847",
  volume = "12",
  number = "04",
  journal = "Applied Clinical Informatics",
  language = "en"
)


bibentry(
  bibtype = "manual",
  title = title,
  author = auth,
  year = year,
  note = note,
  url = url
)
