https://github.com/m-muecke/gleif
R client for the GLEIF API
https://github.com/m-muecke/gleif
gleif isin lei r r-package
Last synced: 25 days ago
JSON representation
R client for the GLEIF API
- Host: GitHub
- URL: https://github.com/m-muecke/gleif
- Owner: m-muecke
- License: other
- Created: 2024-01-06T15:53:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-18T00:20:22.000Z (about 1 month ago)
- Last Synced: 2025-04-01T23:14:14.749Z (26 days ago)
- Topics: gleif, isin, lei, r, r-package
- Language: R
- Homepage: https://m-muecke.github.io/gleif/
- Size: 8.04 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
options(str = strOptions(strict.width = "cut"))
```# gleif
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[](https://github.com/m-muecke/gleif/actions/workflows/R-CMD-check.yaml)
[](https://CRAN.R-project.org/package=gleif)gleif is a minimal R client for the [gleif](https://www.gleif.org) API.
A major challenge when dealing with financial data is the mapping of entities across different data sources.
Especially when dealing with legal entities, the Legal Entity Identifier (LEI) can be used to uniquely identify entities.## Installation
You can install the development version of gleif from [GitHub](https://github.com/) with:
```{r, eval = FALSE}
# install.packages("pak")
pak::pak("m-muecke/gleif")
```## Usage
Currently only the download of the lei mapping data is supported.
```{r}
library(gleif)mapping <- lei_mapping("isin")
head(mapping)records <- lei_records("001GPB6A9XPE8XJICC14", simplify = TRUE)
str(records)
```## Related work
- [gleifr](https://github.com/Financial-Times/gleifr) - R package to support analysis of GLEIF data