% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/code.R
\name{wid_search}
\alias{wid_search}
\title{Search WID lookup tables by regex}
\usage{
wid_search(query, tables = "concepts", type = NULL)
}
\arguments{
\item{query}{Regular expression.}

\item{tables}{Table names to search. Default \code{"concepts"}.}

\item{type}{Optional series-type letter to filter results.}
}
\value{
A \code{data.frame} with columns \code{table},
\code{variable}, and \code{description} for each matching row,
or an invisible empty \code{data.frame} if no matches are found.
}
\description{
Search WID lookup tables by regex
}
\examples{
wid_search("national income")
wid_search("wealth", type = "s")
wid_search("^US", tables = "countries")
}
