Fetch Tagesschau news items
Arguments
- regions
Optional region ids.
- ressort
Optional ressort filter.
- flatten
Logical; if
TRUE, simplify nested list columns according toflatten_mode. DefaultFALSEkeeps list columns as-is.- flatten_mode
How to handle list columns when
flatten = TRUE:"drop"Remove list columns entirely. Use when nested data is not needed.
"json"Convert each list element to a JSON string. Preserves all data in a text-queryable format. This is the default.
"unnest"Expand list columns into multiple rows via
tidyr::unnest_longer(). Warning: this can significantly increase the number of rows.
Value
A tibble with the same columns as tagesschau_homepage(), filtered
by optional region/ressort parameters.
Details
Returns current news items with optional filters for region or ressort. API documentation: https://bundesapi.github.io/tagesschau-api/.
See also
tagesschau_homepage() and tagesschau_search().
Other Tagesschau:
tagesschau_channels(),
tagesschau_homepage(),
tagesschau_search()