txt_from_ids: Get a descriptive text from a series of id codes

View source: R/text_from_ids.R

txt_from_idsR Documentation

Get a descriptive text from a series of id codes

Description

Gives a descriptive text of id codes from a vector of id codes, like those in rows or columns of exvatools objects.

Usage

txt_from_ids(
  id_list,
  type = "sec",
  lang = "en",
  ver = "short",
  wiotype = "icio2023"
)

Arguments

id_list

String or string vector of ids (in rows, columns, etc)

type

Type of id: "sec" for sector ids, "geo" for country or country group ids, "va" for value-added component ids.

lang

Character string for the language of the descriptive text: "eng" for English (default) and "es" for Spanish.

ver

Version: "short" (default) or "long".

wiotype

Type of wio (which determines the codes and text)

Value

A string vector with text

Examples

txt_from_ids("MANUF")
txt_from_ids("MANUF", lang = "es")

exvatools documentation built on Jan. 16, 2026, 5:19 p.m.