pudl.convert.ferc1_to_sqlite

A script for cloning the FERC Form 1 database into SQLite.

This script generates a SQLite database that is a clone/mirror of the original FERC Form1 database. We use this cloned database as the starting point for the main PUDL ETL process. The underlying work in the script is being done in pudl.extract.ferc1.

Module Contents

Functions

parse_command_line(argv)

Parse command line arguments. See the -h option.

main()

Clone the FERC Form 1 FoxPro database into SQLite.

Attributes

logger

pudl.convert.ferc1_to_sqlite.logger[source]
pudl.convert.ferc1_to_sqlite.parse_command_line(argv)[source]

Parse command line arguments. See the -h option.

Parameters

argv (str) – Command line arguments, including caller filename.

Returns

Dictionary of command line arguments and their parsed values.

Return type

dict

pudl.convert.ferc1_to_sqlite.main()[source]

Clone the FERC Form 1 FoxPro database into SQLite.