namecol_value_from_id: namecol_value_from_id

View source: R/dataprep_lookup_in_pandora.R

namecol_value_from_idR Documentation

namecol_value_from_id

Description

Given a sidora column name and a 'Id' integer will get the requested corresponding 'human readable' string version of the Id.

Usage

namecol_value_from_id(sidora_col_name, query_id, con, cache_dir = tempdir())

Arguments

sidora_col_name

character. A sidora table column name

query_id

integer vector. ID(s) to be converted to the human readable 'string' version

con

a pandora connection

cache_dir

a cache directory

Details

For example, given the ID 38 and the information that this ID was found in 'extract.Batch', would result in Ex06_KE_2015-11-19

Examples

## Not run: 
namecol_value_from_id(sidora_col_name = "extract.Batch", query_id = 38, con = con)

## End(Not run)


sidora-tools/sidora.core documentation built on April 30, 2023, 8:42 p.m.