tidyRunsalt: Read and tidy Runsalt output data

View source: R/tidyRunsalt.R

tidyRunsaltR Documentation

Read and tidy Runsalt output data

Description

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


## Not run: 
result <- tidyRunsalt("path/to/runsalt/output.txt")
head(result)

## End(Not run)




BhavShah01/SaltsR documentation built on Dec. 19, 2024, 7:37 p.m.