Skip to main content

Python code to collect metrics from datasets in Dataverse collections

Project description

dv-api-metrics

  • Python code to collect metrics from datasets in Dataverse collections.
  • Used primarily to support the CAFE project.
  • Note: This library will become obsolete when the Dataverse Hub supports more metrics including dataset download metrics.

Objectives

  • Track collection change over time. Collection change could include tracking unique depositors and datasets created.
  • Track dataset engagement over time. Dataset engagement could include tracking dataset and file download counts, as well as dataset citations (where possible).

Desired Metrics

  • Number of datasets created per month
  • Number of collections per month
  • Number of dataset downloads per month
  • Dataset keyword frequency per month
  • Number of (unique) depositors per month
  • Number of file downloads per month per dataset
  • Make Data Count (MDC) metrics
    • Number of Make Data Count unique downloads per month
    • Number of Make Data Count unique views per dataset
    • Number of Make Data Count citations per dataset
  • Total number of harvested datasets
  • Number of datasets per subject
  • Number of datasets per Geographic Coverage Country / Nation
  • Number of datasets per keyword term (available via the UI facets, so should be in search API)

Additional Metrics

  • Number of harvested dataset engagements (Note: not available via APIs)

Desired Formats

Open questions:

  • Are reports preferred to raw data outputs?
    • Raw data (e.g., outputs from API queries)
    • Reports (e.g., summaries of API query output)

Technical Limitations

  • Metrics will be collected using existing Dataverse Metrics API endpoints or Native API endpoints.
  • Make Data Count metrics range from 2020-09 to the present.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dv_api_metrics-0.2.8.tar.gz (580.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dv_api_metrics-0.2.8-py3-none-any.whl (561.9 kB view details)

Uploaded Python 3

File details

Details for the file dv_api_metrics-0.2.8.tar.gz.

File metadata

  • Download URL: dv_api_metrics-0.2.8.tar.gz
  • Upload date:
  • Size: 580.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dv_api_metrics-0.2.8.tar.gz
Algorithm Hash digest
SHA256 827183dc1efb99976764c568e89157a36e68a8e4178505a13da446ed4e0b4994
MD5 1b425e7725ec02ce7778de5884f15a4d
BLAKE2b-256 91fc4e1fbccc06be65a28b7c9a9ae6a24d2e59b991180ab782ca71f01171ef79

See more details on using hashes here.

File details

Details for the file dv_api_metrics-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: dv_api_metrics-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 561.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dv_api_metrics-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8b306d9008e451e522a62ba08115d55b3b8c766345e6d7c94e351229a1589e21
MD5 759cdabb935ebd76174825e3ceb2ea4a
BLAKE2b-256 b98ad210543d830bcd3aede11012641701db68823e9240a5a72befcd2cc8ba3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page