Giter Club home page Giter Club logo

dataverse-metrics's Introduction

Automated Dataverse Metrics Reports

This dynamic report provides a comprehensive overview of activity on a Dataverse server.

Dataverse has many API endpoints offering statistics of activity. Combining data from these endpoints, this package produces a human-readable report of your site's activity in any format supported by RMarkdown.

Because dataverse-metrics can take advantage of Dataverse API keys to gather statistics on unpublished projects, this package is meant for the administrators of dataverse repositories. Users only interested in public data, however, can run the report on any available dataverse instance.

Demo

This project was demoed in a Dataverse Community Call. There is a video introduction available for new users showing the capabilities of this project.

Usage

Using this report requires minimal to no coding when used directly on Github! This RMarkdown document is run manually through Github Actions, with a workflow_dispatch action.

The Render workflow generates the report as an HTML and latex PDF, available to download as an directly from the workflow page as a workflow artifact. Since the rendering process is run directly on Github Actions, no additional software is required on the user's local computer (besides a web browser for HTML, or a PDF viewer to see the final document)

The workflow has the option to pass a few parameters, namely:

  1. The dataverse host (e.g. demo.dataverse.org)
  2. An additional date span to calculate statistics for (e.g. specify the past month, past year, etc)

Setting up the report to use your dataverse instance

You can fork this repository to your own account. From your forked repository, you can run the included Github Action to generate your own reports for any hosted instance of Dataverse.

If you have use a valid API key, you can also include statistics on unpublished projects in the output document. By setting the environment variable DATAVERSE_TOKEN as a Github secret, the API key will be passed to your specified Dataverse server with each request. This is an optional step.

dataverse-metrics's People

Contributors

adam3smith avatar mccallc avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

dataverse-metrics's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.