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

Issues with metrics aggregated by country #93

Open
rushirajnenuji opened this issue Jan 11, 2023 · 1 comment
Open

Issues with metrics aggregated by country #93

rushirajnenuji opened this issue Jan 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rushirajnenuji
Copy link
Member

ESS DIVE team reported issues with metrics query aggregated by country

@rushirajnenuji rushirajnenuji self-assigned this Jan 11, 2023
@rushirajnenuji rushirajnenuji added the bug Something isn't working label Jan 11, 2023
@rushirajnenuji
Copy link
Member Author

Metrics query:

metrics_request_query_json = {"metricsPage": {"total": 0, "start": 0, "count": 0},
                                      "metrics": ["downloads"],
                                      "filterBy": [{"filterType": "repository", "values": ["urn:node:ESS_DIVE"],
                                                    "interpretAs": "list"},
                                                   {"filterType": "month",
                                                    "values": [DOWNLOADS_STARTING_DATE,
                                                               self.end_date.replace("-", "/")],
                                                    "interpretAs": "range"}],
                                      "groupBy": ["month", "country"]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant