powered by
This function standardizes the duration entity.
stdzDuration(x)
character vector
character vector of extracted duration values
stdzDuration(c('1 month', 'three days', 'two-weeks'))
Run the code above in your browser using DataLab