df_whos_ready_to: Who is ready the desired level?

View source: R/df_functions.R

df_whos_ready_toR Documentation

Who is ready the desired level?

Description

Check the site status files to list who is ready to move to target

Usage

df_whos_ready_to(
  level = c("lvl2"),
  filter = c("all", "ready", "freeze"),
  parent_logger = "test"
)

Arguments

level

string indicating the level to check. Accepted values are "lvl2".

filter

character vector indicating by which status results must been filtered. Accepted values are "all" (default), "ready" or "freeze" (see details)

Details

This function check the status files of all sites and list the status for the desired level. filter parameter can be used to filter the results by any status:

  • all retrieves all the statuses

  • ready retrieves only those sites marked to pass to level 2

  • freeze retrieves only those sites freezed in level 1 yet

Value

A list with length equal to the number of sites containing the TO_[level] flag of the status files.

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


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