Easily filter ACS variables
filter_variables.RdFilter the the results of select_variables_by_name() based on their match_type relative
to match_string.
Examples
if (FALSE) { # \dontrun{
codebook = tidycensus::load_variables(dataset = "acs5", year = 2022)
selected_variables = select_variables_by_name("B16005_", census_codebook = codebook)
filter_variables(
variable_vector = selected_variables,
match_string = "universe_$|native_$|foreign_born_$|only|very_well",
match_type = "positive")
} # }