get_occupationkey: Get an occupation name-code key

View source: R/get_occupationkey.R

get_occupationkeyR Documentation

Get an occupation name-code key

Description

Get an occupation name-code key

Usage

get_occupationkey(
  code_level = NULL,
  year = 2010,
  lang = "fi",
  as_named_vector = FALSE
)

Arguments

code_level

disaggregation level

year

year of the key

lang

"fi", "sv" or "en". Language of the key. Defaults to "fi".

as_named_vector

logical, whether to return a named vector rather than a data.frame. Defaults to FALSE.

Value

data.frame with occupation codes and names

Examples


   get_occupationkey(1)
   get_occupationkey(1, as_named_vector = TRUE)


pttry/statficlassifications documentation built on Sept. 17, 2024, 12:10 p.m.