Skip to contents

Fetch DWD sea warning text

Usage

dwd_sea_warning_text(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 one-row tibble:

text

Sea warning text (character).

Details

Retrieves sea warning text from the DWD App API. API documentation: https://dwd.api.bund.dev.

Examples

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