hub2plus: hub_plusを生成する

View source: R/hub2plus.R

hub2plusR Documentation

hub_plusを生成する

Description

hub_masterのhub_nameとlato_strictoから,hub_plusを生成. 「/」での区切りがある場合は,前後両方に「lato_stricto」を追加

Usage

hub2plus(Hub_name, lato_stricto)

Arguments

Hub_name

hub_name in hub_master

lato_stricto

lato_stricto in hub_master

Value

string

Examples

hub_master %>%
  tibble::as_tibble() %>%
  dplyr::rename_with(~stringr::str_replace_all(., "[ /]", "_")) %>%
  dplyr::rename_with(~stringr::str_remove_all(., "[()]")) %>%
  dplyr::mutate(hub_plus = hub2plus(Hub_name, lato_stricto))


matutosi/wameicheckr documentation built on Aug. 14, 2024, 4:39 p.m.