Merge several reference database by common fields.

refdb_merge(..., keep = "fields_all")

## Arguments

... reference databases (tibbles). determines which columns to keep. Can be "fields_all" (default), "fields_shared" or "all" (see Details).

## Value

a merged reference database (tibble).

## Details

Columns are merged only if they are associated to the same field.

The keep argument determines which columns are returned as follow. "fields_all" (the default) returns all the fields existing in all the reference databases. "fields_shared" returns only the fields shared by all the reference databases. "all" returns all the columns of all the databases. Columns which are not associated to a field are not merged and are prefixed with the name of the object they originated from.