Ran following: library(finstr) inst<- "http://edgar.sec.gov/Archives/edgar/data/320193/000119312514383437/aapl-20140927.xml"
xbrl.vars<- xbrlDoAll(inst, verbose=TRUE)
st2013<-xbrl_get_statements(xbrl.vars)
Recevied following error
Error: cannot join on columns 'elementId' x 'elementId': Can't join on 'elementId' x 'elementId' because of incompatible types (factor / integer) In addition: Warning message: In semi_join_impl(x, y, by$x, by$y) : joining factors with different levels, coercing to character vector