List all data package insert, update, and delete operations, optionally specifying the date and time to and/or from which the changes should be listed. An optional scope value can be specified to filter results for a particular data package scope.
list_recent_changes(
fromDate = NULL,
toDate = NULL,
scope = NULL,
as = "data.frame",
env = "production"
)
(character) Start date in the format "YYYY-MM-DDThh:mm:ss"
(character) End date in the format "YYYY-MM-DDThh:mm:ss"
(character) Scope of data package
(character) Format of the returned object. Can be: "data.frame" or "xml".
(character) Repository environment. Can be: "production", "staging", or "development".
(data.frame or xml_document) Recent changes and their corresponding packageId, scope, identifier, revision, principal, doi, serviceMethod, and date.
if (FALSE) {
# Changes occurring in the first 3 days of 2021 for all scopes
dataPackageChanges <- list_recent_changes(
fromDate = "2021-01-01T00:00:00",
toDate = "2021-01-03T00:00:00"
)
}