inst/tinytest/test_cockburn_detect_hosp.r

## -------->>  [[file:../../nstandr.src.org::*Hospitals][Hospitals:2]]
expect_equal(c(" DR VLASOV "
             , " S.VLASOV PHD "
             , " STANICA LEGALY REPRESENTED BY STAS") |>
             cockburn_detect_hosp()
           , structure(list(x = c(" DR VLASOV ", " S.VLASOV PHD ", " STANICA LEGALY REPRESENTED BY STAS"
                                  ), x_entity_type = c(NA, NA, "hosp")), row.names = c(NA, -3L), class = c("data.table", 
                                                                                                         "data.frame")))
## --------<<  Hospitals:2 ends here
stasvlasov/nstandr documentation built on July 27, 2023, 10:29 p.m.