You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Returns time series data containing the percentage of energy generated from various sources for the specified country within the selected time period.
279
294
It also includes the percentage of energy from renewable and non renewable sources. The data is fetched from the APIs is subsequently refined.
280
295
To obtain data in 60-minute intervals (if not already available), set 'interval60' to True
281
296
282
297
:param str country: The 2 alphabet country code.
283
298
:param datetime start: The start date for data retrieval. A Datetime object. Note that this date will be rounded to the nearest hour.
284
299
:param datetime end: The end date for data retrieval. A datetime object. This date is also rounded to the nearest hour.
285
-
:param boolean interval60: To convert the data into 60 min time interval. False by default
300
+
:param boolean interval60: To convert the data into 60 min time interval. True by default
286
301
:return: A DataFrame containing the hourly energy production mix and percentage of energy generated from renewable and non renewable sources.
287
302
:return: A dictionary containing:
288
303
- `error`: A string with an error message, empty if no errors.
0 commit comments