pointsAtSea: Separate occurrences on Earth and at sea

Description Usage Arguments Details Value Note Author(s) References See Also

View source: R/pointsAtSea.R

Description

Delete duplicates, separating records on Earth and at sea for each species.

Usage

1
2
pointsAtSea(data = NULL, path = NULL, rd.frmt = "readRDS",
  wrt.frmt = "saveRDS", save.OnEarth.in = NULL, save.AtSea.in = NULL)

Arguments

data

Vector of characters. Name of the input file.

path

Vector of characters. Path to the input file.

rd.frmt

Vector of characters. The file format to read. By default it will be read as a R object using the 'readRDS' argument, but it can be read as plain text using the 'readTXT' argument. See details.

wrt.frmt

Vector of characters. Format to save output file. By default it will be written as a R object using 'saveRDS' argument, but it can be saved as plain text using 'saveTXT' argument. See details.

save.OnEarth.in

Vector of characters. Path to the output file for each species with the coordinates on earth.

save.AtSea.in

Vector of characters. Path to the output file for each species with the coordinates at sea.

Details

For more details about the formats to read and/or write, see readAndWrite function.

The headers of the input file must follow the Darwin Core standard [1]. The user can see the guide using data('ID_DarwinCore) command.

Value

By each species, if this is the case, two output files data.frame class: The first one has the coordinates at sea for the species and the second one has the coordinates on earth for the same species.

Note

See: R-Alarcon V. and Miranda-Esquivel DR.(submitted) geocleaMT: An R package to cleaning geographical data from electronic biodatabases.

Author(s)

R-Alarcon Viviana and Miranda-Esquivel Daniel R.

References

[1] Wieczorek, J. et al. 2012. Darwin core: An evolving community-developed biodiversity data standard. PloS One 7: e29715.

See Also

readAndWrite


alarconvv/geocleaMT documentation built on July 10, 2019, 12:50 a.m.