numextract {fedregs} | R Documentation |
Extract the Part Numbers
Description
numextract
takes the part numbers from cfr_part
output.
Usage
numextract(string, return = c("min", "max")[1])
Arguments
string |
ideally |
return |
min or max, default is "min" |
Details
numextract
Each CFR chapter has multiple parts that often span volumes. To facilitate targeting a specific part, it's necessary to evaluate which parts are in each volume (e.g., Parts 18 to 199). The CFR sometimes uses terms like "END" or "end" to denote the maximum part in each chapter. numextract
simply returns the max as 'Inf' in these situations.
Value
numeric value from 1 to 'Inf“
[Package fedregs version 1.0.0 Index]