AppendAID: Append Animal IDs created from CollarHistory function to...

Description Usage Arguments Value Examples

View source: R/AppendAID.R

Description

Append unique animals IDs created from CollarHistory function to capture database.

Usage

1
AppendAID(capdat, capturedate, mortalitydate, colhist, fileout)

Arguments

capdat

path to capture database

capturedate

name of column with capture date

mortalitydate

name of column with mortality date

colhist

data.frame created from CollarHistory function

fileout

path to file and name of file where appended database shoudl be stored

Value

Returns a data.frame with original capture data.frame and a column appended with UAID

Examples

1
DBWithAID<-AppendAID(capdat = 'C:/Users/khuggler/Box Sync/DEER/Data/CleanDatabase/DB_WithAID_02082019.csv', capturedate = "CaptureDate", mortalitydate = "MortalityDate", 'dateformat = "%m/%d/%Y', colhist = ColHist, fileout = 'C:/Users/khuggler/Box Sync/DEER/Data/CleanDatabase/DB_WithAID_02082019.csv')

khuggler/TediousEcology documentation built on July 10, 2021, 12:34 a.m.