Skip to contents

Retrieves the names/identifiers or UUIDs of the most recently changed resources in the database. If an index as returned by get_field_index() or get_uid_list() is returned, the UUIDs are replaced by identifiers. If not, the UUIDs are returned directly and can be used for querying e.g. with

Usage

idf_last_changed(connection, index = NULL, n = 100)

Arguments

connection

A connection object as returned by connect_idaifield()

index

A data.frame as returned by get_field_index() (or get_uid_list()).

n

numeric. Maximum number of last changed resources to get.

Value

A vector of UUIDs or identifiers of the most recently changed n resources.

Examples

if (FALSE) {
connection <- connect_idaifield(pwd = "hallo", project = "rtest")
index <- get_field_index(connection)
last_changed <- idf_last_changed(
    connection = connection,
    index = index,
    n = 100
)
}