Skip to contents

Generates a series of plots for cleaned EASIN data, including the number of observations, number of species, and the distribution of these metrics per data partner. The function requires environment variables for paths to data and expects specific files to be present at these paths.

Usage

EASIN_Plot(EnvFile = ".env", FromHPC = TRUE)

Arguments

EnvFile

Character. The path to the .env file containing environment variables. Defaults to ".env".

FromHPC

Logical indicating whether the work is being done from HPC, to adjust file paths accordingly. Default: TRUE.

Value

The function returns NULL invisibly. Plots are saved as JPEG files in the specified directory.

Details

The function first loads environment variables either from a high-performance computing (HPC) environment or a local environment. Then, it loads required data files, checks for missing files, and proceeds to generate and save plots as JPEG files. The plots include the number of observations and species and their distribution per data partner.

Note

This function is not intended to be used directly by the user or in the IAS-pDT, but only used inside the EASIN_Process function.

Author

Ahmed El-Gabbas