dumpxbrl
dumpxbrl {-t|-c|-l|-i|-g} -d dir/to/schema/files <xbrl> [options]
This program will parse the given xbrl file and print it's contents.
If a file needed to parse the xbrl doesn't exist, the file is downloaded to the directory specified by -d option.
You can store the taxonomies of TDnet and EDINET to the schema directory in advance. But I donnot examine it.
example:
To dump a presentation tree of consolidated balance sheet with fields(depth,order,id_short) and context fileds(value,adjValue)
dumpxbrl -t --notextblock <xbrl> -f depth order id_short -cf value adjValue -type pre -role http://disclosure.edinet-fsa.go.jp/role/jppfs/rol_ConsolidatedBalanceSheet -d dir/to/schema/files
Debug dump with -g option will help you understand JPFR.
dumpxblr -g -d dir/to/schema/files <xbrl>
Prints a help message and exits.
Prints items. It is much faster than the other dumps, because no taxonomy is parsed, or bacause only the XBRL-instance is parsed.
Prints definition, presentaion, and/or calculation trees.
Prints contexts.
Prints labels.
Prints contents for debug.
Prints in english.
Prints simple trees(with -tree). It represents hierarchies of the threes as indented labels.
Sets fields to show(with -tree).
Sets context fields to show(with -tree).
Sets type(s) to show(with -tree).
types are 'def', 'pre' and 'cal'. these are default types.
Sets role(s) to show(with -tree).
Indent string for simple trees(with -tree).
Separator between fields.
Separator between values.
Separator between key and value.
Doesnot print TextBlock.
Tetsuya Yamamoto <yonjouhan@gmail.com>
Copyright (C) 2015 by Tetsuya Yamamoto
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10 or, at your option, any later version of Perl 5 you may have available.
To install XBRL::JPFR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XBRL::JPFR
CPAN shell
perl -MCPAN -e shell install XBRL::JPFR
For more information on module installation, please visit the detailed CPAN module installation guide.