Skip to contents

List healthcare documents

Usage

travelwarning_healthcare(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 healthcare document:

content_id

Character. Entry/content identifier.

parent_content_id

Character. Parent identifier for nested records.

response_country

Character. Country code from response metadata.

response_last_modified

Numeric. Feed-level modification timestamp.

response_last_modified_time

POSIXct. Parsed feed-level timestamp.

last_modified_time

POSIXct. Entry-level modification timestamp.

effective_time

POSIXct. Entry effective timestamp.

last_modified

Numeric. Raw entry modification timestamp in ms.

name

Character. Document name.

url

Character. Download URL.

Details

Returns healthcare documents provided by the Auswaertiges Amt. API documentation: https://travelwarning.api.bund.dev.

Examples

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