parse_logbook: Parse the baton's logbook for details of interest

parse_logbookR Documentation

Parse the baton's logbook for details of interest

Description

Will parse based on various REGEX capturing groups:

Usage

parse_logbook(
  baton_logbook,
  target = c("PASS", "PASS_NUMBER", "DATE", "TIME", "DATETIME", "MESSAGE_TYPE",
    "MESSAGE")
)

Arguments

baton_logbook

A baton or a vector containing a baton's logbook details.

target

Character vector for parsing target in logbook (one of: 'PASS', 'PASS_NUMBER', 'DATETIME', 'DATE' 'TIME', , 'MESSAGE_TYPE', 'MESSAGE').

Details

  • "Group 1"entire content

  • "Group 2"pass number

  • "Group 3"DateTime

  • "Group 4"Date

  • "Group 5"Time

  • "Group 6"message type

  • "Group 7"message content


al-obrien/relay documentation built on May 6, 2023, 10:19 p.m.