diff --git a/docs/providers/nrel/access.md b/docs/providers/nrel/access.md index 6156421..56d5932 100644 --- a/docs/providers/nrel/access.md +++ b/docs/providers/nrel/access.md @@ -1,4 +1,4 @@ -# URDB Access & Credentials +# URDB Access & Credentials ## Obtaining Access @@ -18,4 +18,4 @@ OPENEI_API_KEY= ``` !!! warning "Important" - Make sure to add `.env` to your `.gitignore` file to avoid accidentally committing your credentials to version control. \ No newline at end of file + Make sure to add `.env` to your `.gitignore` file to avoid accidentally committing your credentials to version control. diff --git a/tariff_fetch/cli.py b/tariff_fetch/cli.py index 5b9a2ec..c62358c 100644 --- a/tariff_fetch/cli.py +++ b/tariff_fetch/cli.py @@ -72,7 +72,7 @@ def fmt_number(value: float | int | None) -> str: return f"{value:,.0f}" header = questionary.Choice( - "Utility Name | Entity Type | Sales (MWh) | Revenue ($) | Customers", + "Utility Name | Entity Type | Sales (MWh) | Revenue ($) | Customers", value=0, ) @@ -80,7 +80,7 @@ def build_choice(row: dict) -> questionary.Choice: name_col = f"{row['utility_name']:<44}" entity_type = f"{(row['entity_type'] or '-')[:18]:<18}" sales_col = f"{fmt_number(row.get('sales_mwh')):>12}" - revenue_col = f"{fmt_number(row.get('sales_revenue')):>11}" + revenue_col = f"{fmt_number(row.get('sales_revenue')):>14}" customers_col = f"{fmt_number(row.get('customers')):>9}" title = f"{name_col} | {entity_type} | {sales_col} | {revenue_col} | {customers_col}" return questionary.Choice(