Skip to contents

Retrieve the data update timestamp

Usage

get_last_update(base_url = .obrasgovr_base_url())

obter_data_atualizacao(base_url = .obrasgovr_base_url())

Arguments

base_url

HTTPS base URL. By default, uses the obrasgovr.base_url option or the official API environment.

Value

A POSIXct value in the UTC time zone.

Examples

if (interactive()) {
  get_last_update()
}