Loading SEC Edgar 10-Q Information Into PostgreSQL RDBMS Using Arelle

As mentioned in the previous section of the tutorial, rather than roll our own XBRL parser and ETL utility, we will rely on Arelle, a third-party package, to perform these tasks on our behalf.

Arelle is a general purpose XBRL package, which is able to parse and display any kind of financial reporting represented in XBRL format (not just those reports filed with the SEC). In this tutorial, we will only be utilizing a subset of Arelle's capabilities, specifically those that relate to pulling 10-Q information from the SEC Edgar database and storing it in a relational database schema.

Figure 2.1 below illustrates Arelle's role in the data acquisition and loading processes.

SEC Edgar Arelle PostgreSQL

Figure 2.1

We will use Arelle to:

This tutorial will make use of the open-source software packages listed below, and assumes that you have them installed on your computer:

While it is not mandatory, I would also recommend installing the open-source software packages listed below, which will make using Arelle and PostgreSQL more convenient:

In the next section of the tutorial, we will assume that Arelle and PostgreSQL are installed. We will then show how to install Arelle's XBRL US Public Database Schema on PostgreSQL. After that, we will see how to use Arelle's arelleCmdLine command to load a company's 10-Q filing information into PostgreSQL.

Previous Page Crosskeys Home Page Next Page
SEC Edgar and XBRL - A High-Level Example Home Page Arelle's XBRL US Public Database Schema

© Copyright 2020, Crosskeys Technologies