sheep.report: sheep.report

View source: R/sheep.report.R

sheep.reportR Documentation

sheep.report

Description

generate report with most recent location of desired animal IDs

Usage

sheep.report(
  keys,
  sheepdb,
  tzone,
  capcol,
  dateformat,
  mortcol,
  extracols,
  keep.aid,
  out.dir
)

Arguments

keys

full path to one or more key files

sheepdb

path to sheep capture database

tzone

desired time zone of gps data: "MST" or "US/Pacific"

capcol

name of column where capture/start date exists

dateformat

character string of the format that date columns are in

mortcol

name of column where mortality date or end date exists

extracols

vector of extra columns that should be appended to GPS data. Names in vector MUST match names in lookup table

keep.aid

vector of animal IDs to include in report

out.dir

path to folder where kml and html map should be saved

Value

Returns a kml and html map of most recent location for all desired animals to out.dir


khuggler/Ovis documentation built on Nov. 30, 2023, 7:41 p.m.