Skip to content

riparias/rato-occurrences

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

662 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

funding update-data run-tests

Management actions by RATO in East Flanders, Belgium

Rationale

This repository contains the functionality to standardize the management actions by RATO vzw to a Darwin Core occurrence dataset that can be harvested by a GBIF IPT.

Workflow

Update data GitHub Action

  1. Triggers every month (or manually).
  2. src/get_data.R: Gets the latest data from RATO and write as interim data.
  3. src/dwc_mapping.R: Maps the data to Darwin Core and write as processed data.
  4. Creates a PR with the changes.

Run tests GitHub Action

  1. Triggers on a PR (or manually).
  2. test/test-dwc_mapping.R: Tests the Darwin Core mapping.
  3. Returns test results in PR.
  1. Periodically reads data from this repository and auto-publish.

Published dataset

Repo structure

The repository structure is based on Cookiecutter Data Science and the Checklist recipe. Files and directories indicated with GENERATED should not be edited manually.

├── README.md
├── LICENSE
├── rato-occurrences.Rproj
├── DESCRIPTION: R dependencies
├── .gitignore
│
├── .github
│   ├── PULL_REQUEST_TEMPLATE_AUTO.md : PR template used by get-data.yaml
│   └── workflows
│       ├── update-data.yaml
│       └── run-tests.yaml
│
├── src
│   ├── update_data.R
│   └── dwc_mapping.R
│
├── tests
│   └── test-dwc_mapping.R
│
└── data
    ├── reference: Reference data to be used in mapping
    ├── interim: GENERATED
    └── processed: GENERATED

About

Management actions by RATO in East Flanders, Belgium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages