add_pattern_aru_type: Add an ARU to the list of identified ARUs

View source: R/helper.R

add_pattern_aru_typeR Documentation

Add an ARU to the list of identified ARUs

Description

Add an ARU to the list of identified ARUs

Usage

add_pattern_aru_type(pattern, aru_type)

Arguments

pattern

regular expression to extract from file path

aru_type

Name of ARUtype

Examples


org_pat <- get_pattern("pattern_aru_type")

print(org_pat)

add_pattern_aru_type("CWS\\d", "Canadian Wildlife Detector \1")

get_pattern("pattern_aru_type")

set_pattern("pattern_aru_type", org_pat)


ARUtools documentation built on Oct. 9, 2024, 1:07 a.m.