Skip to contents

Combines GPD return levels and CI comparison (delta, bootstrap, order-statistics) into a single endpoint.

Usage

generate_api_extremes(return_levels_per_station, ci_comparison_per_station)

Arguments

return_levels_per_station

Tibble with columns return_period, return_level, lower, upper, station, variable, variable_label.

ci_comparison_per_station

Tibble with columns return_period, return_level, lower, upper, station, variable, method.

Value

A list with _meta and data fields.