import_ORFID_events: Import event records from Oregon RFID antenna readers

View source: R/import_ORFID_events.R

import_ORFID_eventsR Documentation

Import event records 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 event records are retained during compilation (detections are removed). The function will not work with older generations of Oregon RFID antenna readers.

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_events(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. The function cannot be used for space delimited data.

Value

Returns a tibble object.

Author(s)

Hugo Marques <biohmarques@gmail.com>

Examples


# Importing event records from a single ORFID reader 
import_ORFID_events(file = system.file("extdata/orfid_data_file.txt", 
package = "ORFID"), delim = "\t")


hugo-marques/ORFID documentation built on Jan. 10, 2023, 6:26 a.m.