Skip to contents

Search for variants of a status code (stored in google sheets), and combine them all into a single regex search string separated by OR.

Usage

get_variants(s.code, gs_status_codes = NULL)

Arguments

s.code

Any of the unique status.qualifier strings from df.status ("FUTURE","FORMER","INTERIM",etc)

gs_status_codes

Optional status-code crosswalk data frame; if NULL, loaded from the bundled snapshot.