pdb.union function

Form the union of two occurrence data.frames or remove duplicates from occurrence data.frame. Useful if parts of a clade are not included in the downloaded dataset and need to be added separately.

Form the union of two occurrence data.frames or remove duplicates from occurrence data.frame. Useful if parts of a clade are not included in the downloaded dataset and need to be added separately.

pdb.union(x, id_col = x$occurrence_no)

Arguments

  • x: Concatenated occurrence data.frames to be merged
  • id_col: Vector or column of x containing id to be used for determining which values contain occurrence numbers to be used for matching entries

Returns

A data.frame() containing the first entry for each unique occurrence to be represented in x.

Examples

data(archosauria) pdb.union(rbind(archosauria$Ankylosauria, archosauria$Stegosauria))->Eurypoda
  • Maintainer: Darius Nau
  • License: GPL (>= 3)
  • Last published: 2025-03-23

Useful links