idf_last_changed: Get a vector of UUIDs or identifiers of the last n changed...

View source: R/idf_changes.R

idf_last_changedR Documentation

Get a vector of UUIDs or identifiers of the last n changed resources

Description

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

## Not run: 
connection <- connect_idaifield(pwd = "hallo", project = "rtest")
index <- get_field_index(connection)
last_changed <- idf_last_changed(
    connection = connection,
    index = index,
    n = 100
)

## End(Not run)

lsteinmann/idaifieldR documentation built on April 3, 2025, 2:06 p.m.