Skip to contents

List waste fractions

Usage

abfallnavi_fraktionen(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 tibble with one row per waste fraction and columns:

id

Integer. Fraction identifier.

name

Character. Fraction name (e.g. "Restabfall").

iconNr

Integer. Icon number for display.

farbeRgb

Character. RGB colour hex code.