overwrite_matching: overwrite_matching

View source: R/overwrite_matching.R

overwrite_matchingR Documentation

overwrite_matching

Description

For 2 lists, take matching values from List 1 and overwrite them on List 2. This is pretty much the list version of hard_left_join()

Usage

overwrite_matching(list1, list2)

Arguments

list1

The source list (i.e. with newer data)

list2

The target list (i.e. where new data will replace old data)

Details

The lists don't have to have the same dimensions. Output will look like list2 with matching elements from list1 subbed in

Value

List2 with matching elements of List1 overwritten over (outdated) List 2 values


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.