Skip to contents

Get a NINA warning (GeoJSON)

Usage

nina_warning_geojson(identifier, safe = TRUE, refresh = FALSE)

Arguments

identifier

Warning identifier.

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.

identifier

Warning identifier (character).

geojson

Full GeoJSON response payload (list).

Details

Returns a warning in GeoJSON format.