jonesor / Rcompadre

R tools for obtaining and manupulating data from the COMPADRE and COMADRE Plant and Animal Matrix Databases
https://jonesor.github.io/Rcompadre/
11 stars 11 forks source link

2 small taxonomic inconsistencies for crocodiles and turtles? #137

Open darrennorris opened 1 year ago

darrennorris commented 1 year ago

I am not sure if this is the right place to post this but ....... should these inconsisterncies be standardized? I downloaded "COMADRE_v.4.23.3.1.RData" from https://compadre-db.org/Data/Comadre on 25 April. 1)For crocodiles there are two diiferent Order names included. Valid is "Crocodilia". Crocodylia is synonym (https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=551734#null)

2)SpeciesAccepted=="Chelydra serpentina". There are two family names. Family should be "Chelydridae" : https://reptile-database.reptarium.cz/species?genus=Chelydra&species=serpentina Code below shows these. Best, Darren library(tidyverse) library(Rcompadre) compadre <- cdb_fetch("COMADRE_v.4.23.3.1.RData")

Crocodylus johnsoni in both "Crocodilia" and "Crocodylia"

compadre |> filter(Order %in% c("Crocodylia", "Crocodilia")) |> group_by(Order, Family, SpeciesAccepted) |> summarise(acount = n())

Chelydra serpentina

compadre |> filter( SpeciesAccepted =="Chelydra serpentina") |> group_by(Family) |> summarise(acount = n())

Family acount

1 Chelydrae 2

2 Chelydridae 5

jonesor commented 1 year ago

Thanks Darren. I'll put those on the ongoing list of corrections at www.compadre-db.org It will be corrected in the next build of the database.