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
Dataverse metrics bar at sub-dataverse level #3527
Comments
@philippconzett thanks for opening this issue. As I mentioned at https://groups.google.com/d/msg/dataverse-community/3w9q7Vs1I94/WLM5GiYEDQAJ this is related to a request at https://help.hmdc.harvard.edu/Ticket/Display.html?id=239408 that is referenced in #3312. I've since noticed that #1971 is related as well. Also there's a lot of discussion about metrics in general at #2729 but I like how this issue you just created is more focused. Please note that it's conceivable that the functionality you want could be added to https://github.com/IQSS/miniverse which powers http://dataverse.org/metrics |
For future reference, "download counts" are available via API at a sub-dataverse level. However, currently this endpoint is only open to superusers. See API endpoint, including parameter descriptions: monthly file download counts
Note: If demand exists, the selection of "sub-dataverses" may be extended to other statistics |
@philippconzett you might be interested in the discussion here: |
@philippconzett hi! Have you played with "Specifies which Dataverse sub-collection the metric should be collected for" -- https://guides.dataverse.org/en/5.12/api/metrics.html#parentalias In addition, there are some reporting tools that might help: https://guides.dataverse.org/en/5.12/admin/reporting-tools-and-queries.html |
Thanks for this heads-up, @pdurbin! Is the parentAlias a global setting, so if you set it to subdataverse1, the metrics for subdataverse1 will also be displayed on the root dataverse and all other possible subdataverses? |
@philippconzett To be honest, I'm not sure I understand your question. Here's the example from the docs I linked above: Example: curl https://demo.dataverse.org/api/info/metrics/datasets/?parentAlias=abc would return the number of datasets in the Dataverse collection with alias 'abc' and in sub-collections within it. Does that help? Should we have a Zoom call or talk it out in chat? 😄 |
Sorry for my late reply, @pdurbin. I mixed up API and GUI in my previous reply - sorry. My original request was about the metrics bar in the GUI, which I still think would be good to have also at sub-dataverse level. To use the Harvard Dataverse as an example: I would like the metrics bar that is currently displayed on top of the front page of the root collection (highlighted with red): to be available also at sub-dataverse level, e.g., here: Thanks! |
I was wondering if there is a way to get metrics on sub-dataverse level? The metrics bar is displayed in the main dataverse, and for each dataset, and as of 4.6 even on the datafile level. However, it does not show up in the different sub-dataverses, or did I miss something? Would it be possible to include metrics for sub-dataverses?
Best,
Philipp, UiT The Arctic University of Norway
The text was updated successfully, but these errors were encountered: