Skip to contents

List transgression types

Usage

luftqualitaet_transgressiontypes(params = list(), safe = TRUE, refresh = FALSE)

Arguments

params

Named list of query parameters. Common keys:

date_from

Start date/time filter (character, ISO-8601/date).

date_to

End date/time filter (character, ISO-8601/date).

component

Pollutant component id/code (character).

scope

Scope id/code (character).

station

Station id/code (character).

network

Network id/code (character).

lang

Language code for labels/descriptions (character).

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 transgression type. Column names are derived from the indices metadata in the API response and typically include exceedance type id and exceedance type name.

Details

Returns available transgression types. API documentation: https://luftqualitaet.api.bund.dev.