Skip to contents

Writes reviewed matches from match_taxa_to_wcvp() to the wcvp_idtax_link table.

Usage

save_wcvp_links(matches, con_taxa, replace = TRUE, verbose = TRUE)

Arguments

matches

Tibble of matches from match_taxa_to_wcvp().

con_taxa

Connection to the taxa database.

replace

Logical. If TRUE, deletes existing links for affected idtax_n before inserting. Default TRUE.

verbose

Logical. Show progress. Default TRUE.

Value

Invisible integer: number of links saved.

Examples

if (FALSE) { # \dontrun{
matches <- match_taxa_to_wcvp(con_taxa)
save_wcvp_links(matches, con_taxa)
} # }