Get code tables
get_code_tables.Rd
Get metadata about the code tables.
Usage
get_code_tables(
ids = NULL,
fields = NULL,
lang = c("en-US", "nb-NO", "nn-NO"),
version = "v0",
format = "jsonld",
client = get_frost_client(),
auth_type = c("basic", "oauth"),
flatten = TRUE,
return_response = FALSE
)
Arguments
- ids
character: Source ID(s).
- fields
character: Fields to return in the response.
- lang
character: ISO language/locale to be used for search filters and return values
- version
character: API version.
- format
character: Response format.
- client
list: List with client id and secret. Defaults to the `MET_FROST_ID` and `MET_FROST_SECRET` environment variables.
- auth_type
character: Authentication method, either 'basic' or 'oauth'.
- flatten
logical: If TRUE the response is transformed to a table.
- return_response
logical: If TRUE a list of class `frost_api` is returned, including the raw `httr2_response`.