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

Arguments not in correct order return no data #18

Open
chriscarrollsmith opened this issue Sep 26, 2024 · 0 comments
Open

Arguments not in correct order return no data #18

chriscarrollsmith opened this issue Sep 26, 2024 · 0 comments

Comments

@chriscarrollsmith
Copy link
Collaborator

chriscarrollsmith commented Sep 26, 2024

Calling imf_dataset with freq=["A", "Q", "M"] returns no data, apparently because the API expects arguments in the order they appear in the params dataframe (alphabetized by description).

Thus, we should probably sort arguments before making the API call.

Also make sure the list is being generated in the correct order when freq is omitted, because I had some issues making an API call without freq.

@chriscarrollsmith chriscarrollsmith changed the title Arguments not in alphabetical order return no data Arguments not in correct order return no data Sep 26, 2024
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