Type: Package
Title: A 'shiny' App for Reproducible QA/QC of Eddy Covariance Data
Version: 0.4.0
Description: An interactive 'shiny'-based tool for 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>.
License: GPL-3
URL: https://github.com/kesondrakey/fluxtools, https://doi.org/10.5281/zenodo.15597159
BugReports: https://github.com/kesondrakey/fluxtools/issues
Imports: dplyr, plotly, shiny
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
BuildVignettes: TRUE
Encoding: UTF-8
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2025-07-20 16:19:16 UTC; Karmic Dreamwork
Author: Kesondra Key [aut, cre]
Maintainer: Kesondra Key <keyke@iu.edu>
Repository: CRAN
Date/Publication: 2025-07-20 18:30:02 UTC

Launch the interactive 'shiny' QA/QC app for flux data

Description

Launch the interactive 'shiny' QA/QC app for flux data

Usage

run_flux_qaqc(offset)

Arguments

offset

Integer. The site's UTC offset in hours (e.g. -5 for 'UTC-5', +2 for 'UTC+2'). Must be a single integer between -12 and +14; supplying a value outside this range throws an error.

Value

No return value, called for side effects (it launches the Shiny app).

Examples

# — Quick automated checks —
# These run during R CMD check, but users don’t see them:
try(run_flux_qaqc(-13))  # should print error message
try(run_flux_qaqc(15))   # should print error message

# — Interactive demo (only in an interactive R session) —
if (interactive()) {
  run_flux_qaqc(-5)     # US Eastern Standard Time ('UTC-5')
}