| Title: | A 'shiny' App for Reproducible QA/QC of Eddy Covariance Data |
|---|---|
| Description: | An interactive 'shiny'-based tool for exploration and quality assurance and quality control (QA/QC) of eddy covariance flux tower data processing. It generates data-point removal code via user-directed selection from a scatterplot, and can export a cleaned .csv with removed points set to NA plus an R script for reproducibility. Reference: Key (2025) <DOI:10.5281/zenodo.15597159>. |
| Authors: | Kesondra Key [aut, cre] |
| Maintainer: | Kesondra Key <[email protected]> |
| License: | GPL-3 |
| Version: | 0.7.1 |
| Built: | 2026-05-18 08:06:38 UTC |
| Source: | https://github.com/kesondrakey/fluxtools |
Clamps values to PRM ranges by variable family (e.g., ^SWC($|_), ^P($|_)).
Columns with "QC" in their names are skipped by default. Out-of-range values
are set to NA. No columns are removed.
apply_prm(.data, include = NULL, skip_qc = TRUE, note = TRUE, summarize = TRUE)apply_prm(.data, include = NULL, skip_qc = TRUE, note = TRUE, summarize = TRUE)
.data |
A data.frame or tibble. |
include |
Optional character vector of base family names to apply (e.g., "SWC", "P").
If |
skip_qc |
Logical; when TRUE, skip columns that look like flags:
names ending/containing |
note |
Logical; print a per-column summary with expected units, PRM range, and counts. |
summarize |
Logical; if |
If summarize = TRUE, a list with data and summary; else a data.frame.
Get the PRM rules as a tibble (for vignettes & checks)
get_prm_rules()get_prm_rules()
A tibble with columns: family (regex), variable (base), min, max, units, description
Launch the interactive 'shiny' QA/QC app for flux data
run_fluxtools()run_fluxtools()
No return value, called for side effects (it launches the Shiny app).
if (interactive()) { run_fluxtools() }if (interactive()) { run_fluxtools() }