readDTA: read a lotek .DTA file

Description Usage Arguments Value Note Author(s)

View source: R/readDTA.R

Description

.DTA Files are generated by Lotek receiver software, and contain interspersed blocks of tag detections, antenna settings, and other metadata.

Usage

1
readDTA(filename = "", lines = NULL, numLines = -1)

Arguments

filename

if specified, gives the full path to the .DTA file

lines

if specified, this is a character vector of lines from the .DTA file (helpful if it has already been read in for some reason). If NULL (the default), this function reads the file specified by filename

numLines

the maximum number of lines to read from the file. Useful if reading the file only to get a serial number, which is within the first 20 lines. Default: -1, which reads all lines.

Value

A named list with some or all of these items:

Note

The .DTA file is processed in lexical order, so that changes to antenna frequency settings etc. are taken into account in subsequent detection blocks.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.