Search the results from nhanes_variables or nhanes_data_files
nhanes_search(nhanes_data, query, ..., fuzzy = FALSE, ignore_case = TRUE, max_distance = 0.2)
| nhanes_data | nhanes variable list, from nhanes_variables function, or data file list, from nhanes_data_files  | 
    
|---|---|
| query | regular expression search query  | 
    
| ... | additional arguments to pass to dplyr::filter  | 
    
| fuzzy | whether to use fuzzy string matching for search (based on edit distances)  | 
    
| ignore_case | whether search query is case-sensitive  | 
    
| max_distance | parameter for tuning fuzzy string matching, 0-1  | 
    
data frame filtered by search query
# NOT RUN { nhanes_files <- nhanes_data_files() # Search for data files about pesticides nhanes_search(nhanes_files, "pesticides") # }