Merges observation data with metadata sheets "placette" if available.
The function joins the 2 dataframes using the plot_id
column.
Utilisation
merge_data_plotdesc(self, df, flex = F)
Arguments
- self
An instance of the UserData
R6 class containing metadata$plot_desc.
- df
a dataframe to join.
- flex
boolean. if TRUE, 10A A1O or 10a are considered as the same plot_id
Valeur de retour
A data.frame
with observation data enriched by plot and treatment metadata.
If no observation data is available, returns only the merged plot + modality metadata.
If required metadata is missing, returns NULL
with a message.