Merges descriptions on URI, and attempts to merge columns from either description (filling with
NA
where the column exists only in one description).
merge_description(x, y)
x | A resource description (inherits from data frame) |
---|---|
y | A resource description (inherits from data frame) |
A resource description (inherits from data frame)
a <- resource("a", data.frame(uri="a", label="A")) description(a) <- merge_description(description(a), data.frame(uri="a", vowel=TRUE))