Function to read the "time.unit" attribute
a source_spct object
logical If TRUE a lubridate::duration is returned even if the object attribute is a character string, if no conversion is possible NA is returned.
character string or a lubridate::duration
if x is not a
source_spct or a
response_spct object, NA
Other time attribute functions:
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.