View source: R/get_variables.R
get_variables | R Documentation |
Retrieve variables for given subjectId.
get_variables( subjectId, level = NULL, year = NULL, sort = c("id", "-id", "subjectId", "-subjectId"), lang = c("pl", "en"), ... )
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", "subjectId", "-subjectId" |
lang |
A language of returned data, "pl" (default), "en" |
... |
Other arguments passed on to |
Variables for specified subject optionally filtered by level
and year
.
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))
.
A dataset as a tibble.
# get_variables("P2425")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.