krose / gie

R Wrapper for the GIE API
Other
0 stars 1 forks source link

enable result paging #2

Closed fin closed 2 years ago

fin commented 2 years ago

This adapts most gie functions to the new API with paging results. I have explicitly tested the gie_gas_country and gie_gas_company_eic functions, some others (like gie_aggregate do not seem to work with the current URLs).

This is also built in a black-box kind of way, since the API documentation seems down. Happy to discuss.

krose commented 2 years ago

Hi @fin I've been traveling, so didn't see your pull request before now.. Thank you for the pull request.. I'll look at it in the coming days.

fin commented 2 years ago

No worries! Thanks in advance.

krose commented 2 years ago

I'm merging the pull request as it takes the package a step in the right direction. There seems to have been some changes to the API, that are causing new errors. I'll give it a go in the holidays or feel free to do so as well.

Just a note to me... The aggregate data is using this url: https://agsi.gie.eu/api?continent=EU&from=2022-06-15&to=2022-07-13&page=1&size=3000.