Skip to content

Commit c43e654

Browse files
authored
nits
1 parent 041e7e0 commit c43e654

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

causal_automl/download_eia_data.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -112,23 +112,23 @@ def download_series(
112112
"""
113113
Download EIA historical series data.
114114
115-
This method retrieves the full set of time series linked to an
116-
EIA identifier, including all combinations of facet values
117-
(e.g., `stateid`, `sectorid`). When no start and end timestamps are
118-
passed, the entire time series is downloaded.
119-
120-
Pagination is handled internally. The `max_rows_per_call` parameter
121-
controls the page size for each API request, but the method will
122-
continue fetching until all available data is retrieved.
123-
124-
:param id_: EIA series ID, e.g.,
125-
"electricity.retail_sales.monthly.price"
126-
:param start_timestamp: first observation date
127-
:param end_timestamp: last observation date
128-
:param max_rows_per_call: max data rows per API call
129-
:return: full time series data with all facets
130-
131-
Example output:
115+
This method retrieves the full set of time series linked to an
116+
EIA identifier, including all combinations of facet values
117+
(e.g., `stateid`, `sectorid`). When no start and end timestamps are
118+
passed, the entire time series is downloaded.
119+
120+
Pagination is handled internally. The `max_rows_per_call` parameter
121+
controls the page size for each API request, but the method will
122+
continue fetching until all available data is retrieved.
123+
124+
:param id_: EIA series ID, e.g.,
125+
"electricity.retail_sales.monthly.price"
126+
:param start_timestamp: first observation date
127+
:param end_timestamp: last observation date
128+
:param max_rows_per_call: max data rows per API call
129+
:return: full time series data with all facets
130+
131+
Example output:
132132
```
133133
period stateid stateDescription sectorid sectorName
134134
2020-09 WI Wisconsin IND industrial

0 commit comments

Comments
 (0)