search_variables {bdl} | R Documentation |
Search for variable codes
Description
Search for given phrase in variable names
Usage
search_variables(
name,
subjectId = NULL,
level = NULL,
year = NULL,
sort = c("id", "-id", "subjectId", "-subjectId"),
lang = c("pl", "en"),
...
)
Arguments
name |
A phrase to search. |
subjectId |
A subject id code. If not specified returns all top level subjects.
Use |
level |
A number from 0 to 6, filters the returned unit by its level.
If |
year |
A vector of years. If |
sort |
A type of sorting, "id" (default), "-id", "name", "-name" |
lang |
A language of returned data, "pl" (default), "en" |
... |
Other arguments passed on to |
Details
To use a proxy to connect, a use_proxy
can be
passed to GET
. For example
get_request(id, filters,
config = httr::use_proxy(url, port, username, password))
.
Value
A dataset as a tibble.
Examples
# search_variables("samochody")
# search_variables("cars", lang = "en")