gather_data: clean all data

Description Usage Arguments Value Examples

Description

Download new and historic data and bind all data together

Usage

1
2
gather_data(usernames, passwords, ST, STUser, STPass, tempdir, lookup,
  histdata, vecpath)

Arguments

usernames

vector of ATS usernames

passwords

vector of ATS passwords

ST

TRUE/FALSE whether to get sirtrack data

STUser

email address for sirtrack

STPass

password for sirtrack

tempdir

Temp directory

lookup

capture history table

histdata

historic shapefile path

vecpath

file path to location of vectronic data

Value

Resulting object is a list of Two elements. First element is a SpatialPointsDataFrame of all the GPS data on the account, the second is a dataframe of all transmissions received by the satellite

Spatial Data Column Description:

CollarSerialNumber

ATS Designated Collar Serial Number

TelemDate

POSIX Field of collare fixes in the USER'S timezone. NOTE: may need to alter timezone

HDOP

Horizontal Dilution of Precision

NumSats

Number of satellites used for GPS Fix

2D/3D

Whether fix is a 2d or 3d fix. Values are either 2 or 3

Examples

1
gather_data(usernames=c('yourusername'),passwords=c('yourpassword'),ST=TRUE,STUser='stusername',STPass='stpassword',tempdir='/home/mhayes1/Desktop/Testing/',lookup='path/to/db.csv',histdata='path/to/hist.shp',vecpath='/path/to/vec/data/')

MovingUngulate/DEERP documentation built on May 3, 2019, 8:34 p.m.