Skip to contents

List station types

Usage

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

Details

Returns station types metadata. API documentation: https://luftqualitaet.api.bund.dev.