Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first pass at adding GloBI index configuration; related to https://gi… #9

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This workflow will review a GloBI indexed dataset.
# For more information see: https://globalbioticinteractions.org

name: GloBI review by Elton

on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
schedule:
- cron: "0 0 * * 1"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: download review script
run: curl --silent -L "https://raw.githubusercontent.com/globalbioticinteractions/globinizer/master/check-dataset.sh" > check-dataset.sh
- name: review dataset
run: bash check-dataset.sh "${GITHUB_REPOSITORY}"
9 changes: 3 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
.git
.Rhistory
.DS_Store
IUCN_tables.R
.Rproj.user
Texto
.elton/
add_travis_artifact_upload_keys.sh
datasets/
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
install:
- curl -L "https://raw.githubusercontent.com/globalbioticinteractions/globinizer/master/check-dataset.sh"
> check-dataset.sh
- chmod +x check-dataset.sh
script: "./check-dataset.sh ${TRAVIS_REPO_SLUG}"
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,9 @@ Firstly, we thank Mauro Galetti and Milton Ribeiro, from the Sao Paulo State Uni
## Reference

Florez-Montero GL, Muylaert RL, Geiselman C, Nogueira MR, Santana SE, Stevens RD, Tschapka M, Rodrigues FA, Mello MAR. 2021. NeoBat Interactions: a data set of bat-plant interactions in the Neotropics. *Submitted*.

## Indexing

[![Review](https://github.com/gflorezm/NeoBat_Interactions/actions/workflows/review.yml/badge.svg)](https://github.com/gflorezm/NeoBat_Interactions/actions) [![Build Status](https://travis-ci.com/gflorezm/NeoBat_Interactions.svg)](https://travis-ci.com/gflorezm/NeoBat_Interactions) [![GloBI](https://api.globalbioticinteractions.org/interaction.svg?accordingTo=globi:gflorezm/NeoBat_Interactions)](https://globalbioticinteractions.org/?accordingTo=globi:gflorezm/NeoBat_Interactions)

This repository is configured to be indexed by Global Biotic Interactions (GloBI, https://globalbioticinteractions.org).
80 changes: 80 additions & 0 deletions globi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"@context" : [ "http://www.w3.org/ns/csvw", {
"@language" : "en"
} ],
"rdfs:comment" : [ "inspired by https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/" ],
"tables" : [ {
"@context" : [ "http://www.w3.org/ns/csvw", {
"@language" : "en"
} ],
"rdfs:comment" : [ "inspired by https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/" ],
"url" : "Data/NeoBat_Interactions_Records.csv",
"dcterms:bibliographicCitation" : "Florez-Montero, G.L., Muylaert, R.L., Nogueira, M.R., Geiselman, C., Santana, S.E., Stevens, R.D., Tschapka, M., Rodrigues, F.A. and Mello, M.A.R. (2022), NeoBat Interactions: A data set of bat–plant interactions in the Neotropics. Ecology. Accepted Author Manuscript e3640. https://doi.org/10.1002/ecy.3640",
"delimiter" : ",",
"headerRowCount" : 1,
"null" : [ "" ],
"tableSchema" : {
"columns" : [ {
"name" : "IDCode",
"titles" : "IDCode",
"datatype" : "string"
}, {
"name" : "SiteCode",
"titles" : "SiteCode",
"datatype" : "string"
}, {
"name" : "RefCode",
"titles" : "RefCode",
"datatype" : "string"
}, {
"name" : "sourceTaxonGenus",
"titles" : "BatGenus",
"datatype" : "string"
}, {
"name" : "sourceTaxonSpecies",
"titles" : "BatSpecies",
"datatype" : "string"
}, {
"name" : "CurrentBatSpecies",
"titles" : "CurrentBatSpecies",
"datatype" : "string"
}, {
"name" : "TrophicGuild",
"titles" : "TrophicGuild",
"datatype" : "string"
}, {
"name" : "targetTaxonFamily",
"titles" : "PlantFamily",
"datatype" : "string"
}, {
"name" : "targetTaxonGenus",
"titles" : "PlantGenus",
"datatype" : "string"
}, {
"name" : "targetTaxonSpecies",
"titles" : "PlantSpecies",
"datatype" : "string"
}, {
"name" : "CurrentPlantSpecies",
"titles" : "CurrentPlantSpecies",
"datatype" : "string"
}, {
"name" : "LifeForm",
"titles" : "LifeForm",
"datatype" : "string"
}, {
"name" : "SuccessionalStage",
"titles" : "SuccessionalStage",
"datatype" : "string"
}, {
"name" : "interactionTypeName",
"titles" : "Interaction",
"datatype" : "string"
}, {
"name" : "Weight",
"titles" : "Weight",
"datatype" : "string"
} ]
}
} ]
}
3 changes: 3 additions & 0 deletions interaction_types_mapping.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
provided_interaction_type_label,provided_interaction_type_id,mapped_to_interaction_type_label,mapped_to_interaction_type_id
Frugivory,,eats,http://purl.obolibrary.org/obo/RO_0002470
Nectarivory,,eats,http://purl.obolibrary.org/obo/RO_0002470