Skip to contents

Retrieves the last update timestamp and available data boundaries from the ARAD updates endpoint. Exactly one selector must be supplied.

Usage

arad_updates(
  indicator_ids = NULL,
  set_id = NULL,
  base_id = NULL,
  selection_id = NULL,
  snapshot_ids = NULL,
  api_key = NULL,
  base_url = NULL,
  encoding = "windows-1250",
  cache = NULL,
  cache_dir = NULL,
  cache_max_age = NULL
)

Arguments

indicator_ids

Character vector of indicator IDs.

set_id

ARAD set ID.

base_id

ARAD base ID.

selection_id

ARAD user selection ID.

snapshot_ids

Optional snapshot IDs, or ALL / LAST.

api_key

ARAD API key. If NULL, ARAD_API_KEY is used.

base_url

ARAD API base URL. Primarily intended for testing.

encoding

Response encoding. Defaults to Windows-1250.

cache

Response cache mode: none, session, or disk. NULL uses the aradR.cache option, defaulting to none.

cache_dir

Optional disk cache directory.

cache_max_age

Maximum cache age in seconds. NULL uses the aradR.cache_max_age option, defaulting to Inf.

Value

A tibble with indicator_id, snapshot_id, update_date, data_from, and data_to.