xbrl

Reading xbrl with python

隐身守侯 提交于 2019-12-05 04:16:27
问题 I am trying find particular tag in an xbrl file. I originally tried using python-xbrl package, but it is not exactly what I want, so I based my code on the one available from the package. Here's the part of xbrl that I am interested in <us-gaap:LiabilitiesCurrent contextRef="eol_PE2035----1510-Q0008_STD_0_20150627_0" unitRef="iso4217_USD" decimals="-6" id="id_5025426_6FEF05CB-B19C-4D84-AAF1-79B431731049_1_24">65285000000</us-gaap:LiabilitiesCurrent> <us-gaap:Liabilities contextRef="eol_PE2035

Parse multiple XBRL files stored in a zip file

南楼画角 提交于 2019-12-03 22:28:33
I have downloaded multiple zip files from a website. Each zip file contains multiple html and xml extension files (~ 100K in each). It is possible to manually extract the files and then parse them. However, i would like to be able to do this within R (if possible) Example file (sorry it is a bit big) using code from a previous question - download one zip file library(XML) pth <- "http://download.companieshouse.gov.uk/en_monthlyaccountsdata.html" doc <- htmlParse(pth) myfiles <- doc["//a[contains(text(),'Accounts_Monthly_Data')]", fun = xmlAttrs][[1]] fileURLS <- file.path("http://download

Reading xbrl with python

南楼画角 提交于 2019-12-03 21:49:23
I am trying find particular tag in an xbrl file. I originally tried using python-xbrl package, but it is not exactly what I want, so I based my code on the one available from the package. Here's the part of xbrl that I am interested in <us-gaap:LiabilitiesCurrent contextRef="eol_PE2035----1510-Q0008_STD_0_20150627_0" unitRef="iso4217_USD" decimals="-6" id="id_5025426_6FEF05CB-B19C-4D84-AAF1-79B431731049_1_24">65285000000</us-gaap:LiabilitiesCurrent> <us-gaap:Liabilities contextRef="eol_PE2035----1510-Q0008_STD_0_20150627_0" unitRef="iso4217_USD" decimals="-6" id="id_5025426_6FEF05CB-B19C-4D84

Arelle Webserver - How to extract the income statement from an XBRL filing?

拥有回忆 提交于 2019-12-03 15:10:10
问题 I am trying to extract financial statement information based on type of the statement. Let me explain to you in a little more details. I want to extract the income statement, balance sheet and cash flow statement from an XBRL instance – especially US GAAP. For me, the perfect solution would be to have tags in the XML file in such a way that I can extract the income statement with tag <incomestatement> , balance sheet with <balancesheet> and cash flow with <cashflow> . Please help me here. I

Arelle Webserver - How to extract the income statement from an XBRL filing?

▼魔方 西西 提交于 2019-12-03 08:47:40
I am trying to extract financial statement information based on type of the statement. Let me explain to you in a little more details. I want to extract the income statement, balance sheet and cash flow statement from an XBRL instance – especially US GAAP. For me, the perfect solution would be to have tags in the XML file in such a way that I can extract the income statement with tag <incomestatement> , balance sheet with <balancesheet> and cash flow with <cashflow> . Please help me here. I am a novice and do not posses much background in XBRL. rbr Fortunately, it is not that difficult to

JAXB fails to generate Java classes for XBRL

守給你的承諾、 提交于 2019-12-01 14:42:37
问题 I'm trying to generate Java classes for types defined in XBRL. My build process is based on Maven 2, and here are my trials. I only paste the build section, which relies on some properties: package is the name of my target package catalog is the path and file name of the catalog. because I have no internet connection, I have amny entries, but I think those are always necessary -- TR9401 for XBRL resources -- SYSTEM http://www.xbrl.org/2003/XLink http/www.xbrl.org/2003/xl-2003-12-31.xsd SYSTEM