pudl.ferc_to_sqlite.cli
#
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 arguments. See the -h option. |
Factory for parameterizing a reconstructable ferc_to_sqlite job. |
|
|
Clone the FERC Form 1 FoxPro database into SQLite. |
Attributes#
- pudl.ferc_to_sqlite.cli.parse_command_line(argv)[source]#
Parse command line arguments. See the -h option.
- pudl.ferc_to_sqlite.cli.ferc_to_sqlite_job_factory(logfile: str | None = None, loglevel: str = 'INFO') collections.abc.Callable[[], dagster.JobDefinition] [source]#
Factory for parameterizing a reconstructable ferc_to_sqlite job.
- Parameters:
loglevel – The log level for the job’s execution.
logfile – Path to a log file for the job’s execution.
- Returns:
The job definition to be executed.