Skip to contents

Get Bundestag committee details

Usage

bundestag_ausschuss(ausschuss_id, safe = TRUE, refresh = FALSE)

Arguments

ausschuss_id

Committee id (e.g. "a11").

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 with committee detail fields extracted from XML. Column names correspond to XML element names.

<tag>

One column per unique scalar child element of the XML root (character). Exact names depend on the XML document structure.

<repeated_tag>

List-column when a child element name appears more than once.

Details

Returns details for a single committee. API documentation: https://bundesapi.github.io/bundestag-api/.

Examples

if (FALSE) { # \dontrun{
bundestag_ausschuss("a11")
} # }