https://github.com/andschar/taxalook
An R Package and Database containing Information on Organisms
https://github.com/andschar/taxalook
bioinformatics biology database r
Last synced: about 2 months ago
JSON representation
An R Package and Database containing Information on Organisms
- Host: GitHub
- URL: https://github.com/andschar/taxalook
- Owner: andschar
- License: mit
- Created: 2021-08-04T15:49:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T13:55:23.000Z (about 2 years ago)
- Last Synced: 2025-01-29T22:46:56.499Z (over 1 year ago)
- Topics: bioinformatics, biology, database, r
- Language: R
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Taxa Lookup
Taxa Lookup (`{taxalook}`) is a database and repository containing tabular information on
species including their places of occurrence (e.g. countries, continents), their
natural habitats (e.g. freshwater) they are occurring in and other information.
## Usage
You can use the R-package `{taxalook}` to query the database directly from
R __OR__ you can download the data from its [Zenodo-Repository](https://zenodo.org/record/5948864).
### From R
#### Installation
```r
remotes::install_github('andschar/taxalook')
```
#### Example
You can query one or multiple taxa (or even all the taxa in the database by
not supplying a string) and you can add specific information on the taxa
depending on your requirements (e.g. `habitat = TRUE`).
```r
require(taxalook)
tax = c('Pimephales promelas', 'Daphnia magna')
tl_query(tax) # Only taxalook identifier and taxon name
tl_query(tax, what = 'taxonomy') # Taxonomy information
tl_query(tax, what = 'id') # Identifiers to other databases
tl_query(tax, what = 'group') # Taxa convenient grouping
tl_query(tax, what = 'habitat') # Habitat information
tl_query(tax, what = 'continent') # Continent occurrence information
tl_query(tax, what = 'country') # Country occurrence information
```
### Raw Data only
All the data tables are stored in the sub-directory __data__ as tab-separated
(i.e. .tsv) and non-quoted files.
| table | description |
|:-----------------|:------------|
| tl_continent | On which continent does a taxon occur ? |
| tl_country | In which country does a taxon occur ? |
| tl_group | To which group (e.g. algae, invertebrate) does a taxon belong to ? |
| tl_habitat | In which habitat does a taxon occur ? |
| tl_id | Table containing identifiers from other databases (e.g. GBIF, WORMS) |
| tl_taxonomy | Taxonomic classification |
The tables can be merged via the unique key column `tl_id`.
## Contribute
The information here is by no means complete and users are highly encouraged to
contribute information to this database. Missing entries, wrong
entries, more detailed information, you name it. Please signal issues via the [Issue](https://github.com/andschar/taxalook/issues) tracker.