psiQC is an R package designed to facilitate quality control in leaf water potential measurements, integrated with the SAPFLUXNET database. This package provides tools and scripts to ensure data integrity and reliability.
Currently, psiQC is available as a development version on GitHub. You can install it using devtools:
# Install devtools if you haven't already
if (!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}
# Install psiQC from GitHub
devtools::install_github("vflo/psiQC")To effectively use psiQC follow these steps:
Start by creating a new R project. This will be your working environment where all scripts and data will be organized.
- Server Preparation Script: Begin by running the
server_preparation_script.Rscript found in theinst/run_scriptsdirectory of thepsiQCpackage. This initial step sets up your working environment and prepares it for the quality control of your data.
- Data Storage: Place your raw data files in the
received_datadirectory located at the root of your project. The path will typically look like./received_data/ARG_MAZ.xlsx. Ensure your data files, such as Excel spreadsheets, are correctly named and placed in this directory for processing.
- Running QC Script: With your environment and data prepared, proceed to run the
main_script.Rfound in your R project root. This script conducts a comprehensive series of quality control checks on your data. Make sure to follow any additional instructions specified within themain_script.R.
- QC Report Generation: For each site data processed,
psiQCgenerates a detailed QC report. These reports highlight any identified issues with the data.
psiQC is licensed under the MIT License Creative Commons Attribution 4.0 International (CC BY 4.0) licensing guidelines.