get_last_update: Retrieve the data update timestamp

View source: R/endpoints.R

get_last_updateR Documentation

Retrieve the data update timestamp

Description

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.

See Also

Other API resources: get_commitments(), get_contracts(), get_feasibility_studies(), get_geometries(), get_physical_execution(), get_projects(), get_status_history()

Examples

if (interactive()) {
  get_last_update()
}

obrasgovr documentation built on July 24, 2026, 5:07 p.m.