Fetches the field-level modification history of a given LEI, i.e. an audit log of every recorded
change to the entity (recordType "LEI") and its relationships (recordType "RR").
Value
A data.frame() with columns:
lei: The Legal Entity Identifier
record_type: The record the change applies to,
"LEI"or"RR"modification_type: The type of change, e.g.
"UPDATE"field: The path of the changed field
date: The date of the change
value_old: The previous value, or
NAif nonevalue_new: The new value, or
NAif none
Examples
# \donttest{
head(lei_modifications("529900W18LQJJN6SJ336", limit = 10))
#> lei record_type modification_type
#> 1 529900W18LQJJN6SJ336 RR UPDATE
#> 2 529900W18LQJJN6SJ336 RR UPDATE
#> 3 529900W18LQJJN6SJ336 RR UPDATE
#> 4 529900W18LQJJN6SJ336 RR UPDATE
#> 5 529900W18LQJJN6SJ336 RR UPDATE
#> 6 529900W18LQJJN6SJ336 RR UPDATE
#> field
#> 1 /rr:RelationshipData/rr:RelationshipRecords/rr:RelationshipRecord/rr:Registration/rr:NextRenewalDate
#> 2 /rr:RelationshipData/rr:RelationshipRecords/rr:RelationshipRecord/rr:Registration/rr:NextRenewalDate
#> 3 /rr:RelationshipData/rr:RelationshipRecords/rr:RelationshipRecord/rr:Registration/rr:LastUpdateDate
#> 4 /rr:RelationshipData/rr:RelationshipRecords/rr:RelationshipRecord/rr:Registration/rr:LastUpdateDate
#> 5 /rr:RelationshipData/rr:RelationshipRecords/rr:RelationshipRecord/rr:Relationship/rr:RelationshipPeriods/rr:RelationshipPeriod/rr:StartDate
#> 6 /rr:RelationshipData/rr:RelationshipRecords/rr:RelationshipRecord/rr:Relationship/rr:RelationshipPeriods/rr:RelationshipPeriod/rr:StartDate
#> date value_old value_new
#> 1 2025-08-28T00:00:00Z 2025-10-18T00:00:00+02:00 2026-10-18T00:00:00+02:00
#> 2 2025-08-28T00:00:00Z 2025-10-18T00:00:00+02:00 2026-10-18T00:00:00+02:00
#> 3 2025-08-28T00:00:00Z 2024-10-17T14:39:14+02:00 2025-08-27T16:35:08+02:00
#> 4 2025-08-28T00:00:00Z 2024-10-17T14:39:14+02:00 2025-08-27T16:35:08+02:00
#> 5 2025-08-28T00:00:00Z 2024-03-11T00:00:00+01:00 2025-03-12T00:00:00+01:00
#> 6 2025-08-28T00:00:00Z 2024-03-11T00:00:00+01:00 2025-03-12T00:00:00+01:00
# }