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.
Update data GitHub Action
- Triggers every month (or manually).
- src/get_data.R: Gets the latest data from RATO and write as interim data.
- src/dwc_mapping.R: Maps the data to Darwin Core and write as processed data.
- Creates a PR with the changes.
Run tests GitHub Action
- Triggers on a PR (or manually).
- test/test-dwc_mapping.R: Tests the Darwin Core mapping.
- Returns test results in PR.
- Periodically reads data from this repository and auto-publish.
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