list_recent_changes {EDIutils}R Documentation

List recent changes

Description

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.

Usage

list_recent_changes(
  fromDate = NULL,
  toDate = NULL,
  scope = NULL,
  as = "data.frame",
  env = "production"
)

Arguments

fromDate

(character) Start date in the format "YYYY-MM-DDThh:mm:ss"

toDate

(character) End date in the format "YYYY-MM-DDThh:mm:ss"

scope

(character) Scope of data package

as

(character) Format of the returned object. Can be: "data.frame" or "xml".

env

(character) Repository environment. Can be: "production", "staging", or "development".

Value

(data.frame or xml_document) Recent changes and their corresponding packageId, scope, identifier, revision, principal, doi, serviceMethod, and date.

See Also

Other Listing: list_data_descendants(), list_data_entities(), list_data_package_identifiers(), list_data_package_revisions(), list_data_package_scopes(), list_data_sources(), list_deleted_data_packages(), list_recent_uploads(), list_service_methods(), list_user_data_packages()

Examples

## Not run: 

# 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"
)

## End(Not run)

[Package EDIutils version 1.0.3 Index]