i14y_get_codelist: Export a codelist

View source: R/i14y_get_codelist.R

i14y_get_codelistR Documentation

Export a codelist

Description

The function uses the I14Y Console API: <https://apiconsole.i14y.admin.ch/public/v1/index.html>.

Usage

i14y_get_codelist(id = NULL, format = "csv")

Arguments

id

string. The Id of the response data.

format

string. The format of the export ("csv" or "json").

Value

a tibble

Examples

i14y_get_codelist(
  id = "08d94604-e058-62a2-aa25-53f84b974201" # for DV_NOGA_DIVISION
)

I14Y documentation built on Aug. 8, 2025, 7:23 p.m.