matchvocab: matchvocab

Description Usage Arguments Examples

View source: R/matchvocab.R

Description

Match values in variable to controlled vocab

Usage

1
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

1
matchvocab(var_data = c("A", "B"), var_vocab=c("A", "B", "C"), tab="site", error=0)

powellcenter-soilcarbon/soilcarbon documentation built on Aug. 23, 2018, 11:17 p.m.