sentier_peakachu.entsoe#
Module Contents#
Functions#
Curates the generation data from ENTSO-E API to only include the actual aggregated generation |
|
Getting the API key from the .env file. |
|
|
Get generation data from ENTSO-E API for a specific country and time range. |
- sentier_peakachu.entsoe.filter_actual_aggregated(df)[source]#
Curates the generation data from ENTSO-E API to only include the actual aggregated generation data.
- sentier_peakachu.entsoe.get_generation_data(country_code: str, start: pandas.Timestamp, end: pandas.Timestamp)[source]#
Get generation data from ENTSO-E API for a specific country and time range.
- Parameters:
country_code (str) – Country code (e.g. ‘DE’ for Germany).
start (pd.Timestamp) – Start date and time.
end (pd.Timestamp) – End date and time.
- Returns:
Generation data for the specified country and time range.
- Return type:
pd.DataFrame