View source: R/overwrite_matching.R
overwrite_matching | R Documentation |
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()
overwrite_matching(list1, list2)
list1 |
The source list (i.e. with newer data) |
list2 |
The target list (i.e. where new data will replace old data) |
The lists don't have to have the same dimensions. Output will look like list2 with matching elements from list1 subbed in
List2 with matching elements of List1 overwritten over (outdated) List 2 values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.