Skip to contents

This function modifies raw Ecotone GPS data to remove any records without lat/long values, inserts a "behavior" column to indicate when a tagged bird is at the colony, adds a timestamp column ("Date_2") if not already there, and removes any duplicate detections. The function also inserts lat/long coordinates for the colony location for periods when the bird is at the colony.

Usage

prep_ecotone(data, colony_lon, colony_lat, tz = "UTC")

Arguments

data

Input Ecotone data to be modified.

colony_lon

Longitude of home colony of tagged bird.

colony_lat

Latitude of home colony of tagged bird.

tz

Timezone of GPS timestamps. Default "UTC".