import: s::can spectrolyzer output dataset import and processing

Description Usage Arguments Value Examples

View source: R/import.R

Description

This function selects physically meaningful variables (Date/Time, turbidity, nitrate, toc, doc) from the default output table of s::can spectrolyzers. This function will process them in a tidy way when given the serial number of the spectroylyzer you want to import.Ensure the data file ".par" is present in the Raw_data folder

Usage

1
import(path, serialnumber)

Arguments

path

Provide the path to the ".par" dataset to be imported, wrapped in "". If your dataset is still in ".fp" format, you need to visualize the fingerprint through the Analyte software to be converted to ".par" format which is the parameter file

serialnumber

Provide the serial number of the spectrolyzer wrapped in "". This will be used to generate a new column, named SN, populated with the provided serial number to follow the dataset

Value

A tibble of 6 columns with length equal the number of measurement the spectrolyzer performed

Examples

1
import("https://raw.githubusercontent.com/BrianY-Wang/foo/main/Raw_data/09210160.par", "09210160")

BrianY-Wang/scan.Tools documentation built on Dec. 17, 2021, 11:55 a.m.