OpenFIGI {ROpenFIGI} | R Documentation |
OpenFIGI main function
Description
OpenFIGI main function
Usage
OpenFIGI(input, apikey = NULL,
openfigiurl = "https://api.openfigi.com/v1/mapping", preferdf = F)
Arguments
input |
input data.frame or json, and others that can be feed into toJSON |
apikey |
your API key |
openfigiurl |
Bloomberg's OpenFIGI URL, please see https://openfigi.com/api |
preferdf |
if only supply 1 input, do you prefer to see the data.frame directly |
Details
you may need to setInternet2() or set up proxy if needed
Value
a list of data.frame, of a data.frame if preferdf=T and only 1 request
Examples
## Not run:
setInternet2()
figirst = OpenFIGI(sampleOpenFIGIdf())
## End(Not run)
[Package ROpenFIGI version 0.2.8 Index]