Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download annual data for all reporters #12

Open
dauletgali opened this issue Sep 19, 2023 · 0 comments
Open

Download annual data for all reporters #12

dauletgali opened this issue Sep 19, 2023 · 0 comments

Comments

@dauletgali
Copy link

Is your feature request related to a problem? Please describe.
I'm always frustrated when I need to download annual data for all reporters. Previously, in the old UNComtrade I was able to download 1 file which contains all reporters all partners for a given year. Now, I need to download more than 100 files for each reporter to get annual data. Moreover, during the downloading process it often fails. I need to find which reporters have been downloaded and which left and re-run the script with reporters that left.

Describe the solution you'd like
A one line of code which returns 1 file with all possible transactions for given year. (HS 6 digit). In the following form (Reporter Partner HS6Code HSclassification Flow Weight Value Unit)

Describe alternatives you've considered
Alternative is run a bulkDownload with parameter: reporter=None and wait and hope for download. Then combine all files to single.

Additional context
Why when I bulk download for 2020, it crashes at any random reporter with issue AttributeError: 'tuple' object has no attribute tb_frame'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant