Skip to contents

Get a DIP Drucksache text

Usage

dip_bundestag_drucksache_text(
  drucksache_id,
  params = list(),
  safe = TRUE,
  refresh = FALSE
)

Arguments

drucksache_id

Drucksache id.

params

Named list of query parameters. Common keys:

format

Response format ("json" recommended; default set by adapter).

apikey

Optional API key as query parameter (prefer auth header).

fuzzy

Free-text search string (character).

sort

Sort field/order definition (character).

cursor

Cursor for pagination (character).

limit

Page size/maximum number of documents (integer).

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 for the selected Drucksache text record. Contains all columns from dip_bundestag_drucksache() plus:

text

Full document text (character).

Examples

if (FALSE) { # \dontrun{
dip_bundestag_drucksache_text(68852)
} # }