df_set_status_psi: Set the status file info

View source: R/df_functions.R

df_set_status_psiR Documentation

Set the status file info

Description

Change and update status file info using yaml package

Usage

df_set_status_psi(si_code, QC = NULL, LVL1 = NULL, parent_logger = "test")

Arguments

si_code

Character vector indicating the site code

QC

List with the QC info to be updated

LVL1

List with the LVL1 info to be updated

Details

QC and LVL1 must be lists. In the case of QC, a list with two elements, DONE and DATE. In the case of LVL1 a list with two elements, STORED and DATE. DONE and STORED are logical, whereas DATE is always a character or NULL.

Value

Invisible TRUE if changes to status file were correctly made, invisible FALSE if changes were not made. Also, the status file for the site will be replaced with the new one.

See Also

Other Data Flow: df_accepted_to_lvl1_psi(), df_copy_templates_psi(), df_folder_structure(), df_get_data_folders(), df_get_status(), df_read_psiData(), df_received_to_accepted_psi(), df_report_folder_creation(), df_reset_data_status_psi(), df_start_status_psi(), df_whos_ready_to(), psi_data_constructor()


vflo/PSIsapfluxnetQC1 documentation built on Feb. 15, 2024, 3:19 a.m.