Skip to contents

Convenience function to do fill_re_template and wrap_age_patterns in one step.

Usage

fill_and_wrap(re_templates, which_bound, purpose, prefix = "")

Arguments

re_templates

a set of re_templates each passed to fill_re_template

which_bound

resolve the template to match lower or upper bounds, neither (the default), or single

purpose

character string indicating the purpose of the resulting regular expression

prefix

pattern to match at the beginning of the string that marks the beginning of age information