Skip to content

eLTER-RI/elter-data-curator-tools

eLTER Project Logo

eLTER Data Curator Tools

This repository provides usage documentation and basic, unfinished Bash scripts to help eLTER data stewards and curators automate querying and downloading of unpublished dataset drafts from the eLTER Digital Asset Registry (DAR).

EUPL--1.2 BASH-v5.2.21

Description

The USAGE.md document provides examples of queries that use curl to create table-based reports. It also offers tips on authenticating with session cookies or DAR access tokens.

elter-dar-query.sh is a small script to query unpublished draft datasets using the DAR API. It has to be fed by a list of draft dataset IDs in a file called eLTER-Data-Call-2025-Uploads.md stored next to the script. Currently you have to edit the script to adjust the json fields to query.

elter-dar-query.sh is a short script that queries unpublished draft records using the DAR API. It requires a list of draft dataset IDs in a file called eLTER-Data-Call-2025-Uploads.md, which is stored alongside the script. Currently, the script must be edited to adjust the JSON fields to be queried.

The elter-dar-download.sh script is designed to download multiple data files from DAR records. Currently, you must edit the script to include a list of dataset IDs at the beginning.

Table of Contents

Add a table of contents at the beginning of the README.md file.

Installation and usage

  1. Create a DAR access token and save it to .elter-dar-access-token
  2. Create a list of draft dataset IDs like described in USAGE.md and save it to a file called eLTER-Data-Call-2025-Uploads.md in this directory.
  3. Run elter-dar-query.sh:
    $ ./elter-dar-query.sh > output.csv
  4. Edit elter-dar-download.sh and add some data set IDs you want to download.
  5. Run elter-dar-download.sh:
    $ ./elter-dar-download.sh

To be continued...

Authors

Author Affiliation ORCID e-mail

Martin Abbrent
Helmholtz Centre for Environmental Research - UFZ 0000-0003-1252-9107 martin.abbrent@ufz.de

License

This project is licensed under the EUPL License - see the LICENSE file for details.

Dependencies

This project uses the
eLTER boilerplate README.

Acknowledgments

eLTER PLUS Logo eLTER EnRich Logo

About

Usage documentation and basic, unfinished Bash scripts to help eLTER data stewards and curators automate querying and downloading of unpublished dataset drafts from the [eLTER Digital Asset Registry (DAR)](https://dar.elter-ri.eu/).

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages