pov-fishes-occurrences
所属分类:其他
开发工具:R
文件大小:0KB
下载次数:0
上传日期:2023-09-29 09:32:19
上 传 者:
sh-1993
说明: 比利时东佛兰德斯省环境研究中心(PCM)鱼类和小龙虾发生情况的DwC制图,
(DwC mapping of the fishes and crayfishes occurrences of the Provincial Center of Environmental Research (PCM) in East Flanders, Belgium,)
文件列表:
LICENSE (1097, 2023-12-18)
data/ (0, 2023-12-18)
data/processed/ (0, 2023-12-18)
data/processed/event.csv (6114903, 2023-12-18)
data/processed/mof.csv (1215393, 2023-12-18)
data/processed/occurrence.csv (1504779, 2023-12-18)
data/raw/ (0, 2023-12-18)
data/raw/vissen_en_crustacea.csv (5078889, 2023-12-18)
pov-fishes-occurrences.Rproj (293, 2023-12-18)
sql/ (0, 2023-12-18)
sql/dwc_event.sql (1656, 2023-12-18)
sql/dwc_mof.sql (3248, 2023-12-18)
sql/dwc_occurrence.sql (6251, 2023-12-18)
src/ (0, 2023-12-18)
src/dwc_mapping.Rmd (7695, 2023-12-18)
src/fetch_data.Rmd (2184, 2023-12-18)
src/install_packages.R (678, 2023-12-18)
src/run_dwc_mapping.R (155, 2023-12-18)
src/run_fetch_data.R (426, 2023-12-18)
tests/ (0, 2023-12-18)
tests/test_dwc_event_occurrence_mof.R (10663, 2023-12-18)
[![funding](https://img.shields.io/static/v1?label=published+through&message=LIFE+RIPARIAS&labelColor=00a58d&color=ffffff)](https://www.riparias.be/)
[![fetch-data](https://github.com/riparias/pov-fishes-occurrences/actions/workflows/fetch-data.yaml/badge.svg)](https://github.com/riparias/pov-fishes-occurrences/actions/workflows/fetch-data.yaml)
[![mapping and testing](https://github.com/riparias/pov-fishes-occurrences/actions/workflows/mapping_and_testing.yaml/badge.svg)](https://github.com/riparias/pov-fishes-occurrences/actions/workflows/mapping_and_testing.yaml)
## Rationale
This repository contains the functionality to standardize the fishes and crayfishes data of the [Province East Flanders](https://www.oost-vlaanderen.be/) to a [Darwin Core Archive](https://ipt.gbif.org/manual/en/ipt/2.5/dwca-guide) that can be harvested by a [GBIF IPT](https://ipt.gbif.org/manual/en/ipt/2.5/).
## Workflow
[fetch data](https://github.com/riparias/pov-fishes-occurrences/tree/main/src/fetch_data.Rmd) from WFS → save them as local [source data](https://github.com/riparias/pov-fishes-occurrences/tree/main/data/raw) → Darwin Core [mapping script](https://github.com/riparias/pov-fishes-occurrences/tree/main/src/dwc_mapping.Rmd) → generated [Darwin Core files](https://github.com/riparias/pov-fishes-occurrences/tree/main/data/processed)
## Published dataset
* [Dataset on the IPT](https://ipt.inbo.be/resource?r=pov-fishes-occurrences)
* [Dataset on GBIF](https://doi.org/10.15468/ap9ejd)
## Repo structure
The repository structure is based on [Cookiecutter Data Science](http://drivendata.github.io/cookiecutter-data-science/) and the [Checklist recipe](https://github.com/trias-project/checklist-recipe). Files and directories indicated with `GENERATED` should not be edited manually.
```
├── README.md : Description of this repository
├── LICENSE : Repository license
├── pov-fishes-occurrences.Rproj : RStudio project file
├── .gitignore : Files and directories to be ignored by git
│
├── .github
│ ├── PULL_REQUEST_TEMPLATE.md : Pull request template
│ └── workflows
│ │ ├── fetch-data.yaml : GitHub action to fetch raw data
│ │ └── mapping_and_testing.yaml : GitHub action to map data to DwC and perform some tests on the Dwc output
|
├── src
│ ├── fetch_data.Rmd : Fetchin data script
│ ├── dwc_mapping.Rmd : Darwin Core mapping script
│ ├── run_fetch_data.R : R script to run code in fetch_data.Rmd in an automatic way within a GitHub action
│ ├── run_dwc_mapping.R : R script to run code in dcw_mapping.Rmd in an automatic way within a GitHub action
│ └── install_packages.R : R script to install all needed packages
|
├── sql : Darwin Core transformations
│ └── dwc_event.sql
│ ├── dwc_occurrence.sql
│ └── dwc_mof.sql
│
└── data
│ ├── raw : Fetched data
│ └── processed : Darwin Core output of mapping script GENERATED
```
## Installation
1. Clone this repository to your computer
2. Open the RStudio project file
3. Run `install_packages.R` to install any required packages
4. Open `fetch_data.Rmd` [R Markdown file](https://rmarkdown.rstudio.com/) in RStudio to fetch data manually
5. Open the `dwc_mapping.Rmd` [R Markdown file](https://rmarkdown.rstudio.com/) in RStudio to map data to DwC manually
6. Click `Run > Run All` to generate the processed data
## License
[MIT License](LICENSE) for the code and documentation in this repository. The included data is released under another license.
近期下载者:
相关文件:
收藏者: