parse_packet_set: Parse all packets of a given type

Description Usage Arguments

View source: R/parse_packet_set__generic_&_simple_methods.R

Description

Parse all packets of a given type

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## S3 method for class 'ACTIVITY2'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE,
  info, events, ...)

## S3 method for class 'CAPSENSE'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE,
  ...)

## S3 method for class 'METADATA'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE,
  ...)

## S3 method for class 'EVENT'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE,
  info, ...)

## S3 method for class 'SENSOR_DATA'
parse_packet_set(set, log, tz = "UTC",
  verbose = FALSE, parameters, schema, ...)

## S3 method for class 'SENSOR_SCHEMA'
parse_packet_set(set, log, tz = "UTC",
  verbose = FALSE, ...)

parse_packet_set(set, log, tz = "UTC", verbose = FALSE, ...)

## Default S3 method:
parse_packet_set(set, log, tz = "UTC", verbose = FALSE,
  ...)

## S3 method for class 'PARAMETERS'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE,
  ...)

## S3 method for class 'BATTERY'
parse_packet_set(set, log, tz = "UTC", verbose = FALSE,
  ...)

Arguments

set

the set of record headers corresponding to each packet

log

the raw data from log.bin

tz

character. The timezone to use

verbose

logical. Print updates to console?

info

the result of parse_info_txt

events

the result of parsing EVENTS packets

...

further arguments passed to methods

parameters

A PARAMETERS object

schema

A SENSOR_SCHEMA object


AGread documentation built on Feb. 26, 2020, 5:12 p.m.