translate_dssodk: translate dssodk

Description Usage Arguments Value

View source: R/translate_dssodk.R

Description

Translate columns of dssodk.

Usage

1
translate_dssodk(dictionary, tab = NULL, table_name, variable)

Arguments

dictionary

A dictionary dataframe. Should be generated via get_dssodk_dictionary

tab

An in-memory dataframe corresponding to the table_name. Can be left NULL if table_name is identical to the name of the object in memory.

table_name

The name (as a character vector of length one) of the table to be translated

variable

The name (as a character vector of length one) of the variable to be translated

Value

A one column dataframe in which the variable name will be the Portugese language question pertaining to the variable, and the values of the dataframe will be the Portuguese-language values in the dictionary


joebrew/cism documentation built on May 19, 2019, 2:58 p.m.