get_classification: Get classification series

View source: R/access_api.R

get_classificationR Documentation

Get classification series

Description

A wrapper for access_API to get classifications.

Usage

get_classification(localId, lang = "fi", as_named_vector = FALSE)

Arguments

localId

character, localId of the required correspondence table

lang

"fi", "en", or "sv", desired language. Defaults to "fi".

as_named_vector

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

Value

a data.frame, a classification series

Examples


  localId <- "siviiliasiat_1_20140101"
  get_classification(localId)


pttry/statficlassifications documentation built on Jan. 17, 2024, 4:36 p.m.