R/getRegistrationHashCodes.R

Defines functions getRegistrationHashCodes

Documented in getRegistrationHashCodes

#' Get Registration Hash Codes
#'
#' @param db_connection a `dbPool` or `RMariaDB` database connection
#' @return a character vector of hash codes
#'
#' @export

getRegistrationHashCodes <- function(db_connection)
{
  HashCodes <-
    db_connection %>% dplyr::tbl('ParticipantRegistration') %>% dplyr::select(hash) %>% dplyr::pull()

  return(HashCodes)
}
aberWARU/waruDB documentation built on Nov. 20, 2019, 7:18 a.m.