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

Dataverse metrics bar at sub-dataverse level #3527

Open
philippconzett opened this issue Dec 14, 2016 · 8 comments
Open

Dataverse metrics bar at sub-dataverse level #3527

philippconzett opened this issue Dec 14, 2016 · 8 comments
Labels
Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. Feature: Metrics + Reports Type: Suggestion an idea User Role: Curator Curates and reviews datasets, manages permissions

Comments

@philippconzett
Copy link
Contributor

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

@pdurbin
Copy link
Member

pdurbin commented Dec 14, 2016

@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

@raprasad
Copy link
Contributor

raprasad commented Dec 14, 2016

@philippconzett @pdurbin:

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

  • Relevant API parameters:
    • selected_dvs: specify single dataverse or list of dataverses
      • default: only show download counts directly within the selected dataverse(s)
      • related option include_child_dvs: include download counts of selected dataverses and their child dataverses

Note: If demand exists, the selection of "sub-dataverses" may be extended to other statistics

@pdurbin
Copy link
Member

pdurbin commented Jun 23, 2017

@philippconzett you might be interested in the discussion here:

@pdurbin pdurbin added the User Role: Curator Curates and reviews datasets, manages permissions label Jul 4, 2017
@mheppler
Copy link
Contributor

mheppler commented Apr 2, 2018

Related to, duplicate of issue Dataverse - Views, Downloads, Citations, Shares #1808 and Track views for Dataverses and Datasets #1969.

@pdurbin
Copy link
Member

pdurbin commented Oct 16, 2022

@philippconzett hi! Have you played with parentAlias in the Metric API?

"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

@philippconzett
Copy link
Contributor Author

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?

@pdurbin
Copy link
Member

pdurbin commented Nov 9, 2022

@philippconzett parentAlias is not a global setting. It's a parameter you pass to the Metrics API to narrow the metrics returned.

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? 😄

@philippconzett
Copy link
Contributor Author

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):

image

to be available also at sub-dataverse level, e.g., here:

image

Thanks!

@pdurbin pdurbin added the Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. Feature: Metrics + Reports Type: Suggestion an idea User Role: Curator Curates and reviews datasets, manages permissions
Projects
None yet
Development

No branches or pull requests

5 participants