我正在尝试通过Rblpapi::bdp()
.
我想要获取的查询字段包含特定杠杆贷款交易的赞助商列表(字符串列表)。
fieldInfo("SPNR_LIST")
揭示类型:
fieldInfo("SPNR_LIST")
id mnemonic datatype ftype
SPNR_LIST DX392 SPNR_LIST String BulkFormat
我的例子:
bdp(securities = "BL0739252 Corp", fields = "SPNR_LIST")
示例的错误:
bdp_Impl(con,证券,字段,选项,覆盖,详细,:尝试将元素“SPNR_LIST”(类型:“SPNR_LIST”)的值作为“字符串”类型访问。
我如何获得交易赞助商的完整名单?
verbose = T
带有选项的 PSbdp
返回:
> bdp(securities = "BL0739252 Corp", fields = "SPNR_LIST", verbose = T)
ReferenceDataResponse = {
securityData[] = {
securityData = {
security = "BL0739252 Corp"
eidData[] = {
}
fieldExceptions[] = {
}
sequenceNumber = 0
fieldData = {
SPNR_LIST[] = {
SPNR_LIST = {
Group Date = 2013-05-28
Sponsor = "Carlyle Group/The"
}
SPNR_LIST = {
Group Date = 2013-02-04
Sponsor = "Carlyle Group/The"
}
}
}
}
}
}
bdp_Impl(con,证券,字段,选项,覆盖,详细,:尝试将元素“SPNR_LIST”(类型:“SPNR_LIST”)的值作为“字符串”类型访问。
感谢您对此的任何帮助。我希望我足够清楚地描述了我的问题。