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
This was brought up by GH user pedromein in issue #12. The Comtrade API has a (new?) feature that allows for queries that return monthly data (vs annual data) for an entire individual year. Previously, if searching for monthly data, there were two options:
Pass all to start_date and end_date to get all monthly data for all years.
Pass a date range, in months, to start_date and end_date. Doing this, the most you could get from a single query was five consecutive months worth of data.
Now they have an option to get all monthly data for a single year. So need to update ct_search() to give users this option.
The text was updated successfully, but these errors were encountered:
Function ct_search() is now able to utilize the All of yyyy feature of the Comtrade API (added via commit 8f6f3bf). The function can now pull all monthly data for a given year in a single query.
This was brought up by GH user pedromein in issue #12. The Comtrade API has a (new?) feature that allows for queries that return monthly data (vs annual data) for an entire individual year. Previously, if searching for monthly data, there were two options:
all
tostart_date
andend_date
to get all monthly data for all years.start_date
andend_date
. Doing this, the most you could get from a single query was five consecutive months worth of data.Now they have an option to get all monthly data for a single year. So need to update
ct_search()
to give users this option.The text was updated successfully, but these errors were encountered: