Skip to contents

List flood portal states and connected regions

Usage

hochwasserzentralen_bundeslaender(safe = TRUE, refresh = FALSE)

Arguments

safe

Logical; if TRUE (default), apply rate-limiting and cache GET responses to tools::R_user_dir("bunddev", "cache").

refresh

Logical; if TRUE, ignore cached responses and re-fetch from the API (default FALSE).

Value

A tibble with one row per Bundesland/region entry. Columns are created dynamically from the upstream service response fields. If the response contains GeoJSON features, each feature's properties are used as columns; otherwise each top-level field becomes a column. Scalar values become atomic columns and nested structures become list-columns.

Details

Returns metadata for all Bundeslaender and connected regions in the hochwasserzentralen.de portal. API documentation: https://bundesapi.github.io/hochwasserzentralen-api/.

Examples

if (FALSE) { # \dontrun{
hochwasserzentralen_bundeslaender()
} # }