Skip to contents

List map data

Usage

nina_mapdata(
  source = c("katwarn", "biwapp", "mowas", "dwd", "lhp", "police"),
  safe = TRUE,
  refresh = FALSE
)

Arguments

source

Map data source.

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 map-data warning entry.

id

Warning identifier (character).

version

Warning version (integer).

start_date

Start date string from the API (character).

severity

Warning severity level (character).

urgency

Warning urgency level (character).

type

Warning type (character).

i18n_title

Internationalised title entries (list).

trans_keys

Translation key entries (list).

start_date_time

Parsed start date (POSIXct, Europe/Berlin).

source

Map data source used in the request (character).

Details

Valid sources are: katwarn, biwapp, mowas, dwd, lhp, police.