dupfilter_exact function

Filter temporally and spatially exact duplicates

Filter temporally and spatially exact duplicates

Function to filter temporally and spatially exact locations in tracking data.

dupfilter_exact(sdata)

Arguments

  • sdata: A data frame containing columns with the following headers: "id", "DateTime", "lat", "lon", "qi". See the data turtle for an example. The function filters the input data by a unique "id" (e.g. transmitter number, identifier for each animal). "DateTime" is the GMT date & time of each location in class POSIXct or character with the following format "2012-06-03 01:33:46". "lat" and "lon" are the latitude and longitude of each location in decimal degrees. "qi" is the quality index associated with each location fix. The input values can be either the number of GPS satellites or Argos Location Classes. Argos Location Classes will be converted to numerical values, where "A", "B", "Z" will be replaced with "-1", "-2", "-3" respectively. The greater number indicates a higher accuracy.

Returns

The input data frame is returned with temporally and spatially exact duplicates removed.

Details

This is a partial component of dupfilter, although works as a stand-alone function. It looks for temporally and spatially exact locations and retains only a single fix (latitude/longitude pair) per time and location.

References

Shimada T, Limpus C, Jones R, Hazel J, Groom R, Hamann M (2016) Sea turtles return home after intentional displacement from coastal foraging areas. Marine Biology 163:1-14 tools:::Rd_expr_doi("10.1007/s00227-015-2771-0")

See Also

dupfilter, dupfilter_qi, dupfilter_time, dupfilter_space

Author(s)

Takahiro Shimada

  • Maintainer: Takahiro Shimada
  • License: GPL-2 | file LICENSE
  • Last published: 2023-11-10