View source: R/03-code-lists.R
ons_codes | R Documentation |
Used to get details about codes and code lists stored by ONS. Codes are used to provide a common definition when presenting statistics with related categories. Codes are gathered in code lists, which may change over time to include new or different codes. The meaning of a code should not change over time, but new codes may be created where new meaning is required.
ons_codes(code_id = NULL, edition = NULL)
ons_code(code_id = NULL, edition = NULL, code = NULL)
ons_code_dataset(code_id = NULL, edition = NULL, code = NULL)
code_id |
|
edition |
|
code |
|
A list or character vector.
#codes
ons_codes(code_id = "quarter", edition = "one-off")
ons_code(code_id = "quarter", edition = "one-off", code = "q2")
ons_code_dataset(code_id = "quarter", edition = "one-off", code = "q2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.