fwa_add_new_blk_rm_to_blk_rm.Rd
Adds new blk and rm values to existing blk and rm values based on look up in second data frame.
fwa_add_new_blk_rm_to_blk_rm(
x,
y,
blk = "blk",
rm = "rm",
blk2 = "blk",
rm2 = "rm",
new_blk = "new_blk",
new_rm = "new_rm",
new_blk_to = new_blk,
new_rm_to = new_rm
)
A tibble (or sf object) with blk and rm columns.
A tibble (or sf object) with unique blk and rm columns and new blk (optional) and rm columns.
A string of the name of the blk column in x.
A string of the name of the rm column in x.
A string of the name of the blk column in y.
A string of the name of the rm column in y.
An optional string of the name of the new blk column in y. If NULL it is not used in the join.
A string of the name of the new rm column in y.
A string specifying the name to rename the new blk column with.
A string specifying the name to rename the new blk column with.
An updated version of x with additional columns for the new blk and rm columns.
[fwa_add_new_rm_to_blk_rm()]