df_start_status_psi: Initialise an empty status file

View source: R/df_functions.R

df_start_status_psiR Documentation

Initialise an empty status file

Description

Initialise an empty status file in yaml format, using the yaml package

Usage

df_start_status_psi(si_code, parent_logger = "test")

Arguments

si_code

Character vector indicating the site code

Details

Before creating an empty file, df_start_status_psi checks if an status file already exists, in order to avoid accidental rewriting of the file.

Value

Invisible TRUE if no errors were encountered, invisible FALSE if there was errors. Also, status file is created in the corresponding folder.

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_set_status_psi(), df_whos_ready_to(), psi_data_constructor()


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