add_pattern_aru_type {ARUtools} | R 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)
[Package ARUtools version 0.7.2 Index]