merge_attr_table: merge two attribute tables

Description Usage Arguments Value

View source: R/attribute-utils.R

Description

merge two attribute tables, assuming that the latter one has more complete data, but the newer one has all of the applicable fields. Fields in old.attrs that don't appear in new.attrs will be dropped. Likewise, fields in new.attrs but not in old.attrs will retain the values in new.attrs.

Usage

1
merge_attr_table(new.attrs, old.attrs)

Arguments

new.attrs

an attribute table (data.frame)

old.attrs

an attribute table (data.frame)

Value

a merged attribute table.


USGS-R/meddle documentation built on Nov. 21, 2020, 7:44 p.m.