Learn R Programming

ColOpenData (version 1.0.0)

retrieve_code: Retrieve code

Description

Retrieve code from list of codes, matching an input token against a list of fixed tokens.

Usage

retrieve_code(input_token, fixed_tokens, codes_list)

Value

character containing the matched code.

Arguments

input_token

Input token to search in fixed tokens.

fixed_tokens

Vector of tokens to match against.

codes_list

Vector of target codes.