我正在尝试在 R 中复制以下彭博函数: BDP("000361AQ8 CUSIP","TOT_DEBT_TO_EBITDA","EQY_FUND_YEAR","2013","FUND_PER","q2")
到目前为止,我已经能够创建以下内容,但是,我的所有输出都会产生 NA:
require(Rbbg)
conn <- blpConnect(throw.ticker.errors = F)
fields <- c("TOT_DEBT_TO_EBITDA")
overrides_fields <- c("EQY_FUND_YEAR","FUND_PER")
overrides <- c("2013","q2")
data <- bdp(conn,"000361AQ8 CUSIP",fields,overrides_fields,overrides)