knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.