An R package to support analysis of GLEIF data.
Install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("Financial-Times/gleifr")
Download the latest LEI-CDF and RR-CDF files from gleif.org
library(gliefr)
# Read in the files
entities <- read_gleif_entities_csv(file = "path/to/lei-cdf.csv")
relationships <- read_gleif_relationships_csv(file = "path/to/rr-cdf.csv")
Find the ultimate owner of legal entities with
ultimate_owners <- ultimate_parent(entities, relationships)
Find full documenation of the cleaned data set with
?gleif_entities
?gleif_relationships
or the raw data documentation for entities and relationships.
- Having an LEI became a requirement for EU companies on 3rd Jan 2018. Unfortunately this means that there are very few entity and relationship registrations before that date.
- Entities relationships can be “IS_DIRECTLY_CONSOLIDATED_BY”, “IS_INTERNATIONAL_BRANCH_OF” (rare) or “IS_ULTIMATELY_CONSOLIDATED_BY”. It is quite common for two entities to be both directly consolidated by and ultimately consolidated by.