Learn R Programming

soilcarbon (version 1.2.0)

matchvocab: matchvocab

Description

Match values in variable to controlled vocab

Usage

matchvocab(var_data, var_vocab, var_name, tab, error)

Arguments

var_data

actual data values for a specific variable

var_vocab

controlled vocab for a specific variable

var_name

name of the variable being matched

tab

name of the tab that the variable is found in

error

error counter

Examples

Run this code
# NOT RUN {
matchvocab(var_data = c("A", "B"), var_vocab=c("A", "B", "C"), tab="site", error=0)
# }

Run the code above in your browser using DataLab