import_ORFID {ORFID} | R Documentation |
Import data files from Oregon RFID antenna readers
Description
Imports files from Oregon RFID (radio-frequency identification) ORMR (Oregon RFID Multi-Reader) and ORSR (Oregon RFID Single Reader) antenna readers. Only detections are retained during compilation (events are removed).
This function will only work with raw data downloaded directly from Oregon RFID stationary readers. The files must be delimited (tab, comma, or semicolon) and unedited by the user.
Usage
import_ORFID(file, delim, verbose = FALSE)
Arguments
file |
.txt file generated by an Oregon RFID reader. |
delim |
field/column delimiter, which must be tab ('\t'), comma (',') or semi-colon (';'). |
verbose |
If TRUE, a description of the compiled data is printed to the console. |
Details
The field/column delimiter must be tab, comma or semi-colon for data compilation and further analysis. The function cannot be used for space delimited data.
The tag number column (TAG) is required for subsequent analyses, and the function will return a warning if TAG is not included in the data file.
Note that corruption may occur in reader data files. Check your data files and compiled data carefully to ensure accuracy.
Value
Returns a tibble object of data compiled from a single ORFID data file.
Author(s)
Hugo Marques <biohmarques@gmail.com>, Annika Putt <annika@instream.net>
Examples
# Import a single tab-deliminated data file from an ORFID reader
import_ORFID(file = system.file("extdata/orfid_data_file.txt", package = "ORFID"), delim = "\t")