This function downloads and loads precomputed SHARK4R statistical data
(e.g., threshold or summary statistics) directly from the
SHARK4R-statistics GitHub repository.
The data are stored as .rds files and read into R as objects.
Details
The function retrieves the file from the GitHub repository’s data/ folder.
It temporarily downloads the file to the local system and then reads it into R using readRDS().
If the download fails (e.g., due to a network issue or invalid filename), the function throws an error with a descriptive message.
See also
check_outliers for detecting threshold exceedances using the loaded statistics,
get_shark_statistics for generating and caching statistical summaries used in SHARK4R.
scatterplot for generating interactive plots with threshold values.
