Passer au contenu

Reads the sheets named "placette" and "modalite" from the Excel trial file stored in self$excel_data_trial, and stores the non-empty content into the metadata list of the UserData object.

Utilisation

load_metadata_sheets(self)

Arguments

self

An instance of the UserData R6 class containing the path to the Excel trial file.

Valeur de retour

None. Updates self$metadata by assigning:

  • "plot_desc" from the "placette" sheet if present and non-empty.

  • "moda_desc" from the "modalite" sheet if present and non-empty.

Détails

  • Empty rows (fully NA or empty strings) are removed from each sheet before storage.

  • Messages are printed to confirm loading or alert if sheets are missing or empty.