getOperatingStatus: Get receiver operating status.

Description Usage Arguments Value Author(s)

View source: R/getOperatingStatus.R

Description

Counts the number of files written by a receiver during each hour for which data are available. Examines GPS records to see when GPS was functioning (vs. stuck on a fix). If the site database has it, also returns a list of counts of each pulse type (i.e. USB port code) per hour.

Usage

1
getOperatingStatus(site, proj, year = lubridate::year(Sys.time()))

Arguments

site

site name

proj

project name

year

deployment year (defaults to current year)

Value

a list with these items:

files.per.hour

data frame with at most one record per hour, giving number of raw data files recorded and bootcount

gps.fix

data frame with at most hourly true GPS fix (i.e. repeated 'stuck' fixes are not reported)

undated.period

the number of days of data recorded with dates beginning with 1 Jan 2000; these are periods when the GPS had not set the clock

num.boots

the number of times the system was restarted during the operating period

pulse.counts

data frame with columns pcode, ts, count giving count of pulses from each port per hour

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/sensorgnome-R-package documentation built on May 18, 2019, 9:19 p.m.