dr_readSonde: Import raw data from a YSI Multivariable V2 Sonde

View source: R/dr_readSonde.R

dr_readSondeR Documentation

Import raw data from a YSI Multivariable V2 Sonde

Description

This function imports the raw data from a YSI Sonde and formats the data set as a tibble. If defineVar is set to TRUE (the default option), units of measurement will not be included in the first observation.

Usage

dr_readSonde(file, defineVar = TRUE)

Arguments

file

The name of the file which the data are to be read from. Each row of the table appears as one line of the file. If it does not contain an absolute path, the file name is relative to the current working directory.

defineVar

Logical scalar that determines if the units of measurement are included in the first observation. If they are included, all vectors will be read in as character.

Value

A tibble with the formatted data and the variable types defined if defineVar = TRUE

Examples

## Not run: 
dr_readSonde("data.csv")
dr_readSonde("data.csv", defineVar = TRUE)

## End(Not run)


shaughnessyar/driftR documentation built on July 25, 2022, 8:32 a.m.