variable_lookup: Search through azmpdata

View source: R/variable_lookup.R

variable_lookupR Documentation

Search through azmpdata

Description

Search through azmpdata datasets by keywords. Default searches through all dataset variable names, but options ('help_search') can be used to search through all 'azmpdata' help documentation text including variable definitions and metadata.

Usage

variable_lookup(keywords, search_help = FALSE, lib.loc = NULL)

Arguments

keywords

Search keywords (if using multiple, create a vector of character strings using 'c()')

search_help

a logical value determining whether or not help documentation text should also be searched

lib.loc

(optional) passed to find.package to find help documentation through which to search - a character vector describing the location of R library trees to search through, or NULL. The default value of NULL corresponds to checking the loaded namespace, then all libraries currently known in .libPaths().

Examples

## Not run: 
res <- variable_lookup('nitrate')
res2 <- variable_lookup("nitrate", search_help = T)

## End(Not run)


casaultb/azmpdata documentation built on July 4, 2025, 11:04 a.m.