ropensci / chromer

package for interacting with the chromosome counts database (CCDB) at https://taux.evolseq.net/CCDB_web/
https://docs.ropensci.org/chromer
Other
12 stars 4 forks source link

Query by species #2

Closed mwpennell closed 9 years ago

mwpennell commented 9 years ago

According to the documentation for the API, it appears to only be possible to query for a specific genus and not a specific species. There is some sense to this as the database also performs taxonomic name resolution and returns resolved species names of the form "Genus species Taxonomic authority".

I will look into this.

Of course, we could always create a wrapper function that queries by genus and then subsets after the fact but this seems unnecessary.

sckott commented 9 years ago

Yeah, seems like you could regex for specific epithets once data is pulled down. But of course then you have two different matching algorithms, genus and epithet. Is the genus matching just straight up exact matching? Or any fuzzy matching on genera?

mwpennell commented 9 years ago

I talked to the admins of the CCDB and they are adding species searching to their API within the very near future. Will wait for this before making any changes or committing to CRAN

mwpennell commented 9 years ago

The CCDB people now allow querying by species. Added this functionality.