dr_readSonde: Import raw data from a YSI Multivariable V2 Sonde

Description Usage Arguments Value Examples

View source: R/dr_readSonde.R

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

1
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

1
2
3
4
5
## Not run: 
dr_readSonde("data.csv")
dr_readSonde("data.csv", defineVar = TRUE)

## End(Not run)

shaughnessyar/driftR documentation built on June 17, 2018, 8:54 p.m.