classify_notes_to_experiment: Classify Notes According to Experiment

Description Usage Arguments Value

View source: R/notes.R

Description

User data might not have the precise word to describe a particular Comment (usually a food name). This function will return a canonical version of the Comment, based on data from the Experiments table.

Usage

1
classify_notes_to_experiment(foodname, mapping_table)

Arguments

foodname

character vector with name(s) of food item

mapping_table

dataframe showing how to do the mapping.

Value

character vector with canonical name for the food item


richardsprague/cgmrdb documentation built on Dec. 22, 2021, 4 p.m.