getDistance: Find closest mooring

View source: R/getDistance.R

getDistanceR Documentation

Find closest mooring

Description

Links the QC Detection Dataset to the Nearest IMOS Mooring ID

Usage

getDistance(
  trackingData,
  moorLocations,
  X = "receiver_deployment_longitude",
  Y = "receiver_deployment_latitude",
  datetime = "detection_datetime"
)

Arguments

trackingData

dataframe containing acoustic detection data in IMOS QC format

moorLocations

dataframe containing the locations of IMOS moorings

X

name of column with X coordinate or longitude (EPSG 4326)

Y

name of column with Y coordinate or latitude (EPSG 4326)

datetime

name of column with date time stamp (Coordinated Universal Time; UTC)

Value

The trackingData dataframe with the nearest moor_site_code to each acoustic detection


IMOS-AnimalTracking/remora documentation built on Jan. 29, 2025, 4:38 p.m.