fernote7 / ecoseries

function to capture BACEN, Ipeadata and Sidra series using their APIs
22 stars 4 forks source link

Sidra - period of search #6

Closed arthurwelle closed 7 years ago

arthurwelle commented 7 years ago

Hello, thanks for the nice work you did! Is it possible not to use dates ("to" and "from") when extracting a serie from sidra? The API allows it (as in "/p/all" and "/p/last"), but I didn´t find a way using your package, am I missing something?
My goal is to dynamically extract series until the last period avaliable (which is variable). Thank you.

fernote7 commented 7 years ago

If I remember correctly, you can input today (or this month) as argument and the API understands that you want the last available data points.

On Aug 17, 2017 09:44, arthurwelle notifications@github.com wrote:

Hello, thanks for the nice work you did! Is it possible not to use dates ("to" and "from") when extracting a serie from sidra? The API allows it (as in "/p/all" and "/p/last"), but I didn´t find a way using your package, am I missing something? My goal is to dynamically extract series until the last period avaliable (which is variable). Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/fernote7/ecoseries/issues/6, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGHb3OHFsAQXI_ECmlAye8sUORct5HvEks5sZDWYgaJpZM4O6NYC.

arthurwelle commented 7 years ago

Perfect! I tried a date earlier than a series earliest date and get an error, but now I see that this is not the case with a date later than the last date. Thanks for the quick reply! Regards!