import_sdr_data: Import SDR data files

Description Usage Arguments Value Examples

View source: R/import_sdr_data.R

Description

import_sdr_data imports a directory of SDR output files. Files must be in the xlsx format. SDR IDs will be extracted along with the Run ID and Oxygen consumption data.

Usage

1
2
import_sdr_data(dataset_dir, sheet_number = 1, skip_rows = 12,
  Trim_time = 20, ...)

Arguments

dataset_dir

A string indicating the location of the directory of xlsx files to import.

sheet_number

An integer. The sheet number of the excel workbook that should be imported. Defaults to 1.

skip_rows

An integer. The number of rows of the excel sheet to skip on import. Defaults to 12.

Trim_time

An integer. Initial sampling times to skip. Defaults to 20. No Sensor errors are set to missing (NA).

...

Value

A nested tibble by SDR, with Date, Time, Cell, and Oxygen values

Examples

1
2
3
test_data <- import_metab(dataset_dir = "./friA_18NOV/test/",
                           sheet_number = 1, skip_rows = 12,
                           Trim_time = 0)

daflealab/genlabfunc documentation built on March 19, 2018, 10:13 a.m.