Fetch LEI records
Usage
lei_records(
id = NULL,
legal_name = NULL,
jurisdiction = NULL,
status = NULL,
fulltext = NULL,
page_size = 200L,
page_number = NULL,
simplify = TRUE
)Arguments
- id
(
NULL|character(1))
The Legal Entity Identifier (LEI) to fetch.- legal_name
(
NULL|character(1))
Filter by legal name. Only relevant whenidisNULL.- jurisdiction
(
NULL|character(1))
Filter by jurisdiction. Only relevant whenidisNULL.- status
(
NULL|character(1))
Filter by entity status. Only relevant whenidisNULL.- fulltext
(
NULL|character(1))
Full-text search query. Only relevant whenidisNULL.- page_size
(
NULL|integer(1))
The number of records per page. Only relevant whenidisNULL. Default200L.- page_number
(
NULL|integer(1))
The page number to fetch. Only relevant whenidisNULL. WhenNULL(the default), all pages are fetched automatically.- simplify
(
logical(1))
Should the output be simplified? DefaultTRUE.
Value
When simplify = TRUE, a long-format data.frame() with columns:
lei: The Legal Entity Identifier
name: The attribute name
value: The attribute value
When simplify = FALSE, a named list() containing the raw API response.