Module to collect all the matches from each stage of the variety matching process
Source:R/match_variety_final_matches_module.R
collect_final_matches.Rd
collect_final_matches()
combines the match output lists and returns a data frame
containing the raw names, matched clean names, and the stage where they were matched.
An output file, 'final_matches.csv', will be written to the specified output location.
Usage
collect_final_matches(
match_list,
names_raw,
knitroutputfolder,
csv_suffix = NULL,
is_blends = FALSE
)
Arguments
- match_list
A list of the output from each step of the variety matching process, i.e., exact, rename, and fuzzy. These must be enclosed in a
list()
call.- names_raw
A data.frame of the names created by
create_intid()
- knitroutputfolder
A path to the output location
- csv_suffix
Optional string denoting the suffix for the .csv name.
- is_blends
A logical that specifies whether the varieties are blends. Default is FALSE
See also
Other match variety functions:
create_intid()
,
find_entries_raw_names()