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)

Arguments

x

A resource description (inherits from data frame)

y

A resource description (inherits from data frame)

Value

A resource description (inherits from data frame)

Examples

a <- resource("a", data.frame(uri="a", label="A")) description(a) <- merge_description(description(a), data.frame(uri="a", vowel=TRUE))