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

Getting overall download number for dataverse files #2992

Closed
chaudj opened this issue Mar 3, 2016 · 9 comments
Closed

Getting overall download number for dataverse files #2992

chaudj opened this issue Mar 3, 2016 · 9 comments
Assignees
Labels
Feature: File Upload & Handling Feature: Metrics + Reports User Role: Curator Curates and reviews datasets, manages permissions UX & UI: Design This issue needs input on the design of the UI and from the product owner

Comments

@chaudj
Copy link

chaudj commented Mar 3, 2016

Hi

Not sure if this question has been raised before but in the other versions of Dataverse, we could see the number of downloads for the entire Dataverse. In this new version, its for the specific studies.

How do i get the overall number of downloaded files.

Thanks
Jacquie

@pdurbin
Copy link
Member

pdurbin commented Apr 5, 2016

Related: #2729 and the guestbookresponse database table.

@raprasad
Copy link
Contributor

raprasad commented Aug 17, 2016

@chaudj, I'll add this to the "miniverse" API metrics...

Right now it has downloads by month. Not vouching for uptime, but test site is here:
https://services-dataverse.herokuapp.com/static/swagger-ui/index.html?url=https://services-dataverse.herokuapp.com/metrics/v1/swagger.yaml#!/metrics_-_files/get_files_downloads_count_monthly

install docs should be avail by next Monday

@mheppler mheppler added UX & UI: Design This issue needs input on the design of the UI and from the product owner Feature: File Upload & Handling Feature: Metrics + Reports labels Oct 10, 2016
@pdurbin
Copy link
Member

pdurbin commented Oct 22, 2016

@raprasad it looks like you added some install/setup docs at https://github.com/IQSS/miniverse so I'm moving this to Code Review at https://waffle.io/IQSS/dataverse so you can either advance it to QA or move it back into dev if you still want to work on the docs before letting @chaudj give miniverse a whirl.

@pdurbin
Copy link
Member

pdurbin commented Oct 24, 2016

This morning I spoke with @raprasad about this issue and after poking around at https://services.dataverse.harvard.edu/static/swagger-ui/index.html?url=/miniverse/metrics/v1/swagger.yaml#!/metrics_-_dataverses/get_dataverses_count_monthly we think that what @chaudj wants is possible.

@chaudj are you asking about download stats from https://dataverse.harvard.edu or your own installation of Dataverse?

@djbrooke I'm changing the assignment from @raprasad to you because we're not sure what to do with this issue at this point. Please help. Thanks!

@pdurbin pdurbin assigned djbrooke and unassigned raprasad Oct 24, 2016
@raprasad
Copy link
Contributor

@chaudj

fyi: The API description "advertises" monthly counts but also gives a total cumulative count. See data.total_downloads below:

Feel free to send along any questions

{
  "status": "OK",
  "info": {
    "generation_time": "2016-10-24T11:53:08",
    "cache_time_seconds": 900,
    "params": {
      "start_date": "2015-05-01"
    }
  },
  "data": {
    "total_downloads": 1322766,
    "record_count": 18,
    "records": [
      {
        "yyyy_mm": "2015-05",
        "count": 15656,
        "running_total": 669274,
        "year_num": 2015,
        "month_num": 5,
        "month_name": "May",
        "month_name_short": "May"
      }, ...

@djbrooke
Copy link
Contributor

Thanks @pdurbin and @raprasad!

@chaudj let me know when you have a chance to take a look and I'll move this along in our workflow.

@pdurbin
Copy link
Member

pdurbin commented Jun 23, 2017

@chaudj are you able to get the data you want out of miniverse? Installation instructions can be found at https://github.com/IQSS/miniverse

@pdurbin pdurbin added the User Role: Curator Curates and reviews datasets, manages permissions label Jul 4, 2017
@djbrooke djbrooke closed this as completed Oct 5, 2018
@pdurbin
Copy link
Member

pdurbin commented Oct 5, 2018

@chaudj I believe we chatted at the most recent community meeting so I have a little more context now. One new thing I wanted to point out is that you can get overall downloads from https://dataverse.harvard.edu/api/info/metrics/downloads/toMonth (for example) as documented at http://guides.dataverse.org/en/4.9.4/api/metrics.html

@chaudj
Copy link
Author

chaudj commented Oct 7, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: File Upload & Handling Feature: Metrics + Reports User Role: Curator Curates and reviews datasets, manages permissions UX & UI: Design This issue needs input on the design of the UI and from the product owner
Projects
None yet
Development

No branches or pull requests

5 participants