Skip to contents

List available places

Usage

abfallnavi_orte(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 place and columns:

id

Integer. Place identifier.

name

Character. Place name.

Details

The Abfallnavi API provides waste collection data for supported regions. Start by listing places (Orte) to obtain an ortId. API documentation: https://bundesapi.github.io/abfallnavi-api/.

Examples

if (FALSE) { # \dontrun{
abfallnavi_orte()
} # }