Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 713 Bytes
#' ETFs listed in the US
#'
#' Read the python documentation for information on the data-attributes \url{https://plutopy.readthedocs.io/en/latest/ETFsUs.html}
#'
#' Sample notebook: \url{https://github.com/shyams80/plutons/blob/master/docs-R/ETFsUs.ipynb}
#'
#' @export ETFsUs
#' @exportClass ETFsUs
ETFsUs <- setRefClass('ETFsUs',
fields = c("conn"),
methods = list(
initialize = function(){
.self$conn <- model.common.con.StockViz()
},
Meta = function(){
"Query the meta-data"
return (tbl(.self$conn, 'ETF_META_V') %>%
select(SYMBOL, NAME = FUND, LAUNCH_DATE, ISSUER, EXPENSE_RATIO, AUM,
ASSET_CLASS, SEGMENT, UNDERLYING_INDEX))
}
))
You can’t perform that action at this time.