Description Usage Arguments Value Examples
Search the results from nhanes_variables or nhanes_data_files
1 2 | 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
1 2 3 4 5 6 7 | ## Not run:
nhanes_files <- nhanes_data_files()
# Search for data files about pesticides
nhanes_search(nhanes_files, "pesticides")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.