krose / entsoeapi

An R Wrapper for the Entso-E API.
Other
17 stars 4 forks source link

-fixed wrapper for Installed Generation Capacity Aggregated [14.1.A] #2

Closed hubert-thieriot closed 2 years ago

hubert-thieriot commented 2 years ago

Getting installed generation capacity (en_generation_inst_gen_cap_agg) didn't work for me. The period setting was wrong, and ENTSO was returning something along the lines of "No data for the selected period".

I changed period_end and also queried all psrTypes in one call.

I've tried to keep field & function names consistent with the rest of the package, but let me know if I should update them.

krose commented 2 years ago

Thanks a lot. I appreciate your help. Pull request merged. Thanks again and feel free to suggest changes and new functionality if you get any good ideas.