R/find_extra_doctors.R

Defines functions find_extra_doctors

Documented in find_extra_doctors

#' find_extra_doctors
#'
#' @param doctor_str a string of cleaned doctor names
#'
#' @return the number of doctors in the string
#' @export
#'
#' @examples
find_extra_doctors <- function(doctor_str){
  doctor_str %>% stri_split_regex(",") %>% unlist() %>% length()
}
utah-osa/hcctools2 documentation built on March 22, 2021, 3:51 p.m.