pull_fund_info: Retrieves fund qualitative information.

Description Usage Arguments Value See Also Examples

Description

Provided with a set of fund Bloomberg tickers pulls qualitative information on the corresponding fund(s) or retrieves it from an existing storethat SQLite database.

Usage

1
pull_fund_info(source = "Bloomberg", tickers, file = NULL, ...)

Arguments

source

a scalar character vector. Specifies the data source for the query: "Bloomberg" or "storethat". Defaults to "Bloomberg".

tickers

a chatacter vector. Specifies the futures active contract Bloomberg tickers to query data for.

file

a scalar chatacter vector. Optional parameter that specifies the target storethat SQLite database file to retrieve data from.

...

optional parameters to pass to the bdp function from the Rblpapi package used for the query (options parameter).

Value

An S4 object of class FundInfo.

See Also

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

    BBG_info <- pull_fund_info(source = "Bloomberg", tickers = c("SPY US Equity", "IVV US Equity"))

    storethat_info <- pull_fund_info(source = "storethat", file = "~/storethat.sqlite",
      tickers = c("SPY US Equity", "IVV US Equity"))

    storethat_info <- pull_fund_info(source = "storethat", tickers = c("SPY US Equity", "IVV US Equity"))

  
## End(Not run)

bautheac/pullit documentation built on June 7, 2021, 12:11 p.m.