itrax_import: Import Itrax core-scanner result file

View source: R/itrax_import.r

itrax_importR Documentation

Import Itrax core-scanner result file

Description

Imports and parses data from a results file created by Q-Spec software, part of the Itrax core scanner.

Usage

itrax_import(
  filename = "Results.txt",
  depth_top = NA,
  trim_top = 0,
  trim_bottom = 0,
  parameters = "some"
)

Arguments

filename

defines the name of the datafile to parse

depth_top

defines the coring in depth of the top of the core, in mm

trim_top

defines the length of any trimming required of data at the top of the core, in mm

trim_bottom

defines the length of any trimming required at the bottom of the core, in mm

parameters

one of 'all' (leave all parameters), 'some' (remove some less useful parameters)

Value

a tibble of the parsed Itrax data

Examples

itrax_import(
  filename = system.file("extdata",
                         "CD166_19_S1_Results.txt",
                         package = "itraxR",
                         mustWork = TRUE),
  depth_top = 0)


itraxR documentation built on July 26, 2023, 5:48 p.m.

Related to itrax_import in itraxR...