importdoor: Get The Door Openings Info

Description Usage Arguments Details Value

View source: R/readfile.R

Description

importfile reads a single file word by word on, selects words on the basis of standards, parses and returns a data table

Usage

1
importdoor(.form, target = file.choose())

Arguments

.form

List inherited from digformat(version)

target

Character. Path to file; Default calls widget to choose a file WIN by file.choose()

Details

Files containing all hardware info usually are clumsy, so here the needed variables are get by position rather than by name. Please note: A door opening is equal to access to a reward.

Value

Data frame with 3 variables:

TimeDoorOpened

exact time of door opening; <dttm>

deviceid

name of the house cage; <chr>

Corner

where the door got opened; <int>


jmjablons/icager documentation built on Aug. 19, 2020, 8:10 p.m.