clean_usern: Clean up RATSS user names

Description Usage Arguments See Also Examples

View source: R/clean_usern.R

Description

Takes a character vector of entries that have a user name in them in the format "<digit/digits>_<single digit>" somewhere in them, extracts only the user names and returns a vector with those.

Usage

1

Arguments

vec

character vector

See Also

str_extract

Examples

1
2
foo <- c("Twin202_2", "313_5", "1_2", "1_1", "randomchars12_2fillout")
clean_usern(foo)

AnonZebra/synratss documentation built on Oct. 9, 2021, 2:31 a.m.