Learn R Programming

cansim (version 0.4)

get_cansim_code_set: Get NDM code sets

Description

Useful to get a list of surveys or subjects and used internally

Usage

get_cansim_code_set(
  code_set = c("scalar", "frequency", "symbol", "status", "uom", "survey", "subject",
    "wdsResponseStatus"),
  refresh = FALSE
)

Value

A tibble with english and french labels for the given code set

Arguments

code_set

the code set to retrieve.

refresh

Default is FALSE, repeated calls during the same session will hit the cached data. To refresh the code list during a running R session set to TRUE

Examples

Run this code
if (FALSE) {
get_cansim_code_set("survey")
}

Run the code above in your browser using DataLab