Skip to contents

This function reads a Runsalt output file, processes it, and returns a tidy dataframe. It separates salt and variable information, pivots the data, and adds columns for relative humidity (RH) and moles (mol).

Usage

tidyRunsalt(file_path)

Arguments

file_path

A character string specifying the path to the Runsalt output file.

Value

A tibble with columns:

  • Salt The type of salt

  • RH Relative Humidity

  • mol Moles of salt

  • filename The name of the input file

Examples


if (FALSE) { # \dontrun{
result <- tidyRunsalt("path/to/runsalt/output.txt")
head(result)
} # }