df_set_status: Set the status file info

Description Usage Arguments Details Value See Also

Description

Change and update status file info using yaml package

Usage

1
2
df_set_status(si_code, QC = NULL, LVL1 = NULL, LVL2 = 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

LVL2

List with the LVL2 info to be updated

Details

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

Value

Invisible TRUE if changes to status file were correctly made, invisble 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, df_copy_templates, df_folder_structure, df_get_data_folders, df_get_status, df_lvl1_to_lvl2, df_lvl2_folder_structure, df_read_SfnData, df_received_to_accepted, df_rem_to_units, df_report_folder_creation, df_reset_data_status, df_start_status, df_warn_to_rem, df_whos_ready_to, df_write_SfnData, sfn_data_constructor


sapfluxnet/sapfluxnetQC1 documentation built on May 29, 2019, 1:50 p.m.